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_wxEvtHandler swig_types[36]
2503 #define SWIGTYPE_p_wxFSFile swig_types[37]
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFontData swig_types[46]
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIcon swig_types[55]
2522 #define SWIGTYPE_p_wxIconBundle swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529 #define SWIGTYPE_p_wxItemContainer swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPanel swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569 #define SWIGTYPE_p_wxPrintData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573 #define SWIGTYPE_p_wxPrinter swig_types[107]
2574 #define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575 #define SWIGTYPE_p_wxPyApp swig_types[109]
2576 #define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579 #define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPyPanel swig_types[114]
2581 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584 #define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPySizer swig_types[121]
2588 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589 #define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxPyWindow swig_types[126]
2593 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613 #define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStatusBar swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxToolBar swig_types[160]
2627 #define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_windows_
2662 #define SWIG_name "_windows_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2745 # define LLONG_MIN LONG_LONG_MIN
2748 # define LLONG_MAX LONG_LONG_MAX
2751 # define ULLONG_MAX ULONG_LONG_MAX
2756 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2758 if (PyNumber_Check(obj
)) {
2759 if (val
) *val
= PyInt_AsLong(obj
);
2762 return SWIG_TypeError
;
2767 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2770 int res
= SWIG_AsVal_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< int >(v
);
2783 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2785 if (obj
== Py_True
) {
2786 if (val
) *val
= true;
2788 } else if (obj
== Py_False
) {
2789 if (val
) *val
= false;
2793 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2794 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2800 #define SWIG_From_long PyInt_FromLong
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_int (int value
)
2806 return SWIG_From_long (value
);
2811 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2813 if (PyNumber_Check(obj
)) {
2814 if (val
) *val
= PyFloat_AsDouble(obj
);
2817 return SWIG_TypeError
;
2821 #define SWIG_From_double PyFloat_FromDouble
2823 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2824 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2825 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2826 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2827 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2828 int style
= self
->GetExtraStyle();
2830 style
|= wxFRAME_EX_METAL
;
2832 style
&= ~wxFRAME_EX_METAL
;
2833 self
->SetExtraStyle(style
);
2836 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2840 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2842 self
->GetFieldRect(i
, r
);
2845 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2846 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2847 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2849 #include <wx/popupwin.h>
2852 class wxPopupWindow
: public wxWindow
{
2854 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2855 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2858 class wxPyPopupTransientWindow
: public wxPopupWindow
2861 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2862 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2866 #include <wx/tipwin.h>
2868 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2869 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2872 #include <wx/tipwin.h>
2875 #include <wx/vscroll.h>
2878 class wxPyVScrolledWindow
: public wxVScrolledWindow
2880 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2882 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2884 wxPyVScrolledWindow(wxWindow
*parent
,
2885 wxWindowID id
= wxID_ANY
,
2886 const wxPoint
& pos
= wxDefaultPosition
,
2887 const wxSize
& size
= wxDefaultSize
,
2889 const wxString
& name
= wxPyPanelNameStr
)
2890 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2893 // Overridable virtuals
2895 // this function must be overridden in the derived class and it should
2896 // return the height of the given line in pixels
2897 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2900 // this function doesn't have to be overridden but it may be useful to do
2901 // it if calculating the lines heights is a relatively expensive operation
2902 // as it gives the user code a possibility to calculate several of them at
2905 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2906 // shouldn't rely on the latter being called for all lines in the interval
2907 // specified here. It is also possible that OnGetLineHeight() will be
2908 // called for the lines outside of this interval, so this is really just a
2909 // hint, not a promise.
2911 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2913 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2916 // when the number of lines changes, we try to estimate the total height
2917 // of all lines which is a rather expensive operation in terms of lines
2918 // access, so if the user code may estimate the average height
2919 // better/faster than we do, it should override this function to implement
2922 // this function should return the best guess for the total height it may
2924 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2927 // Also expose some other interesting protected methods
2930 // find the index of the line we need to show at the top of the window such
2931 // that the last (fully or partially) visible line is the given one
2932 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2933 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2935 // get the total height of the lines between lineMin (inclusive) and
2936 // lineMax (exclusive)
2937 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2938 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2940 // update the thumb size shown by the scrollbar
2941 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2943 // remove the scrollbar completely because we don't need it
2944 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2949 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2951 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2952 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2953 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2957 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2960 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2961 return SWIG_TypeError
;
2964 *val
= (unsigned long)v
;
2969 SWIGINTERNINLINE
int
2970 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2973 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2974 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_unsigned_SS_long (unsigned long value
)
2982 return (value
> LONG_MAX
) ?
2983 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2987 SWIGINTERNINLINE PyObject
*
2988 SWIG_From_size_t (size_t value
)
2990 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2994 #include <wx/vlbox.h>
2996 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2998 class wxPyVListBox
: public wxVListBox
3000 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3002 wxPyVListBox() : wxVListBox() {}
3004 wxPyVListBox(wxWindow
*parent
,
3005 wxWindowID id
= wxID_ANY
,
3006 const wxPoint
& pos
= wxDefaultPosition
,
3007 const wxSize
& size
= wxDefaultSize
,
3009 const wxString
& name
= wxPyVListBoxNameStr
)
3010 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3013 // Overridable virtuals
3015 // the derived class must implement this function to actually draw the item
3016 // with the given index on the provided DC
3017 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3018 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3021 // the derived class must implement this method to return the height of the
3023 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3024 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3027 // this method may be used to draw separators between the lines; note that
3028 // the rectangle may be modified, typically to deflate it a bit before
3029 // passing to OnDrawItem()
3031 // the base class version doesn't do anything
3032 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3033 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3036 // this method is used to draw the items background and, maybe, a border
3039 // the base class version implements a reasonable default behaviour which
3040 // consists in drawing the selected item with the standard background
3041 // colour and drawing a border around the item if it is either selected or
3043 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3044 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3052 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3053 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3054 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3055 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3058 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3059 unsigned long cookie
= 0;
3060 int selected
= self
->GetFirstSelected(cookie
);
3061 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3062 PyObject
* tup
= PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3064 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3065 wxPyEndBlockThreads(blocked
);
3068 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3069 int selected
= self
->GetNextSelected(cookie
);
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 PyObject
* tup
= PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3073 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3074 wxPyEndBlockThreads(blocked
);
3078 #include <wx/htmllbox.h>
3081 class wxPyHtmlListBox
: public wxHtmlListBox
3083 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3085 wxPyHtmlListBox() : wxHtmlListBox() {}
3087 wxPyHtmlListBox(wxWindow
*parent
,
3088 wxWindowID id
= wxID_ANY
,
3089 const wxPoint
& pos
= wxDefaultPosition
,
3090 const wxSize
& size
= wxDefaultSize
,
3092 const wxString
& name
= wxPyVListBoxNameStr
)
3093 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3096 // Overridable virtuals
3098 // this method must be implemented in the derived class and should return
3099 // the body (i.e. without <html>) of the HTML for the given item
3100 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3102 // this function may be overridden to decorate HTML returned by OnGetItem()
3103 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3105 // These are from wxVListBox
3106 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3107 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3110 // // this method allows to customize the selection appearance: it may be used
3111 // // to specify the colour of the text which normally has the given colour
3112 // // colFg when it is inside the selection
3114 // // by default, the original colour is not used at all and all text has the
3115 // // same (default for this system) colour inside selection
3116 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3118 // // this is the same as GetSelectedTextColour() but allows to customize the
3119 // // background colour -- this is even more rarely used as you can change it
3120 // // globally using SetSelectionBackground()
3121 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3124 // This method may be overriden to handle clicking on a link in
3125 // the listbox. By default, clicking links is ignored.
3126 virtual void OnLinkClicked(size_t n
,
3127 const wxHtmlLinkInfo
& link
);
3133 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3135 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3136 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3137 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3138 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3141 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3142 const wxHtmlLinkInfo
& link
) {
3144 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3145 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3146 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3147 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3150 wxPyEndBlockThreads(blocked
);
3152 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3157 const wxArrayString wxPyEmptyStringArray
;
3159 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3163 #ifndef wxHAS_TASK_BAR_ICON
3164 // implement dummy classes for platforms that don't have it
3166 class wxTaskBarIcon
: public wxEvtHandler
3169 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3173 class wxTaskBarIconEvent
: public wxEvent
3176 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3177 { wxPyRaiseNotImplemented(); }
3178 virtual wxEvent
* Clone() const { return NULL
; }
3179 bool IsOk() const { return false; }
3180 bool IsIconInstalled() const { return false; }
3181 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3182 bool RemoveIcon() { return false; }
3183 bool PopupMenu(wxMenu
*menu
) { return false; }
3187 wxEVT_TASKBAR_MOVE
= 0,
3188 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3189 wxEVT_TASKBAR_LEFT_UP
= 0,
3190 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3191 wxEVT_TASKBAR_RIGHT_UP
= 0,
3192 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3193 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3198 // Otherwise make a class that can virtualize CreatePopupMenu
3199 class wxPyTaskBarIcon
: public wxTaskBarIcon
3201 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3203 wxPyTaskBarIcon() : wxTaskBarIcon()
3206 wxMenu
* CreatePopupMenu() {
3207 wxMenu
*rval
= NULL
;
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3213 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3215 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3220 wxPyEndBlockThreads(blocked
);
3222 rval
= wxTaskBarIcon::CreatePopupMenu();
3229 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3233 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3237 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3238 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3239 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3240 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3241 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3242 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3244 // for compatibility only
3245 #define wxHIDE_READONLY 0
3247 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3249 self
->GetFilenames(arr
);
3250 return wxArrayString2PyList_helper(arr
);
3252 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3254 self
->GetPaths(arr
);
3255 return wxArrayString2PyList_helper(arr
);
3257 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3258 return wxArrayInt2PyList_helper(self
->GetSelections());
3260 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
){
3261 return new wxSingleChoiceDialog(parent
, message
, caption
,
3262 choices
, choices_array
, NULL
, style
, pos
);
3264 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3266 SWIGINTERNINLINE PyObject
*
3267 SWIG_From_bool (bool value
)
3269 return PyBool_FromLong(value
? 1 : 0);
3275 // C++ version of Python aware wxWindow
3276 class wxPyWindow
: public wxWindow
3278 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3280 wxPyWindow() : wxWindow() {}
3281 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3282 const wxPoint
& pos
= wxDefaultPosition
,
3283 const wxSize
& size
= wxDefaultSize
,
3285 const wxString
& name
= wxPyPanelNameStr
)
3286 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3289 bool DoEraseBackground(wxDC
* dc
) {
3291 return wxWindow::DoEraseBackground(dc
->GetHDC());
3293 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3299 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3300 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3308 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3309 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3311 DEC_PYCALLBACK__(InitDialog
);
3312 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3313 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3314 DEC_PYCALLBACK_BOOL_(Validate
);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3318 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3323 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3324 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3326 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3328 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3333 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3335 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3336 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3347 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3354 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3360 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3362 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3364 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3366 // C++ version of Python aware wxPanel
3367 class wxPyPanel
: public wxPanel
3369 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3371 wxPyPanel() : wxPanel() {}
3372 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3373 const wxPoint
& pos
= wxDefaultPosition
,
3374 const wxSize
& size
= wxDefaultSize
,
3376 const wxString
& name
= wxPyPanelNameStr
)
3377 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3379 bool DoEraseBackground(wxDC
* dc
) {
3381 return wxWindow::DoEraseBackground(dc
->GetHDC());
3383 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3390 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3391 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3399 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3400 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3402 DEC_PYCALLBACK__(InitDialog
);
3403 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3404 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3405 DEC_PYCALLBACK_BOOL_(Validate
);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3409 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3414 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3415 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3417 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3419 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3424 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3426 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3427 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3438 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3445 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3451 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3453 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3455 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3457 // C++ version of Python aware wxScrolledWindow
3458 class wxPyScrolledWindow
: public wxScrolledWindow
3460 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3462 wxPyScrolledWindow() : wxScrolledWindow() {}
3463 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3464 const wxPoint
& pos
= wxDefaultPosition
,
3465 const wxSize
& size
= wxDefaultSize
,
3467 const wxString
& name
= wxPyPanelNameStr
)
3468 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3470 bool DoEraseBackground(wxDC
* dc
) {
3472 return wxWindow::DoEraseBackground(dc
->GetHDC());
3474 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3480 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3481 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3489 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3490 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3492 DEC_PYCALLBACK__(InitDialog
);
3493 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3494 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3495 DEC_PYCALLBACK_BOOL_(Validate
);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3499 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3504 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3505 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3507 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3509 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3514 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3516 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3517 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3528 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3535 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3541 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3543 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3545 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3548 #include "wx/wxPython/printfw.h"
3551 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3552 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3553 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3555 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3556 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3557 self
->GetPrivDataLen());
3558 wxPyEndBlockThreads(blocked
);
3561 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3562 if (! PyString_Check(data
)) {
3563 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3564 "Expected string object"));
3568 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3569 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3570 wxPyEndBlockThreads(blocked
);
3574 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3576 // Since this one would be tough and ugly to do with the Macros...
3577 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3578 bool hadErr
= false;
3581 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3582 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3583 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3584 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3587 val
= PyTuple_GetItem(result
, 0);
3588 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 1);
3592 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3595 val
= PyTuple_GetItem(result
, 2);
3596 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3599 val
= PyTuple_GetItem(result
, 3);
3600 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3607 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3612 wxPyEndBlockThreads(blocked
);
3614 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3619 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3620 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3623 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3624 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3625 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3631 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3632 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3635 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3636 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3639 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3640 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3641 PyObject* win = wxPyMake_wxObject(a,false); \
3642 PyObject* dc = wxPyMake_wxObject(&b,false); \
3643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3647 wxPyEndBlockThreads(blocked); \
3649 rval = PCLASS::CBNAME(a, b); \
3656 class wxPyPrintPreview
: public wxPrintPreview
3658 DECLARE_CLASS(wxPyPrintPreview
)
3660 wxPyPrintPreview(wxPyPrintout
* printout
,
3661 wxPyPrintout
* printoutForPrinting
,
3662 wxPrintDialogData
* data
=NULL
)
3663 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3665 wxPyPrintPreview(wxPyPrintout
* printout
,
3666 wxPyPrintout
* printoutForPrinting
,
3668 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3671 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3674 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3675 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3676 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3677 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3682 // Stupid renamed classes... Fix this in 2.5...
3683 #if defined(__WXMSW__)
3684 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3685 #elif defined(__WXMAC__)
3686 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3688 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3691 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3694 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3695 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3696 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3697 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3700 class wxPyPreviewFrame
: public wxPreviewFrame
3702 DECLARE_CLASS(wxPyPreviewFrame
)
3704 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3705 const wxString
& title
,
3706 const wxPoint
& pos
= wxDefaultPosition
,
3707 const wxSize
& size
= wxDefaultSize
,
3708 long style
= wxDEFAULT_FRAME_STYLE
,
3709 const wxString
& name
= wxPyFrameNameStr
)
3710 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3713 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3714 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3716 DEC_PYCALLBACK_VOID_(Initialize
);
3717 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3718 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3723 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3730 class wxPyPreviewControlBar
: public wxPreviewControlBar
3732 DECLARE_CLASS(wxPyPreviewControlBar
)
3734 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3737 const wxPoint
& pos
= wxDefaultPosition
,
3738 const wxSize
& size
= wxDefaultSize
,
3740 const wxString
& name
= wxPyPanelNameStr
)
3741 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3744 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3746 DEC_PYCALLBACK_VOID_(CreateButtons
);
3747 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3752 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3753 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3754 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3759 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
= 0;
3761 wxWindow
*arg1
= (wxWindow
*) 0 ;
3762 int arg2
= (int) (int)-1 ;
3763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3767 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3768 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3770 wxPanel
*result
= 0 ;
3779 bool temp6
= false ;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3782 PyObject
* obj2
= 0 ;
3783 PyObject
* obj3
= 0 ;
3784 PyObject
* obj4
= 0 ;
3785 PyObject
* obj5
= 0 ;
3786 char * kwnames
[] = {
3787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3792 if (!SWIG_IsOK(res1
)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3798 if (!SWIG_IsOK(ecode2
)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3801 arg2
= static_cast< int >(val2
);
3806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3816 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3817 if (!SWIG_IsOK(ecode5
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3820 arg5
= static_cast< long >(val5
);
3824 arg6
= wxString_in_helper(obj5
);
3825 if (arg6
== NULL
) SWIG_fail
;
3830 if (!wxPyCheckForApp()) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3851 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3852 PyObject
*resultobj
= 0;
3853 wxPanel
*result
= 0 ;
3855 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3857 if (!wxPyCheckForApp()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxPanel
*)new wxPanel();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3870 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
= 0;
3872 wxPanel
*arg1
= (wxPanel
*) 0 ;
3873 wxWindow
*arg2
= (wxWindow
*) 0 ;
3874 int arg3
= (int) (int)-1 ;
3875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3879 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3880 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3893 bool temp7
= false ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3896 PyObject
* obj2
= 0 ;
3897 PyObject
* obj3
= 0 ;
3898 PyObject
* obj4
= 0 ;
3899 PyObject
* obj5
= 0 ;
3900 PyObject
* obj6
= 0 ;
3901 char * kwnames
[] = {
3902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3907 if (!SWIG_IsOK(res1
)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3910 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3912 if (!SWIG_IsOK(res2
)) {
3913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3918 if (!SWIG_IsOK(ecode3
)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3921 arg3
= static_cast< int >(val3
);
3926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3936 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3937 if (!SWIG_IsOK(ecode6
)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3940 arg6
= static_cast< long >(val6
);
3944 arg7
= wxString_in_helper(obj6
);
3945 if (arg7
== NULL
) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3972 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3973 PyObject
*resultobj
= 0;
3974 wxPanel
*arg1
= (wxPanel
*) 0 ;
3977 PyObject
*swig_obj
[1] ;
3979 if (!args
) SWIG_fail
;
3981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3982 if (!SWIG_IsOK(res1
)) {
3983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3985 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 (arg1
)->SetFocusIgnoringChildren();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_Py_Void();
3999 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
= 0;
4001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4002 SwigValueWrapper
<wxVisualAttributes
> result
;
4005 PyObject
* obj0
= 0 ;
4006 char * kwnames
[] = {
4007 (char *) "variant", NULL
4010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4013 if (!SWIG_IsOK(ecode1
)) {
4014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4016 arg1
= static_cast< wxWindowVariant
>(val1
);
4019 if (!wxPyCheckForApp()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4032 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4036 return SWIG_Py_Void();
4039 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 return SWIG_Python_InitShadowInstance(args
);
4043 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
= 0;
4045 wxWindow
*arg1
= (wxWindow
*) 0 ;
4046 int arg2
= (int) (int)-1 ;
4047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4049 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4050 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4051 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4052 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4053 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4054 wxScrolledWindow
*result
= 0 ;
4063 bool temp6
= false ;
4064 PyObject
* obj0
= 0 ;
4065 PyObject
* obj1
= 0 ;
4066 PyObject
* obj2
= 0 ;
4067 PyObject
* obj3
= 0 ;
4068 PyObject
* obj4
= 0 ;
4069 PyObject
* obj5
= 0 ;
4070 char * kwnames
[] = {
4071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4082 if (!SWIG_IsOK(ecode2
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4085 arg2
= static_cast< int >(val2
);
4090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4096 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4100 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4101 if (!SWIG_IsOK(ecode5
)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4104 arg5
= static_cast< long >(val5
);
4108 arg6
= wxString_in_helper(obj5
);
4109 if (arg6
== NULL
) SWIG_fail
;
4114 if (!wxPyCheckForApp()) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4135 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4136 PyObject
*resultobj
= 0;
4137 wxScrolledWindow
*result
= 0 ;
4139 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4141 if (!wxPyCheckForApp()) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4157 wxWindow
*arg2
= (wxWindow
*) 0 ;
4158 int arg3
= (int) (int)-1 ;
4159 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4160 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4161 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4162 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4163 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4164 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4165 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4177 bool temp7
= false ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4180 PyObject
* obj2
= 0 ;
4181 PyObject
* obj3
= 0 ;
4182 PyObject
* obj4
= 0 ;
4183 PyObject
* obj5
= 0 ;
4184 PyObject
* obj6
= 0 ;
4185 char * kwnames
[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4191 if (!SWIG_IsOK(res1
)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4194 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4196 if (!SWIG_IsOK(res2
)) {
4197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4202 if (!SWIG_IsOK(ecode3
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4205 arg3
= static_cast< int >(val3
);
4210 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4216 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4220 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4221 if (!SWIG_IsOK(ecode6
)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4224 arg6
= static_cast< long >(val6
);
4228 arg7
= wxString_in_helper(obj6
);
4229 if (arg7
== NULL
) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4256 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
= 0;
4258 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4263 int arg6
= (int) 0 ;
4264 int arg7
= (int) 0 ;
4265 bool arg8
= (bool) false ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4284 PyObject
* obj2
= 0 ;
4285 PyObject
* obj3
= 0 ;
4286 PyObject
* obj4
= 0 ;
4287 PyObject
* obj5
= 0 ;
4288 PyObject
* obj6
= 0 ;
4289 PyObject
* obj7
= 0 ;
4290 char * kwnames
[] = {
4291 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4296 if (!SWIG_IsOK(res1
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4299 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4301 if (!SWIG_IsOK(ecode2
)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4304 arg2
= static_cast< int >(val2
);
4305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4306 if (!SWIG_IsOK(ecode3
)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4309 arg3
= static_cast< int >(val3
);
4310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4311 if (!SWIG_IsOK(ecode4
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4314 arg4
= static_cast< int >(val4
);
4315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4316 if (!SWIG_IsOK(ecode5
)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4319 arg5
= static_cast< int >(val5
);
4321 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4322 if (!SWIG_IsOK(ecode6
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4325 arg6
= static_cast< int >(val6
);
4328 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4329 if (!SWIG_IsOK(ecode7
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4332 arg7
= static_cast< int >(val7
);
4335 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4336 if (!SWIG_IsOK(ecode8
)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4339 arg8
= static_cast< bool >(val8
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_Py_Void();
4354 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
= 0;
4356 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 PyObject
* obj2
= 0 ;
4368 char * kwnames
[] = {
4369 (char *) "self",(char *) "x",(char *) "y", NULL
4372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4377 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4379 if (!SWIG_IsOK(ecode2
)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4382 arg2
= static_cast< int >(val2
);
4383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4384 if (!SWIG_IsOK(ecode3
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4387 arg3
= static_cast< int >(val3
);
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->Scroll(arg2
,arg3
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= SWIG_Py_Void();
4401 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
= 0;
4403 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "orient", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4421 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4423 if (!SWIG_IsOK(ecode2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4426 arg2
= static_cast< int >(val2
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_From_int(static_cast< int >(result
));
4440 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= 0;
4442 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4453 PyObject
* obj2
= 0 ;
4454 char * kwnames
[] = {
4455 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4463 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4465 if (!SWIG_IsOK(ecode2
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4468 arg2
= static_cast< int >(val2
);
4469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4470 if (!SWIG_IsOK(ecode3
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4473 arg3
= static_cast< int >(val3
);
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_Py_Void();
4487 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4489 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4500 PyObject
* obj2
= 0 ;
4501 char * kwnames
[] = {
4502 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4507 if (!SWIG_IsOK(res1
)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4510 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4512 if (!SWIG_IsOK(ecode2
)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4515 arg2
= static_cast< int >(val2
);
4516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4517 if (!SWIG_IsOK(ecode3
)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4520 arg3
= static_cast< int >(val3
);
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->SetScrollRate(arg2
,arg3
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_Py_Void();
4534 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4535 PyObject
*resultobj
= 0;
4536 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4537 int *arg2
= (int *) 0 ;
4538 int *arg3
= (int *) 0 ;
4542 int res2
= SWIG_TMPOBJ
;
4544 int res3
= SWIG_TMPOBJ
;
4545 PyObject
*swig_obj
[1] ;
4549 if (!args
) SWIG_fail
;
4551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4552 if (!SWIG_IsOK(res1
)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4555 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= SWIG_Py_Void();
4563 if (SWIG_IsTmpObj(res2
)) {
4564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4566 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4569 if (SWIG_IsTmpObj(res3
)) {
4570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4572 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4581 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
= 0;
4583 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4594 PyObject
* obj2
= 0 ;
4595 char * kwnames
[] = {
4596 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4601 if (!SWIG_IsOK(res1
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4604 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4606 if (!SWIG_IsOK(ecode2
)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4609 arg2
= static_cast< bool >(val2
);
4610 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4611 if (!SWIG_IsOK(ecode3
)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4614 arg3
= static_cast< bool >(val3
);
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 (arg1
)->EnableScrolling(arg2
,arg3
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_Py_Void();
4628 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4629 PyObject
*resultobj
= 0;
4630 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4631 int *arg2
= (int *) 0 ;
4632 int *arg3
= (int *) 0 ;
4636 int res2
= SWIG_TMPOBJ
;
4638 int res3
= SWIG_TMPOBJ
;
4639 PyObject
*swig_obj
[1] ;
4643 if (!args
) SWIG_fail
;
4645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4646 if (!SWIG_IsOK(res1
)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4649 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_Py_Void();
4657 if (SWIG_IsTmpObj(res2
)) {
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4660 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4663 if (SWIG_IsTmpObj(res3
)) {
4664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4666 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4675 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= 0;
4677 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4688 PyObject
* obj2
= 0 ;
4689 char * kwnames
[] = {
4690 (char *) "self",(char *) "xs",(char *) "ys", NULL
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4698 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4699 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4700 if (!SWIG_IsOK(ecode2
)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4703 arg2
= static_cast< double >(val2
);
4704 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4705 if (!SWIG_IsOK(ecode3
)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4708 arg3
= static_cast< double >(val3
);
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 (arg1
)->SetScale(arg2
,arg3
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_Py_Void();
4722 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4723 PyObject
*resultobj
= 0;
4724 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4728 PyObject
*swig_obj
[1] ;
4730 if (!args
) SWIG_fail
;
4732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4733 if (!SWIG_IsOK(res1
)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4736 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_From_double(static_cast< double >(result
));
4750 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4751 PyObject
*resultobj
= 0;
4752 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4756 PyObject
*swig_obj
[1] ;
4758 if (!args
) SWIG_fail
;
4760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4761 if (!SWIG_IsOK(res1
)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4764 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_From_double(static_cast< double >(result
));
4778 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4779 PyObject
*resultobj
= 0;
4780 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4787 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4792 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4795 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4810 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4811 PyObject
*resultobj
= 0;
4812 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4815 int *arg4
= (int *) 0 ;
4816 int *arg5
= (int *) 0 ;
4824 int res4
= SWIG_TMPOBJ
;
4826 int res5
= SWIG_TMPOBJ
;
4830 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4832 if (!SWIG_IsOK(res1
)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4835 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4836 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4837 if (!SWIG_IsOK(ecode2
)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4840 arg2
= static_cast< int >(val2
);
4841 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4842 if (!SWIG_IsOK(ecode3
)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4845 arg3
= static_cast< int >(val3
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_Py_Void();
4853 if (SWIG_IsTmpObj(res4
)) {
4854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4856 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4859 if (SWIG_IsTmpObj(res5
)) {
4860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4862 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4871 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4875 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4878 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4881 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4885 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4890 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4891 PyObject
*resultobj
= 0;
4892 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4899 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4901 if (!SWIG_IsOK(res1
)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4904 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4907 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4922 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4923 PyObject
*resultobj
= 0;
4924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4927 int *arg4
= (int *) 0 ;
4928 int *arg5
= (int *) 0 ;
4936 int res4
= SWIG_TMPOBJ
;
4938 int res5
= SWIG_TMPOBJ
;
4942 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4947 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4948 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4949 if (!SWIG_IsOK(ecode2
)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4952 arg2
= static_cast< int >(val2
);
4953 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4954 if (!SWIG_IsOK(ecode3
)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4957 arg3
= static_cast< int >(val3
);
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= SWIG_Py_Void();
4965 if (SWIG_IsTmpObj(res4
)) {
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4968 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4971 if (SWIG_IsTmpObj(res5
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4974 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4983 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4987 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4990 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4993 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4997 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5002 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5003 PyObject
*resultobj
= 0;
5004 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5007 PyObject
*swig_obj
[1] ;
5009 if (!args
) SWIG_fail
;
5011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5012 if (!SWIG_IsOK(res1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5015 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 (arg1
)->AdjustScrollbars();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= SWIG_Py_Void();
5029 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
= 0;
5031 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5032 wxScrollWinEvent
*arg2
= 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5040 char * kwnames
[] = {
5041 (char *) "self",(char *) "event", NULL
5044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5046 if (!SWIG_IsOK(res1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5049 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5051 if (!SWIG_IsOK(res2
)) {
5052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5057 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= SWIG_From_int(static_cast< int >(result
));
5071 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
= 0;
5073 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5074 wxWindow
*arg2
= (wxWindow
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 char * kwnames
[] = {
5082 (char *) "self",(char *) "target", NULL
5085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5087 if (!SWIG_IsOK(res1
)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5090 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5092 if (!SWIG_IsOK(res2
)) {
5093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5095 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetTargetWindow(arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_Py_Void();
5109 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 PyObject
*resultobj
= 0;
5111 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5112 wxWindow
*result
= 0 ;
5115 PyObject
*swig_obj
[1] ;
5117 if (!args
) SWIG_fail
;
5119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5120 if (!SWIG_IsOK(res1
)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5123 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= wxPyMake_wxObject(result
, 0);
5139 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
= 0;
5141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "self",(char *) "rect", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5160 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_Py_Void();
5175 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5176 PyObject
*resultobj
= 0;
5177 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5181 PyObject
*swig_obj
[1] ;
5183 if (!args
) SWIG_fail
;
5185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5186 if (!SWIG_IsOK(res1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5189 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5203 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
= 0;
5205 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5213 char * kwnames
[] = {
5214 (char *) "self",(char *) "dc", NULL
5217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5222 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5224 if (!SWIG_IsOK(res2
)) {
5225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5230 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->DoPrepareDC(*arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_Py_Void();
5244 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5247 SwigValueWrapper
<wxVisualAttributes
> result
;
5250 PyObject
* obj0
= 0 ;
5251 char * kwnames
[] = {
5252 (char *) "variant", NULL
5255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5258 if (!SWIG_IsOK(ecode1
)) {
5259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5261 arg1
= static_cast< wxWindowVariant
>(val1
);
5264 if (!wxPyCheckForApp()) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5277 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5280 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5281 return SWIG_Py_Void();
5284 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 return SWIG_Python_InitShadowInstance(args
);
5288 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5289 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5294 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5295 PyObject
*pyobj
= 0;
5299 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5301 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5308 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5309 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5314 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5315 PyObject
*pyobj
= 0;
5319 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5321 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5328 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5329 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5334 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5335 PyObject
*pyobj
= 0;
5339 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5341 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5348 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5349 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5354 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5355 PyObject
*pyobj
= 0;
5359 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5361 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5368 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
= 0;
5370 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5371 bool arg2
= (bool) true ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5378 char * kwnames
[] = {
5379 (char *) "self",(char *) "maximize", NULL
5382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5384 if (!SWIG_IsOK(res1
)) {
5385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5387 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5390 if (!SWIG_IsOK(ecode2
)) {
5391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5393 arg2
= static_cast< bool >(val2
);
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->Maximize(arg2
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= SWIG_Py_Void();
5408 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5409 PyObject
*resultobj
= 0;
5410 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5413 PyObject
*swig_obj
[1] ;
5415 if (!args
) SWIG_fail
;
5417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5418 if (!SWIG_IsOK(res1
)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5421 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_Py_Void();
5435 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
= 0;
5437 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5438 bool arg2
= (bool) true ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5445 char * kwnames
[] = {
5446 (char *) "self",(char *) "iconize", NULL
5449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5454 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5456 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5457 if (!SWIG_IsOK(ecode2
)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5460 arg2
= static_cast< bool >(val2
);
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->Iconize(arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_Py_Void();
5475 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5476 PyObject
*resultobj
= 0;
5477 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5481 PyObject
*swig_obj
[1] ;
5483 if (!args
) SWIG_fail
;
5485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5486 if (!SWIG_IsOK(res1
)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5489 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5505 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 PyObject
*resultobj
= 0;
5507 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5511 PyObject
*swig_obj
[1] ;
5513 if (!args
) SWIG_fail
;
5515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5516 if (!SWIG_IsOK(res1
)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5519 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5535 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5536 PyObject
*resultobj
= 0;
5537 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5541 PyObject
*swig_obj
[1] ;
5543 if (!args
) SWIG_fail
;
5545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5546 if (!SWIG_IsOK(res1
)) {
5547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5549 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5565 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5566 PyObject
*resultobj
= 0;
5567 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5571 PyObject
*swig_obj
[1] ;
5573 if (!args
) SWIG_fail
;
5575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5576 if (!SWIG_IsOK(res1
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5579 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5593 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
= 0;
5595 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 char * kwnames
[] = {
5604 (char *) "self",(char *) "icon", NULL
5607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5609 if (!SWIG_IsOK(res1
)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5612 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5614 if (!SWIG_IsOK(res2
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5620 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= SWIG_Py_Void();
5634 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
= 0;
5636 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5637 wxIconBundle
*arg2
= 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5644 char * kwnames
[] = {
5645 (char *) "self",(char *) "icons", NULL
5648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5653 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5655 if (!SWIG_IsOK(res2
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5661 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_Py_Void();
5675 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
= 0;
5677 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5679 long arg3
= (long) wxFULLSCREEN_ALL
;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5689 PyObject
* obj2
= 0 ;
5690 char * kwnames
[] = {
5691 (char *) "self",(char *) "show",(char *) "style", NULL
5694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5696 if (!SWIG_IsOK(res1
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5699 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5700 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5701 if (!SWIG_IsOK(ecode2
)) {
5702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5704 arg2
= static_cast< bool >(val2
);
5706 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5707 if (!SWIG_IsOK(ecode3
)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5710 arg3
= static_cast< long >(val3
);
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5727 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 PyObject
*resultobj
= 0;
5729 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5733 PyObject
*swig_obj
[1] ;
5735 if (!args
) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5741 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5757 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
= 0;
5759 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5760 wxString
*arg2
= 0 ;
5763 bool temp2
= false ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5766 char * kwnames
[] = {
5767 (char *) "self",(char *) "title", NULL
5770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5772 if (!SWIG_IsOK(res1
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5775 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5777 arg2
= wxString_in_helper(obj1
);
5778 if (arg2
== NULL
) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->SetTitle((wxString
const &)*arg2
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_Py_Void();
5802 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5803 PyObject
*resultobj
= 0;
5804 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5808 PyObject
*swig_obj
[1] ;
5810 if (!args
) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5816 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5836 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= 0;
5838 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5847 char * kwnames
[] = {
5848 (char *) "self",(char *) "enable", NULL
5851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5853 if (!SWIG_IsOK(res1
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5856 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5857 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5858 if (!SWIG_IsOK(ecode2
)) {
5859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5861 arg2
= static_cast< bool >(val2
);
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5877 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
= 0;
5879 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5880 wxRegion
*arg2
= 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "self",(char *) "region", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5897 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5899 if (!SWIG_IsOK(res2
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5905 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5921 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
= 0;
5923 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5924 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 char * kwnames
[] = {
5932 (char *) "self",(char *) "flags", NULL
5935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5943 if (!SWIG_IsOK(ecode2
)) {
5944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5946 arg2
= static_cast< int >(val2
);
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 (arg1
)->RequestUserAttention(arg2
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_Py_Void();
5961 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5962 PyObject
*resultobj
= 0;
5963 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5967 PyObject
*swig_obj
[1] ;
5969 if (!args
) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (bool)(arg1
)->IsActive();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5991 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
= 0;
5993 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 char * kwnames
[] = {
6002 (char *) "self",(char *) "on", NULL
6005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6010 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6012 if (!SWIG_IsOK(ecode2
)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6015 arg2
= static_cast< bool >(val2
);
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_Py_Void();
6029 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6043 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6059 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
= 0;
6061 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6062 int arg2
= (int) wxBOTH
;
6067 PyObject
* obj0
= 0 ;
6068 PyObject
* obj1
= 0 ;
6069 char * kwnames
[] = {
6070 (char *) "self",(char *) "dir", NULL
6073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6075 if (!SWIG_IsOK(res1
)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6078 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6081 if (!SWIG_IsOK(ecode2
)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6084 arg2
= static_cast< int >(val2
);
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->CenterOnScreen(arg2
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_Py_Void();
6099 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6100 PyObject
*resultobj
= 0;
6101 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6102 wxWindow
*result
= 0 ;
6105 PyObject
*swig_obj
[1] ;
6107 if (!args
) SWIG_fail
;
6109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6110 if (!SWIG_IsOK(res1
)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6113 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= wxPyMake_wxObject(result
, 0);
6129 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= 0;
6131 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6132 wxWindow
*arg2
= (wxWindow
*) 0 ;
6133 wxWindow
*result
= 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 char * kwnames
[] = {
6141 (char *) "self",(char *) "child", NULL
6144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6146 if (!SWIG_IsOK(res1
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6149 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6151 if (!SWIG_IsOK(res2
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6154 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= wxPyMake_wxObject(result
, 0);
6170 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6172 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6173 wxWindow
*arg2
= (wxWindow
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6180 char * kwnames
[] = {
6181 (char *) "self",(char *) "win", NULL
6184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6186 if (!SWIG_IsOK(res1
)) {
6187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6189 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6191 if (!SWIG_IsOK(res2
)) {
6192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6194 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 (arg1
)->SetTmpDefaultItem(arg2
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_Py_Void();
6208 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6209 PyObject
*resultobj
= 0;
6210 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6211 wxWindow
*result
= 0 ;
6214 PyObject
*swig_obj
[1] ;
6216 if (!args
) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6222 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= wxPyMake_wxObject(result
, 0);
6238 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6241 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6242 return SWIG_Py_Void();
6245 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
= 0;
6247 wxWindow
*arg1
= (wxWindow
*) 0 ;
6248 int arg2
= (int) (int)-1 ;
6249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6255 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6256 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6258 wxFrame
*result
= 0 ;
6263 bool temp3
= false ;
6268 bool temp7
= false ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6271 PyObject
* obj2
= 0 ;
6272 PyObject
* obj3
= 0 ;
6273 PyObject
* obj4
= 0 ;
6274 PyObject
* obj5
= 0 ;
6275 PyObject
* obj6
= 0 ;
6276 char * kwnames
[] = {
6277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6282 if (!SWIG_IsOK(res1
)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6288 if (!SWIG_IsOK(ecode2
)) {
6289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6291 arg2
= static_cast< int >(val2
);
6295 arg3
= wxString_in_helper(obj2
);
6296 if (arg3
== NULL
) SWIG_fail
;
6303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6313 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6314 if (!SWIG_IsOK(ecode6
)) {
6315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6317 arg6
= static_cast< long >(val6
);
6321 arg7
= wxString_in_helper(obj6
);
6322 if (arg7
== NULL
) SWIG_fail
;
6327 if (!wxPyCheckForApp()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6356 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxFrame
*result
= 0 ;
6360 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6362 if (!wxPyCheckForApp()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (wxFrame
*)new wxFrame();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6375 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
= 0;
6377 wxFrame
*arg1
= (wxFrame
*) 0 ;
6378 wxWindow
*arg2
= (wxWindow
*) 0 ;
6379 int arg3
= (int) (int)-1 ;
6380 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6381 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6382 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6383 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6384 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6385 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6386 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6387 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6396 bool temp4
= false ;
6401 bool temp8
= false ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6404 PyObject
* obj2
= 0 ;
6405 PyObject
* obj3
= 0 ;
6406 PyObject
* obj4
= 0 ;
6407 PyObject
* obj5
= 0 ;
6408 PyObject
* obj6
= 0 ;
6409 PyObject
* obj7
= 0 ;
6410 char * kwnames
[] = {
6411 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6419 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6421 if (!SWIG_IsOK(res2
)) {
6422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6427 if (!SWIG_IsOK(ecode3
)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6430 arg3
= static_cast< int >(val3
);
6434 arg4
= wxString_in_helper(obj3
);
6435 if (arg4
== NULL
) SWIG_fail
;
6442 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6448 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6452 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6453 if (!SWIG_IsOK(ecode7
)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6456 arg7
= static_cast< long >(val7
);
6460 arg8
= wxString_in_helper(obj7
);
6461 if (arg8
== NULL
) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6496 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxFrame
*arg1
= (wxFrame
*) 0 ;
6501 PyObject
*swig_obj
[1] ;
6503 if (!args
) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6509 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 (arg1
)->SendSizeEvent();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_Py_Void();
6523 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
= 0;
6525 wxFrame
*arg1
= (wxFrame
*) 0 ;
6526 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 char * kwnames
[] = {
6534 (char *) "self",(char *) "menubar", NULL
6537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6542 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6544 if (!SWIG_IsOK(res2
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6547 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 (arg1
)->SetMenuBar(arg2
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6562 PyObject
*resultobj
= 0;
6563 wxFrame
*arg1
= (wxFrame
*) 0 ;
6564 wxMenuBar
*result
= 0 ;
6567 PyObject
*swig_obj
[1] ;
6569 if (!args
) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6575 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6583 resultobj
= wxPyMake_wxObject(result
, 0);
6591 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
= 0;
6593 wxFrame
*arg1
= (wxFrame
*) 0 ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 char * kwnames
[] = {
6603 (char *) "self",(char *) "winid", NULL
6606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6611 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6613 if (!SWIG_IsOK(ecode2
)) {
6614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6616 arg2
= static_cast< int >(val2
);
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
= 0;
6634 wxFrame
*arg1
= (wxFrame
*) 0 ;
6635 int arg2
= (int) 1 ;
6636 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6637 int arg4
= (int) 0 ;
6638 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6639 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6640 wxStatusBar
*result
= 0 ;
6649 bool temp5
= false ;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6652 PyObject
* obj2
= 0 ;
6653 PyObject
* obj3
= 0 ;
6654 PyObject
* obj4
= 0 ;
6655 char * kwnames
[] = {
6656 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6661 if (!SWIG_IsOK(res1
)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6664 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6667 if (!SWIG_IsOK(ecode2
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6670 arg2
= static_cast< int >(val2
);
6673 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6674 if (!SWIG_IsOK(ecode3
)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6677 arg3
= static_cast< long >(val3
);
6680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6681 if (!SWIG_IsOK(ecode4
)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6684 arg4
= static_cast< int >(val4
);
6688 arg5
= wxString_in_helper(obj4
);
6689 if (arg5
== NULL
) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6716 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6717 PyObject
*resultobj
= 0;
6718 wxFrame
*arg1
= (wxFrame
*) 0 ;
6719 wxStatusBar
*result
= 0 ;
6722 PyObject
*swig_obj
[1] ;
6724 if (!args
) SWIG_fail
;
6726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6727 if (!SWIG_IsOK(res1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6730 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6746 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
= 0;
6748 wxFrame
*arg1
= (wxFrame
*) 0 ;
6749 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 char * kwnames
[] = {
6757 (char *) "self",(char *) "statBar", NULL
6760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6762 if (!SWIG_IsOK(res1
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6765 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6767 if (!SWIG_IsOK(res2
)) {
6768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6770 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->SetStatusBar(arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_Py_Void();
6784 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
= 0;
6786 wxFrame
*arg1
= (wxFrame
*) 0 ;
6787 wxString
*arg2
= 0 ;
6788 int arg3
= (int) 0 ;
6791 bool temp2
= false ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6796 PyObject
* obj2
= 0 ;
6797 char * kwnames
[] = {
6798 (char *) "self",(char *) "text",(char *) "number", NULL
6801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6803 if (!SWIG_IsOK(res1
)) {
6804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6806 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6808 arg2
= wxString_in_helper(obj1
);
6809 if (arg2
== NULL
) SWIG_fail
;
6813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6814 if (!SWIG_IsOK(ecode3
)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6817 arg3
= static_cast< int >(val3
);
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= SWIG_Py_Void();
6840 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
= 0;
6842 wxFrame
*arg1
= (wxFrame
*) 0 ;
6844 int *arg3
= (int *) 0 ;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6849 char * kwnames
[] = {
6850 (char *) "self",(char *) "widths", NULL
6853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6855 if (!SWIG_IsOK(res1
)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6858 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6860 arg2
= PyList_Size(obj1
);
6861 arg3
= int_LIST_helper(obj1
);
6862 if (arg3
== NULL
) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_Py_Void();
6872 if (arg3
) delete [] arg3
;
6877 if (arg3
) delete [] arg3
;
6883 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
= 0;
6885 wxFrame
*arg1
= (wxFrame
*) 0 ;
6886 wxString
*arg2
= 0 ;
6887 int arg3
= (int) 0 ;
6890 bool temp2
= false ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 PyObject
* obj2
= 0 ;
6896 char * kwnames
[] = {
6897 (char *) "self",(char *) "text",(char *) "number", NULL
6900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6902 if (!SWIG_IsOK(res1
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6905 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6907 arg2
= wxString_in_helper(obj1
);
6908 if (arg2
== NULL
) SWIG_fail
;
6912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6913 if (!SWIG_IsOK(ecode3
)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6916 arg3
= static_cast< int >(val3
);
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_Py_Void();
6939 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxFrame
*arg1
= (wxFrame
*) 0 ;
6942 int arg2
= (int) 0 ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "self",(char *) "number", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6955 if (!SWIG_IsOK(res1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6958 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6961 if (!SWIG_IsOK(ecode2
)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6964 arg2
= static_cast< int >(val2
);
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 (arg1
)->PopStatusText(arg2
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_Py_Void();
6979 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
= 0;
6981 wxFrame
*arg1
= (wxFrame
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6989 char * kwnames
[] = {
6990 (char *) "self",(char *) "n", NULL
6993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6995 if (!SWIG_IsOK(res1
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6998 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7000 if (!SWIG_IsOK(ecode2
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7003 arg2
= static_cast< int >(val2
);
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->SetStatusBarPane(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7018 PyObject
*resultobj
= 0;
7019 wxFrame
*arg1
= (wxFrame
*) 0 ;
7023 PyObject
*swig_obj
[1] ;
7025 if (!args
) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7031 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= SWIG_From_int(static_cast< int >(result
));
7045 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
= 0;
7047 wxFrame
*arg1
= (wxFrame
*) 0 ;
7048 long arg2
= (long) -1 ;
7049 int arg3
= (int) -1 ;
7050 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7052 wxToolBar
*result
= 0 ;
7059 bool temp4
= false ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 PyObject
* obj2
= 0 ;
7063 PyObject
* obj3
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7073 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7076 if (!SWIG_IsOK(ecode2
)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7079 arg2
= static_cast< long >(val2
);
7082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7083 if (!SWIG_IsOK(ecode3
)) {
7084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7086 arg3
= static_cast< int >(val3
);
7090 arg4
= wxString_in_helper(obj3
);
7091 if (arg4
== NULL
) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7118 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7119 PyObject
*resultobj
= 0;
7120 wxFrame
*arg1
= (wxFrame
*) 0 ;
7121 wxToolBar
*result
= 0 ;
7124 PyObject
*swig_obj
[1] ;
7126 if (!args
) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7132 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7148 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxFrame
*arg1
= (wxFrame
*) 0 ;
7151 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "toolbar", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7167 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7169 if (!SWIG_IsOK(res2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7172 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 (arg1
)->SetToolBar(arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_Py_Void();
7186 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
= 0;
7188 wxFrame
*arg1
= (wxFrame
*) 0 ;
7189 wxString
*arg2
= 0 ;
7193 bool temp2
= false ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7198 PyObject
* obj2
= 0 ;
7199 char * kwnames
[] = {
7200 (char *) "self",(char *) "text",(char *) "show", NULL
7203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7208 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7210 arg2
= wxString_in_helper(obj1
);
7211 if (arg2
== NULL
) SWIG_fail
;
7214 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7215 if (!SWIG_IsOK(ecode3
)) {
7216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7218 arg3
= static_cast< bool >(val3
);
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_Py_Void();
7240 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
= 0;
7242 wxFrame
*arg1
= (wxFrame
*) 0 ;
7243 wxMenu
*arg2
= (wxMenu
*) NULL
;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7250 char * kwnames
[] = {
7251 (char *) "self",(char *) "menu", NULL
7254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7256 if (!SWIG_IsOK(res1
)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7259 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7262 if (!SWIG_IsOK(res2
)) {
7263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7265 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 (arg1
)->DoMenuUpdates(arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= SWIG_Py_Void();
7280 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
= 0;
7282 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7283 SwigValueWrapper
<wxVisualAttributes
> result
;
7286 PyObject
* obj0
= 0 ;
7287 char * kwnames
[] = {
7288 (char *) "variant", NULL
7291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7294 if (!SWIG_IsOK(ecode1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7297 arg1
= static_cast< wxWindowVariant
>(val1
);
7300 if (!wxPyCheckForApp()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7313 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7316 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7317 return SWIG_Py_Void();
7320 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7321 return SWIG_Python_InitShadowInstance(args
);
7324 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= 0;
7326 wxWindow
*arg1
= (wxWindow
*) 0 ;
7327 int arg2
= (int) (int)-1 ;
7328 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7334 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7335 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7337 wxDialog
*result
= 0 ;
7342 bool temp3
= false ;
7347 bool temp7
= false ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7350 PyObject
* obj2
= 0 ;
7351 PyObject
* obj3
= 0 ;
7352 PyObject
* obj4
= 0 ;
7353 PyObject
* obj5
= 0 ;
7354 PyObject
* obj6
= 0 ;
7355 char * kwnames
[] = {
7356 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7367 if (!SWIG_IsOK(ecode2
)) {
7368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7370 arg2
= static_cast< int >(val2
);
7374 arg3
= wxString_in_helper(obj2
);
7375 if (arg3
== NULL
) SWIG_fail
;
7382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7392 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7393 if (!SWIG_IsOK(ecode6
)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7396 arg6
= static_cast< long >(val6
);
7400 arg7
= wxString_in_helper(obj6
);
7401 if (arg7
== NULL
) SWIG_fail
;
7406 if (!wxPyCheckForApp()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7435 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7436 PyObject
*resultobj
= 0;
7437 wxDialog
*result
= 0 ;
7439 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7441 if (!wxPyCheckForApp()) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (wxDialog
*)new wxDialog();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7454 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
= 0;
7456 wxDialog
*arg1
= (wxDialog
*) 0 ;
7457 wxWindow
*arg2
= (wxWindow
*) 0 ;
7458 int arg3
= (int) (int)-1 ;
7459 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7460 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7465 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7466 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7475 bool temp4
= false ;
7480 bool temp8
= false ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7483 PyObject
* obj2
= 0 ;
7484 PyObject
* obj3
= 0 ;
7485 PyObject
* obj4
= 0 ;
7486 PyObject
* obj5
= 0 ;
7487 PyObject
* obj6
= 0 ;
7488 PyObject
* obj7
= 0 ;
7489 char * kwnames
[] = {
7490 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7498 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7500 if (!SWIG_IsOK(res2
)) {
7501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7503 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7506 if (!SWIG_IsOK(ecode3
)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7509 arg3
= static_cast< int >(val3
);
7513 arg4
= wxString_in_helper(obj3
);
7514 if (arg4
== NULL
) SWIG_fail
;
7521 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7527 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7531 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7532 if (!SWIG_IsOK(ecode7
)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7535 arg7
= static_cast< long >(val7
);
7539 arg8
= wxString_in_helper(obj7
);
7540 if (arg8
== NULL
) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7575 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
= 0;
7577 wxDialog
*arg1
= (wxDialog
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7585 char * kwnames
[] = {
7586 (char *) "self",(char *) "returnCode", NULL
7589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7596 if (!SWIG_IsOK(ecode2
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7599 arg2
= static_cast< int >(val2
);
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 (arg1
)->SetReturnCode(arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_Py_Void();
7613 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7614 PyObject
*resultobj
= 0;
7615 wxDialog
*arg1
= (wxDialog
*) 0 ;
7619 PyObject
*swig_obj
[1] ;
7621 if (!args
) SWIG_fail
;
7623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7624 if (!SWIG_IsOK(res1
)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7627 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_From_int(static_cast< int >(result
));
7641 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= 0;
7643 wxDialog
*arg1
= (wxDialog
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 char * kwnames
[] = {
7652 (char *) "self",(char *) "affirmativeId", NULL
7655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7660 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7662 if (!SWIG_IsOK(ecode2
)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7665 arg2
= static_cast< int >(val2
);
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 (arg1
)->SetAffirmativeId(arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_Py_Void();
7679 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 PyObject
*resultobj
= 0;
7681 wxDialog
*arg1
= (wxDialog
*) 0 ;
7685 PyObject
*swig_obj
[1] ;
7687 if (!args
) SWIG_fail
;
7689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7690 if (!SWIG_IsOK(res1
)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7693 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= SWIG_From_int(static_cast< int >(result
));
7707 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
= 0;
7709 wxDialog
*arg1
= (wxDialog
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7717 char * kwnames
[] = {
7718 (char *) "self",(char *) "escapeId", NULL
7721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7726 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7728 if (!SWIG_IsOK(ecode2
)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7731 arg2
= static_cast< int >(val2
);
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 (arg1
)->SetEscapeId(arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_Py_Void();
7745 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7746 PyObject
*resultobj
= 0;
7747 wxDialog
*arg1
= (wxDialog
*) 0 ;
7751 PyObject
*swig_obj
[1] ;
7753 if (!args
) SWIG_fail
;
7755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7756 if (!SWIG_IsOK(res1
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7759 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_From_int(static_cast< int >(result
));
7773 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
= 0;
7775 wxDialog
*arg1
= (wxDialog
*) 0 ;
7776 wxString
*arg2
= 0 ;
7777 wxSizer
*result
= 0 ;
7780 bool temp2
= false ;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7783 char * kwnames
[] = {
7784 (char *) "self",(char *) "message", NULL
7787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7792 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7794 arg2
= wxString_in_helper(obj1
);
7795 if (arg2
== NULL
) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7821 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= 0;
7823 wxDialog
*arg1
= (wxDialog
*) 0 ;
7825 wxSizer
*result
= 0 ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7832 char * kwnames
[] = {
7833 (char *) "self",(char *) "flags", NULL
7836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7841 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7846 arg2
= static_cast< long >(val2
);
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7862 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
= 0;
7864 wxDialog
*arg1
= (wxDialog
*) 0 ;
7866 wxSizer
*result
= 0 ;
7871 PyObject
* obj0
= 0 ;
7872 PyObject
* obj1
= 0 ;
7873 char * kwnames
[] = {
7874 (char *) "self",(char *) "flags", NULL
7877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7882 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7884 if (!SWIG_IsOK(ecode2
)) {
7885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7887 arg2
= static_cast< long >(val2
);
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7903 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
= 0;
7905 wxDialog
*arg1
= (wxDialog
*) 0 ;
7907 wxStdDialogButtonSizer
*result
= 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7914 char * kwnames
[] = {
7915 (char *) "self",(char *) "flags", NULL
7918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7923 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7925 if (!SWIG_IsOK(ecode2
)) {
7926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7928 arg2
= static_cast< long >(val2
);
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7942 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7943 PyObject
*resultobj
= 0;
7944 wxDialog
*arg1
= (wxDialog
*) 0 ;
7948 PyObject
*swig_obj
[1] ;
7950 if (!args
) SWIG_fail
;
7952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7953 if (!SWIG_IsOK(res1
)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7956 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7972 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7973 PyObject
*resultobj
= 0;
7974 wxDialog
*arg1
= (wxDialog
*) 0 ;
7978 PyObject
*swig_obj
[1] ;
7980 if (!args
) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7986 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (int)(arg1
)->ShowModal();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_From_int(static_cast< int >(result
));
8000 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= 0;
8002 wxDialog
*arg1
= (wxDialog
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8010 char * kwnames
[] = {
8011 (char *) "self",(char *) "retCode", NULL
8014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8019 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8021 if (!SWIG_IsOK(ecode2
)) {
8022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8024 arg2
= static_cast< int >(val2
);
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 (arg1
)->EndModal(arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_Py_Void();
8038 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
= 0;
8040 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8041 SwigValueWrapper
<wxVisualAttributes
> result
;
8044 PyObject
* obj0
= 0 ;
8045 char * kwnames
[] = {
8046 (char *) "variant", NULL
8049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8051 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8052 if (!SWIG_IsOK(ecode1
)) {
8053 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8055 arg1
= static_cast< wxWindowVariant
>(val1
);
8058 if (!wxPyCheckForApp()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8071 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8074 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8075 return SWIG_Py_Void();
8078 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8079 return SWIG_Python_InitShadowInstance(args
);
8082 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
= 0;
8084 wxWindow
*arg1
= (wxWindow
*) 0 ;
8085 int arg2
= (int) (int)-1 ;
8086 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8087 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8092 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8093 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8095 wxMiniFrame
*result
= 0 ;
8100 bool temp3
= false ;
8105 bool temp7
= false ;
8106 PyObject
* obj0
= 0 ;
8107 PyObject
* obj1
= 0 ;
8108 PyObject
* obj2
= 0 ;
8109 PyObject
* obj3
= 0 ;
8110 PyObject
* obj4
= 0 ;
8111 PyObject
* obj5
= 0 ;
8112 PyObject
* obj6
= 0 ;
8113 char * kwnames
[] = {
8114 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8119 if (!SWIG_IsOK(res1
)) {
8120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8125 if (!SWIG_IsOK(ecode2
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8128 arg2
= static_cast< int >(val2
);
8132 arg3
= wxString_in_helper(obj2
);
8133 if (arg3
== NULL
) SWIG_fail
;
8140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8150 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8151 if (!SWIG_IsOK(ecode6
)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8154 arg6
= static_cast< long >(val6
);
8158 arg7
= wxString_in_helper(obj6
);
8159 if (arg7
== NULL
) SWIG_fail
;
8164 if (!wxPyCheckForApp()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8193 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8194 PyObject
*resultobj
= 0;
8195 wxMiniFrame
*result
= 0 ;
8197 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8199 if (!wxPyCheckForApp()) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (wxMiniFrame
*)new wxMiniFrame();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8212 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
= 0;
8214 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8215 wxWindow
*arg2
= (wxWindow
*) 0 ;
8216 int arg3
= (int) (int)-1 ;
8217 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8218 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8219 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8220 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8221 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8222 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8223 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8224 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8225 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8233 bool temp4
= false ;
8238 bool temp8
= false ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8242 PyObject
* obj3
= 0 ;
8243 PyObject
* obj4
= 0 ;
8244 PyObject
* obj5
= 0 ;
8245 PyObject
* obj6
= 0 ;
8246 PyObject
* obj7
= 0 ;
8247 char * kwnames
[] = {
8248 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8253 if (!SWIG_IsOK(res1
)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8256 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8258 if (!SWIG_IsOK(res2
)) {
8259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8261 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8264 if (!SWIG_IsOK(ecode3
)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8267 arg3
= static_cast< int >(val3
);
8271 arg4
= wxString_in_helper(obj3
);
8272 if (arg4
== NULL
) SWIG_fail
;
8279 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8285 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8289 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8290 if (!SWIG_IsOK(ecode7
)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8293 arg7
= static_cast< long >(val7
);
8297 arg8
= wxString_in_helper(obj7
);
8298 if (arg8
== NULL
) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8333 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8336 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8337 return SWIG_Py_Void();
8340 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8341 return SWIG_Python_InitShadowInstance(args
);
8344 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= 0;
8346 wxBitmap
*arg1
= 0 ;
8347 wxWindow
*arg2
= (wxWindow
*) 0 ;
8349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8353 long arg6
= (long) wxNO_BORDER
;
8354 wxSplashScreenWindow
*result
= 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8368 PyObject
* obj3
= 0 ;
8369 PyObject
* obj4
= 0 ;
8370 PyObject
* obj5
= 0 ;
8371 char * kwnames
[] = {
8372 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8383 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8385 if (!SWIG_IsOK(res2
)) {
8386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8390 if (!SWIG_IsOK(ecode3
)) {
8391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8393 arg3
= static_cast< int >(val3
);
8397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8407 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8408 if (!SWIG_IsOK(ecode6
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8411 arg6
= static_cast< long >(val6
);
8414 if (!wxPyCheckForApp()) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8427 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
= 0;
8429 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8430 wxBitmap
*arg2
= 0 ;
8435 PyObject
* obj0
= 0 ;
8436 PyObject
* obj1
= 0 ;
8437 char * kwnames
[] = {
8438 (char *) "self",(char *) "bitmap", NULL
8441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8443 if (!SWIG_IsOK(res1
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8446 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8448 if (!SWIG_IsOK(res2
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8454 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_Py_Void();
8468 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8469 PyObject
*resultobj
= 0;
8470 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8471 wxBitmap
*result
= 0 ;
8474 PyObject
*swig_obj
[1] ;
8476 if (!args
) SWIG_fail
;
8478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8479 if (!SWIG_IsOK(res1
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8482 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8487 result
= (wxBitmap
*) &_result_ref
;
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 wxBitmap
* resultptr
= new wxBitmap(*result
);
8494 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8502 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8505 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8506 return SWIG_Py_Void();
8509 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8510 return SWIG_Python_InitShadowInstance(args
);
8513 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
= 0;
8515 wxBitmap
*arg1
= 0 ;
8518 wxWindow
*arg4
= (wxWindow
*) 0 ;
8519 int arg5
= (int) -1 ;
8520 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8521 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8522 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8523 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8524 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8525 wxSplashScreen
*result
= 0 ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8543 PyObject
* obj3
= 0 ;
8544 PyObject
* obj4
= 0 ;
8545 PyObject
* obj5
= 0 ;
8546 PyObject
* obj6
= 0 ;
8547 PyObject
* obj7
= 0 ;
8548 char * kwnames
[] = {
8549 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8560 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8562 if (!SWIG_IsOK(ecode2
)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8565 arg2
= static_cast< long >(val2
);
8566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8567 if (!SWIG_IsOK(ecode3
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8570 arg3
= static_cast< int >(val3
);
8571 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8572 if (!SWIG_IsOK(res4
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8575 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8577 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8578 if (!SWIG_IsOK(ecode5
)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8581 arg5
= static_cast< int >(val5
);
8586 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8592 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8596 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8597 if (!SWIG_IsOK(ecode8
)) {
8598 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8600 arg8
= static_cast< long >(val8
);
8603 if (!wxPyCheckForApp()) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8616 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8617 PyObject
*resultobj
= 0;
8618 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8622 PyObject
*swig_obj
[1] ;
8624 if (!args
) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8630 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_From_long(static_cast< long >(result
));
8644 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8645 PyObject
*resultobj
= 0;
8646 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8647 wxSplashScreenWindow
*result
= 0 ;
8650 PyObject
*swig_obj
[1] ;
8652 if (!args
) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8658 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8672 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8673 PyObject
*resultobj
= 0;
8674 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8678 PyObject
*swig_obj
[1] ;
8680 if (!args
) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8686 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_From_int(static_cast< int >(result
));
8700 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8703 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8704 return SWIG_Py_Void();
8707 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8708 return SWIG_Python_InitShadowInstance(args
);
8711 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
= 0;
8713 wxWindow
*arg1
= (wxWindow
*) 0 ;
8714 int arg2
= (int) -1 ;
8715 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8716 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8718 wxStatusBar
*result
= 0 ;
8725 bool temp4
= false ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 PyObject
* obj3
= 0 ;
8730 char * kwnames
[] = {
8731 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8736 if (!SWIG_IsOK(res1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8739 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8742 if (!SWIG_IsOK(ecode2
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8745 arg2
= static_cast< int >(val2
);
8748 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8749 if (!SWIG_IsOK(ecode3
)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8752 arg3
= static_cast< long >(val3
);
8756 arg4
= wxString_in_helper(obj3
);
8757 if (arg4
== NULL
) SWIG_fail
;
8762 if (!wxPyCheckForApp()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8783 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8784 PyObject
*resultobj
= 0;
8785 wxStatusBar
*result
= 0 ;
8787 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8789 if (!wxPyCheckForApp()) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (wxStatusBar
*)new wxStatusBar();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8802 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
= 0;
8804 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8805 wxWindow
*arg2
= (wxWindow
*) 0 ;
8806 int arg3
= (int) -1 ;
8807 long arg4
= (long) wxST_SIZEGRIP
;
8808 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8809 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8819 bool temp5
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8834 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8842 if (!SWIG_IsOK(ecode3
)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8845 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8852 arg4
= static_cast< long >(val4
);
8856 arg5
= wxString_in_helper(obj4
);
8857 if (arg5
== NULL
) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8884 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
= 0;
8886 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8887 int arg2
= (int) 1 ;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "self",(char *) "number", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8900 if (!SWIG_IsOK(res1
)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8903 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8906 if (!SWIG_IsOK(ecode2
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8909 arg2
= static_cast< int >(val2
);
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 (arg1
)->SetFieldsCount(arg2
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= SWIG_Py_Void();
8924 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8925 PyObject
*resultobj
= 0;
8926 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8930 PyObject
*swig_obj
[1] ;
8932 if (!args
) SWIG_fail
;
8934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8935 if (!SWIG_IsOK(res1
)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8938 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= SWIG_From_int(static_cast< int >(result
));
8952 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
= 0;
8954 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8955 wxString
*arg2
= 0 ;
8956 int arg3
= (int) 0 ;
8959 bool temp2
= false ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8964 PyObject
* obj2
= 0 ;
8965 char * kwnames
[] = {
8966 (char *) "self",(char *) "text",(char *) "number", NULL
8969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8971 if (!SWIG_IsOK(res1
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8974 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8976 arg2
= wxString_in_helper(obj1
);
8977 if (arg2
== NULL
) SWIG_fail
;
8981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8982 if (!SWIG_IsOK(ecode3
)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8985 arg3
= static_cast< int >(val3
);
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_Py_Void();
9008 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
= 0;
9010 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9011 int arg2
= (int) 0 ;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "self",(char *) "number", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9025 if (!SWIG_IsOK(res1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9028 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9031 if (!SWIG_IsOK(ecode2
)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9034 arg2
= static_cast< int >(val2
);
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9055 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
= 0;
9057 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9058 wxString
*arg2
= 0 ;
9059 int arg3
= (int) 0 ;
9062 bool temp2
= false ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 PyObject
* obj2
= 0 ;
9068 char * kwnames
[] = {
9069 (char *) "self",(char *) "text",(char *) "number", NULL
9072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9074 if (!SWIG_IsOK(res1
)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9077 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9079 arg2
= wxString_in_helper(obj1
);
9080 if (arg2
== NULL
) SWIG_fail
;
9084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9085 if (!SWIG_IsOK(ecode3
)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9088 arg3
= static_cast< int >(val3
);
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= SWIG_Py_Void();
9111 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
= 0;
9113 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9114 int arg2
= (int) 0 ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 char * kwnames
[] = {
9122 (char *) "self",(char *) "number", NULL
9125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9127 if (!SWIG_IsOK(res1
)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9130 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9133 if (!SWIG_IsOK(ecode2
)) {
9134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9136 arg2
= static_cast< int >(val2
);
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 (arg1
)->PopStatusText(arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_Py_Void();
9151 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= 0;
9153 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9155 int *arg3
= (int *) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 char * kwnames
[] = {
9161 (char *) "self",(char *) "widths", NULL
9164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9169 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9171 arg2
= PyList_Size(obj1
);
9172 arg3
= int_LIST_helper(obj1
);
9173 if (arg3
== NULL
) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_Py_Void();
9183 if (arg3
) delete [] arg3
;
9188 if (arg3
) delete [] arg3
;
9194 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= 0;
9196 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9198 int *arg3
= (int *) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "self",(char *) "styles", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9212 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9214 arg2
= PyList_Size(obj1
);
9215 arg3
= int_LIST_helper(obj1
);
9216 if (arg3
== NULL
) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_Py_Void();
9226 if (arg3
) delete [] arg3
;
9231 if (arg3
) delete [] arg3
;
9237 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
= 0;
9239 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 char * kwnames
[] = {
9249 (char *) "self",(char *) "i", NULL
9252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9257 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9259 if (!SWIG_IsOK(ecode2
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9262 arg2
= static_cast< int >(val2
);
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9276 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
= 0;
9278 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 char * kwnames
[] = {
9287 (char *) "self",(char *) "height", NULL
9290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9292 if (!SWIG_IsOK(res1
)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9295 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9297 if (!SWIG_IsOK(ecode2
)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9300 arg2
= static_cast< int >(val2
);
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 (arg1
)->SetMinHeight(arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_Py_Void();
9314 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9315 PyObject
*resultobj
= 0;
9316 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9320 PyObject
*swig_obj
[1] ;
9322 if (!args
) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9328 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_From_int(static_cast< int >(result
));
9342 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9343 PyObject
*resultobj
= 0;
9344 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9348 PyObject
*swig_obj
[1] ;
9350 if (!args
) SWIG_fail
;
9352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9353 if (!SWIG_IsOK(res1
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9356 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_From_int(static_cast< int >(result
));
9370 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
= 0;
9372 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9373 SwigValueWrapper
<wxVisualAttributes
> result
;
9376 PyObject
* obj0
= 0 ;
9377 char * kwnames
[] = {
9378 (char *) "variant", NULL
9381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9384 if (!SWIG_IsOK(ecode1
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9387 arg1
= static_cast< wxWindowVariant
>(val1
);
9390 if (!wxPyCheckForApp()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9403 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9406 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9407 return SWIG_Py_Void();
9410 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9411 return SWIG_Python_InitShadowInstance(args
);
9414 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9415 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9420 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9421 PyObject
*pyobj
= 0;
9425 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9427 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9434 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= 0;
9436 wxWindow
*arg1
= (wxWindow
*) 0 ;
9437 int arg2
= (int) -1 ;
9438 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9439 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9440 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9441 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9442 long arg5
= (long) wxSP_3D
;
9443 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9444 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9445 wxSplitterWindow
*result
= 0 ;
9454 bool temp6
= false ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 PyObject
* obj2
= 0 ;
9458 PyObject
* obj3
= 0 ;
9459 PyObject
* obj4
= 0 ;
9460 PyObject
* obj5
= 0 ;
9461 char * kwnames
[] = {
9462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9467 if (!SWIG_IsOK(res1
)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9473 if (!SWIG_IsOK(ecode2
)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9476 arg2
= static_cast< int >(val2
);
9481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9491 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9492 if (!SWIG_IsOK(ecode5
)) {
9493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9495 arg5
= static_cast< long >(val5
);
9499 arg6
= wxString_in_helper(obj5
);
9500 if (arg6
== NULL
) SWIG_fail
;
9505 if (!wxPyCheckForApp()) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9526 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9527 PyObject
*resultobj
= 0;
9528 wxSplitterWindow
*result
= 0 ;
9530 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9532 if (!wxPyCheckForApp()) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9545 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
= 0;
9547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9548 wxWindow
*arg2
= (wxWindow
*) 0 ;
9549 int arg3
= (int) -1 ;
9550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9554 long arg6
= (long) wxSP_3D
;
9555 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9568 bool temp7
= false ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9572 PyObject
* obj3
= 0 ;
9573 PyObject
* obj4
= 0 ;
9574 PyObject
* obj5
= 0 ;
9575 PyObject
* obj6
= 0 ;
9576 char * kwnames
[] = {
9577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9582 if (!SWIG_IsOK(res1
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9585 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9587 if (!SWIG_IsOK(res2
)) {
9588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9593 if (!SWIG_IsOK(ecode3
)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9596 arg3
= static_cast< int >(val3
);
9601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9611 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9612 if (!SWIG_IsOK(ecode6
)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9615 arg6
= static_cast< long >(val6
);
9619 arg7
= wxString_in_helper(obj6
);
9620 if (arg7
== NULL
) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9647 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9648 PyObject
*resultobj
= 0;
9649 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9650 wxWindow
*result
= 0 ;
9653 PyObject
*swig_obj
[1] ;
9655 if (!args
) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9661 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= wxPyMake_wxObject(result
, 0);
9677 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 PyObject
*resultobj
= 0;
9679 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9680 wxWindow
*result
= 0 ;
9683 PyObject
*swig_obj
[1] ;
9685 if (!args
) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9691 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= wxPyMake_wxObject(result
, 0);
9707 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "mode", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9726 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9728 if (!SWIG_IsOK(ecode2
)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9731 arg2
= static_cast< int >(val2
);
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->SetSplitMode(arg2
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_Py_Void();
9745 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9746 PyObject
*resultobj
= 0;
9747 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9751 PyObject
*swig_obj
[1] ;
9753 if (!args
) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9759 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_From_int(static_cast< int >(result
));
9773 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
= 0;
9775 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9776 wxWindow
*arg2
= (wxWindow
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 char * kwnames
[] = {
9784 (char *) "self",(char *) "window", NULL
9787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9792 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9794 if (!SWIG_IsOK(res2
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9797 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 (arg1
)->Initialize(arg2
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_Py_Void();
9811 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
= 0;
9813 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9814 wxWindow
*arg2
= (wxWindow
*) 0 ;
9815 wxWindow
*arg3
= (wxWindow
*) 0 ;
9816 int arg4
= (int) 0 ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9829 PyObject
* obj3
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9839 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9841 if (!SWIG_IsOK(res2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9844 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9845 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9846 if (!SWIG_IsOK(res3
)) {
9847 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9849 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9852 if (!SWIG_IsOK(ecode4
)) {
9853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9855 arg4
= static_cast< int >(val4
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9872 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9874 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9875 wxWindow
*arg2
= (wxWindow
*) 0 ;
9876 wxWindow
*arg3
= (wxWindow
*) 0 ;
9877 int arg4
= (int) 0 ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9891 char * kwnames
[] = {
9892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9897 if (!SWIG_IsOK(res1
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9900 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9902 if (!SWIG_IsOK(res2
)) {
9903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9906 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9907 if (!SWIG_IsOK(res3
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9910 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9913 if (!SWIG_IsOK(ecode4
)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9916 arg4
= static_cast< int >(val4
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9933 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9936 wxWindow
*arg2
= (wxWindow
*) NULL
;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "self",(char *) "toRemove", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9950 if (!SWIG_IsOK(res1
)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9953 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9956 if (!SWIG_IsOK(res2
)) {
9957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (bool)(arg1
)->Unsplit(arg2
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9976 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
= 0;
9978 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9979 wxWindow
*arg2
= (wxWindow
*) 0 ;
9980 wxWindow
*arg3
= (wxWindow
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9990 PyObject
* obj2
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9997 if (!SWIG_IsOK(res1
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10000 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10002 if (!SWIG_IsOK(res2
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10005 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10006 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10007 if (!SWIG_IsOK(res3
)) {
10008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10010 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10027 PyObject
*resultobj
= 0;
10028 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10031 PyObject
*swig_obj
[1] ;
10033 if (!args
) SWIG_fail
;
10034 swig_obj
[0] = args
;
10035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10036 if (!SWIG_IsOK(res1
)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10039 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 (arg1
)->UpdateSize();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_Py_Void();
10053 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10054 PyObject
*resultobj
= 0;
10055 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10059 PyObject
*swig_obj
[1] ;
10061 if (!args
) SWIG_fail
;
10062 swig_obj
[0] = args
;
10063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10064 if (!SWIG_IsOK(res1
)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10067 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10083 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
= 0;
10085 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char * kwnames
[] = {
10094 (char *) "self",(char *) "width", NULL
10097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10099 if (!SWIG_IsOK(res1
)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10104 if (!SWIG_IsOK(ecode2
)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10107 arg2
= static_cast< int >(val2
);
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 (arg1
)->SetSashSize(arg2
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_Py_Void();
10121 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
= 0;
10123 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 char * kwnames
[] = {
10132 (char *) "self",(char *) "width", NULL
10135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10137 if (!SWIG_IsOK(res1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10140 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10142 if (!SWIG_IsOK(ecode2
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10145 arg2
= static_cast< int >(val2
);
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 (arg1
)->SetBorderSize(arg2
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_Py_Void();
10159 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 PyObject
*resultobj
= 0;
10161 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10165 PyObject
*swig_obj
[1] ;
10167 if (!args
) SWIG_fail
;
10168 swig_obj
[0] = args
;
10169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10173 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_From_int(static_cast< int >(result
));
10187 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10188 PyObject
*resultobj
= 0;
10189 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10193 PyObject
*swig_obj
[1] ;
10195 if (!args
) SWIG_fail
;
10196 swig_obj
[0] = args
;
10197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10201 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_From_int(static_cast< int >(result
));
10215 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10219 bool arg3
= (bool) true ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "position",(char *) "redraw", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10240 if (!SWIG_IsOK(ecode2
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10243 arg2
= static_cast< int >(val2
);
10245 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10246 if (!SWIG_IsOK(ecode3
)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10249 arg3
= static_cast< bool >(val3
);
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 (arg1
)->SetSashPosition(arg2
,arg3
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_Py_Void();
10264 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10265 PyObject
*resultobj
= 0;
10266 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10270 PyObject
*swig_obj
[1] ;
10272 if (!args
) SWIG_fail
;
10273 swig_obj
[0] = args
;
10274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10275 if (!SWIG_IsOK(res1
)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10278 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_From_int(static_cast< int >(result
));
10292 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
= 0;
10294 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char * kwnames
[] = {
10303 (char *) "self",(char *) "gravity", NULL
10306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10308 if (!SWIG_IsOK(res1
)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10311 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10312 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10313 if (!SWIG_IsOK(ecode2
)) {
10314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10316 arg2
= static_cast< double >(val2
);
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 (arg1
)->SetSashGravity(arg2
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_Py_Void();
10330 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10331 PyObject
*resultobj
= 0;
10332 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10336 PyObject
*swig_obj
[1] ;
10338 if (!args
) SWIG_fail
;
10339 swig_obj
[0] = args
;
10340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10341 if (!SWIG_IsOK(res1
)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10344 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_From_double(static_cast< double >(result
));
10358 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= 0;
10360 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char * kwnames
[] = {
10369 (char *) "self",(char *) "min", NULL
10372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10374 if (!SWIG_IsOK(res1
)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10377 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10379 if (!SWIG_IsOK(ecode2
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10382 arg2
= static_cast< int >(val2
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->SetMinimumPaneSize(arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_Py_Void();
10396 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 PyObject
*resultobj
= 0;
10398 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10402 PyObject
*swig_obj
[1] ;
10404 if (!args
) SWIG_fail
;
10405 swig_obj
[0] = args
;
10406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10407 if (!SWIG_IsOK(res1
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10410 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_int(static_cast< int >(result
));
10424 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10429 int arg4
= (int) 5 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 PyObject
* obj3
= 0 ;
10443 char * kwnames
[] = {
10444 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10452 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10454 if (!SWIG_IsOK(ecode2
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10457 arg2
= static_cast< int >(val2
);
10458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10459 if (!SWIG_IsOK(ecode3
)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10462 arg3
= static_cast< int >(val3
);
10464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10465 if (!SWIG_IsOK(ecode4
)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10468 arg4
= static_cast< int >(val4
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10485 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10490 PyObject
*swig_obj
[1] ;
10492 if (!args
) SWIG_fail
;
10493 swig_obj
[0] = args
;
10494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10498 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->SizeWindows();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_Py_Void();
10512 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
= 0;
10514 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 char * kwnames
[] = {
10523 (char *) "self",(char *) "needUpdating", NULL
10526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10531 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10532 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10533 if (!SWIG_IsOK(ecode2
)) {
10534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10536 arg2
= static_cast< bool >(val2
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 (arg1
)->SetNeedUpdating(arg2
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_Py_Void();
10550 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 PyObject
*resultobj
= 0;
10552 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10556 PyObject
*swig_obj
[1] ;
10558 if (!args
) SWIG_fail
;
10559 swig_obj
[0] = args
;
10560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10564 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10580 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
= 0;
10582 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10583 SwigValueWrapper
<wxVisualAttributes
> result
;
10586 PyObject
* obj0
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "variant", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10594 if (!SWIG_IsOK(ecode1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10597 arg1
= static_cast< wxWindowVariant
>(val1
);
10600 if (!wxPyCheckForApp()) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10613 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10616 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10617 return SWIG_Py_Void();
10620 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10621 return SWIG_Python_InitShadowInstance(args
);
10624 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= 0;
10626 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10627 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10628 wxSplitterEvent
*result
= 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char * kwnames
[] = {
10636 (char *) "type",(char *) "splitter", NULL
10639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10642 if (!SWIG_IsOK(ecode1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10645 arg1
= static_cast< wxEventType
>(val1
);
10648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10649 if (!SWIG_IsOK(res2
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10652 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10667 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "pos", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10686 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10688 if (!SWIG_IsOK(ecode2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10691 arg2
= static_cast< int >(val2
);
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 (arg1
)->SetSashPosition(arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_Py_Void();
10705 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10706 PyObject
*resultobj
= 0;
10707 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10711 PyObject
*swig_obj
[1] ;
10713 if (!args
) SWIG_fail
;
10714 swig_obj
[0] = args
;
10715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10719 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_From_int(static_cast< int >(result
));
10733 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10734 PyObject
*resultobj
= 0;
10735 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10736 wxWindow
*result
= 0 ;
10739 PyObject
*swig_obj
[1] ;
10741 if (!args
) SWIG_fail
;
10742 swig_obj
[0] = args
;
10743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10747 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= wxPyMake_wxObject(result
, 0);
10763 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10764 PyObject
*resultobj
= 0;
10765 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10769 PyObject
*swig_obj
[1] ;
10771 if (!args
) SWIG_fail
;
10772 swig_obj
[0] = args
;
10773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10774 if (!SWIG_IsOK(res1
)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10777 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_From_int(static_cast< int >(result
));
10791 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10792 PyObject
*resultobj
= 0;
10793 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10797 PyObject
*swig_obj
[1] ;
10799 if (!args
) SWIG_fail
;
10800 swig_obj
[0] = args
;
10801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10802 if (!SWIG_IsOK(res1
)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10805 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_From_int(static_cast< int >(result
));
10819 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10822 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10823 return SWIG_Py_Void();
10826 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10827 return SWIG_Python_InitShadowInstance(args
);
10830 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10831 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10836 SWIGINTERN PyObject
*SashNameStr_get(void) {
10837 PyObject
*pyobj
= 0;
10841 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10843 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10850 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10851 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10856 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10857 PyObject
*pyobj
= 0;
10861 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10863 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10870 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
= 0;
10872 wxWindow
*arg1
= (wxWindow
*) 0 ;
10873 int arg2
= (int) -1 ;
10874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10878 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10879 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10881 wxSashWindow
*result
= 0 ;
10890 bool temp6
= false ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 PyObject
* obj2
= 0 ;
10894 PyObject
* obj3
= 0 ;
10895 PyObject
* obj4
= 0 ;
10896 PyObject
* obj5
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10906 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10909 if (!SWIG_IsOK(ecode2
)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10912 arg2
= static_cast< int >(val2
);
10917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10923 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10927 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10928 if (!SWIG_IsOK(ecode5
)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10931 arg5
= static_cast< long >(val5
);
10935 arg6
= wxString_in_helper(obj5
);
10936 if (arg6
== NULL
) SWIG_fail
;
10941 if (!wxPyCheckForApp()) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10962 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxSashWindow
*result
= 0 ;
10966 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10968 if (!wxPyCheckForApp()) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (wxSashWindow
*)new wxSashWindow();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10981 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
= 0;
10983 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10984 wxWindow
*arg2
= (wxWindow
*) 0 ;
10985 int arg3
= (int) -1 ;
10986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10990 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10991 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11004 bool temp7
= false ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 PyObject
* obj2
= 0 ;
11008 PyObject
* obj3
= 0 ;
11009 PyObject
* obj4
= 0 ;
11010 PyObject
* obj5
= 0 ;
11011 PyObject
* obj6
= 0 ;
11012 char * kwnames
[] = {
11013 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11018 if (!SWIG_IsOK(res1
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11021 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11023 if (!SWIG_IsOK(res2
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11029 if (!SWIG_IsOK(ecode3
)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11032 arg3
= static_cast< int >(val3
);
11037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11047 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11048 if (!SWIG_IsOK(ecode6
)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11051 arg6
= static_cast< long >(val6
);
11055 arg7
= wxString_in_helper(obj6
);
11056 if (arg7
== NULL
) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
= 0;
11085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11086 wxSashEdgePosition arg2
;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 char * kwnames
[] = {
11098 (char *) "self",(char *) "edge",(char *) "sash", NULL
11101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11103 if (!SWIG_IsOK(res1
)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11106 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11108 if (!SWIG_IsOK(ecode2
)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11111 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11112 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11113 if (!SWIG_IsOK(ecode3
)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11116 arg3
= static_cast< bool >(val3
);
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 (arg1
)->SetSashVisible(arg2
,arg3
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_Py_Void();
11130 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11133 wxSashEdgePosition arg2
;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "edge", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11150 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11152 if (!SWIG_IsOK(ecode2
)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11155 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= 0;
11173 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11174 wxSashEdgePosition arg2
;
11182 PyObject
* obj0
= 0 ;
11183 PyObject
* obj1
= 0 ;
11184 PyObject
* obj2
= 0 ;
11185 char * kwnames
[] = {
11186 (char *) "self",(char *) "edge",(char *) "border", NULL
11189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11191 if (!SWIG_IsOK(res1
)) {
11192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11194 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11196 if (!SWIG_IsOK(ecode2
)) {
11197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11199 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11200 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11201 if (!SWIG_IsOK(ecode3
)) {
11202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11204 arg3
= static_cast< bool >(val3
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->SetSashBorder(arg2
,arg3
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_Py_Void();
11218 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
= 0;
11220 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11221 wxSashEdgePosition arg2
;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 char * kwnames
[] = {
11230 (char *) "self",(char *) "edge", NULL
11233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11238 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11240 if (!SWIG_IsOK(ecode2
)) {
11241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11243 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11259 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= 0;
11261 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11262 wxSashEdgePosition arg2
;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char * kwnames
[] = {
11271 (char *) "self",(char *) "edge", NULL
11274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11276 if (!SWIG_IsOK(res1
)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11279 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11281 if (!SWIG_IsOK(ecode2
)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11284 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_From_int(static_cast< int >(result
));
11298 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
= 0;
11300 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 char * kwnames
[] = {
11309 (char *) "self",(char *) "width", NULL
11312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11317 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11319 if (!SWIG_IsOK(ecode2
)) {
11320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11322 arg2
= static_cast< int >(val2
);
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->SetDefaultBorderSize(arg2
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_Py_Void();
11336 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11337 PyObject
*resultobj
= 0;
11338 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11342 PyObject
*swig_obj
[1] ;
11344 if (!args
) SWIG_fail
;
11345 swig_obj
[0] = args
;
11346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11347 if (!SWIG_IsOK(res1
)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11350 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= SWIG_From_int(static_cast< int >(result
));
11364 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11366 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 char * kwnames
[] = {
11375 (char *) "self",(char *) "width", NULL
11378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11383 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11385 if (!SWIG_IsOK(ecode2
)) {
11386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11388 arg2
= static_cast< int >(val2
);
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 (arg1
)->SetExtraBorderSize(arg2
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= SWIG_Py_Void();
11402 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11403 PyObject
*resultobj
= 0;
11404 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11408 PyObject
*swig_obj
[1] ;
11410 if (!args
) SWIG_fail
;
11411 swig_obj
[0] = args
;
11412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11416 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_From_int(static_cast< int >(result
));
11430 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
= 0;
11432 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 char * kwnames
[] = {
11441 (char *) "self",(char *) "min", NULL
11444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11449 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11451 if (!SWIG_IsOK(ecode2
)) {
11452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11454 arg2
= static_cast< int >(val2
);
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 (arg1
)->SetMinimumSizeX(arg2
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_Py_Void();
11468 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
= 0;
11470 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 char * kwnames
[] = {
11479 (char *) "self",(char *) "min", NULL
11482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11487 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11489 if (!SWIG_IsOK(ecode2
)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11492 arg2
= static_cast< int >(val2
);
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 (arg1
)->SetMinimumSizeY(arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_Py_Void();
11506 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11507 PyObject
*resultobj
= 0;
11508 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11512 PyObject
*swig_obj
[1] ;
11514 if (!args
) SWIG_fail
;
11515 swig_obj
[0] = args
;
11516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11517 if (!SWIG_IsOK(res1
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11520 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_From_int(static_cast< int >(result
));
11534 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11535 PyObject
*resultobj
= 0;
11536 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11540 PyObject
*swig_obj
[1] ;
11542 if (!args
) SWIG_fail
;
11543 swig_obj
[0] = args
;
11544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11548 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_From_int(static_cast< int >(result
));
11562 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
= 0;
11564 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 char * kwnames
[] = {
11573 (char *) "self",(char *) "max", NULL
11576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11578 if (!SWIG_IsOK(res1
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11581 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11583 if (!SWIG_IsOK(ecode2
)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11586 arg2
= static_cast< int >(val2
);
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->SetMaximumSizeX(arg2
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_Py_Void();
11600 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
= 0;
11602 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 char * kwnames
[] = {
11611 (char *) "self",(char *) "max", NULL
11614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11616 if (!SWIG_IsOK(res1
)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11619 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11621 if (!SWIG_IsOK(ecode2
)) {
11622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11624 arg2
= static_cast< int >(val2
);
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 (arg1
)->SetMaximumSizeY(arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_Py_Void();
11638 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11639 PyObject
*resultobj
= 0;
11640 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11644 PyObject
*swig_obj
[1] ;
11646 if (!args
) SWIG_fail
;
11647 swig_obj
[0] = args
;
11648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11652 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_From_int(static_cast< int >(result
));
11666 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 PyObject
*resultobj
= 0;
11668 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11672 PyObject
*swig_obj
[1] ;
11674 if (!args
) SWIG_fail
;
11675 swig_obj
[0] = args
;
11676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11680 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_From_int(static_cast< int >(result
));
11694 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
= 0;
11696 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11699 int arg4
= (int) 2 ;
11700 wxSashEdgePosition result
;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 PyObject
* obj2
= 0 ;
11712 PyObject
* obj3
= 0 ;
11713 char * kwnames
[] = {
11714 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11722 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11724 if (!SWIG_IsOK(ecode2
)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11727 arg2
= static_cast< int >(val2
);
11728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11729 if (!SWIG_IsOK(ecode3
)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11732 arg3
= static_cast< int >(val3
);
11734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11735 if (!SWIG_IsOK(ecode4
)) {
11736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11738 arg4
= static_cast< int >(val4
);
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_From_int(static_cast< int >(result
));
11753 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11754 PyObject
*resultobj
= 0;
11755 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11758 PyObject
*swig_obj
[1] ;
11760 if (!args
) SWIG_fail
;
11761 swig_obj
[0] = args
;
11762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11766 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 (arg1
)->SizeWindows();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_Py_Void();
11780 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11783 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11784 return SWIG_Py_Void();
11787 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11788 return SWIG_Python_InitShadowInstance(args
);
11791 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
= 0;
11793 int arg1
= (int) 0 ;
11794 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11795 wxSashEvent
*result
= 0 ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 char * kwnames
[] = {
11803 (char *) "id",(char *) "edge", NULL
11806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11808 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11809 if (!SWIG_IsOK(ecode1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11812 arg1
= static_cast< int >(val1
);
11815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11816 if (!SWIG_IsOK(ecode2
)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11819 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11834 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
= 0;
11836 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11837 wxSashEdgePosition arg2
;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 char * kwnames
[] = {
11845 (char *) "self",(char *) "edge", NULL
11848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11850 if (!SWIG_IsOK(res1
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11853 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11855 if (!SWIG_IsOK(ecode2
)) {
11856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11858 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->SetEdge(arg2
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= SWIG_Py_Void();
11872 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11873 PyObject
*resultobj
= 0;
11874 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11875 wxSashEdgePosition result
;
11878 PyObject
*swig_obj
[1] ;
11880 if (!args
) SWIG_fail
;
11881 swig_obj
[0] = args
;
11882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11886 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_From_int(static_cast< int >(result
));
11900 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
= 0;
11902 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char * kwnames
[] = {
11910 (char *) "self",(char *) "rect", NULL
11913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11915 if (!SWIG_IsOK(res1
)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11918 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_Py_Void();
11936 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11937 PyObject
*resultobj
= 0;
11938 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11942 PyObject
*swig_obj
[1] ;
11944 if (!args
) SWIG_fail
;
11945 swig_obj
[0] = args
;
11946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11947 if (!SWIG_IsOK(res1
)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11950 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11964 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
= 0;
11966 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11967 wxSashDragStatus arg2
;
11972 PyObject
* obj0
= 0 ;
11973 PyObject
* obj1
= 0 ;
11974 char * kwnames
[] = {
11975 (char *) "self",(char *) "status", NULL
11978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11980 if (!SWIG_IsOK(res1
)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11983 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11985 if (!SWIG_IsOK(ecode2
)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11988 arg2
= static_cast< wxSashDragStatus
>(val2
);
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 (arg1
)->SetDragStatus(arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_Py_Void();
12002 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12005 wxSashDragStatus result
;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12016 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12033 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12034 return SWIG_Py_Void();
12037 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12038 return SWIG_Python_InitShadowInstance(args
);
12041 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= 0;
12043 int arg1
= (int) 0 ;
12044 wxQueryLayoutInfoEvent
*result
= 0 ;
12047 PyObject
* obj0
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "id", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12054 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12055 if (!SWIG_IsOK(ecode1
)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12058 arg1
= static_cast< int >(val1
);
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12073 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
= 0;
12075 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 PyObject
* obj1
= 0 ;
12083 char * kwnames
[] = {
12084 (char *) "self",(char *) "length", NULL
12087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12089 if (!SWIG_IsOK(res1
)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12092 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12094 if (!SWIG_IsOK(ecode2
)) {
12095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12097 arg2
= static_cast< int >(val2
);
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 (arg1
)->SetRequestedLength(arg2
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= SWIG_Py_Void();
12111 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12112 PyObject
*resultobj
= 0;
12113 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12117 PyObject
*swig_obj
[1] ;
12119 if (!args
) SWIG_fail
;
12120 swig_obj
[0] = args
;
12121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12122 if (!SWIG_IsOK(res1
)) {
12123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12125 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= SWIG_From_int(static_cast< int >(result
));
12139 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
= 0;
12141 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char * kwnames
[] = {
12150 (char *) "self",(char *) "flags", NULL
12153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12155 if (!SWIG_IsOK(res1
)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12158 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12160 if (!SWIG_IsOK(ecode2
)) {
12161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12163 arg2
= static_cast< int >(val2
);
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 (arg1
)->SetFlags(arg2
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_Py_Void();
12177 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12178 PyObject
*resultobj
= 0;
12179 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12183 PyObject
*swig_obj
[1] ;
12185 if (!args
) SWIG_fail
;
12186 swig_obj
[0] = args
;
12187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12188 if (!SWIG_IsOK(res1
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12191 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_From_int(static_cast< int >(result
));
12205 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
= 0;
12207 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 char * kwnames
[] = {
12215 (char *) "self",(char *) "size", NULL
12218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12223 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12226 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 (arg1
)->SetSize((wxSize
const &)*arg2
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_Py_Void();
12241 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12242 PyObject
*resultobj
= 0;
12243 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12247 PyObject
*swig_obj
[1] ;
12249 if (!args
) SWIG_fail
;
12250 swig_obj
[0] = args
;
12251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12255 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12269 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
= 0;
12271 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12272 wxLayoutOrientation arg2
;
12277 PyObject
* obj0
= 0 ;
12278 PyObject
* obj1
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "self",(char *) "orient", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12288 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12290 if (!SWIG_IsOK(ecode2
)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12293 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 (arg1
)->SetOrientation(arg2
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_Py_Void();
12307 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12310 wxLayoutOrientation result
;
12313 PyObject
*swig_obj
[1] ;
12315 if (!args
) SWIG_fail
;
12316 swig_obj
[0] = args
;
12317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12318 if (!SWIG_IsOK(res1
)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12321 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_From_int(static_cast< int >(result
));
12335 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
= 0;
12337 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12338 wxLayoutAlignment arg2
;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 char * kwnames
[] = {
12346 (char *) "self",(char *) "align", NULL
12349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12351 if (!SWIG_IsOK(res1
)) {
12352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12354 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12356 if (!SWIG_IsOK(ecode2
)) {
12357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12359 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->SetAlignment(arg2
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_Py_Void();
12373 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12374 PyObject
*resultobj
= 0;
12375 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12376 wxLayoutAlignment result
;
12379 PyObject
*swig_obj
[1] ;
12381 if (!args
) SWIG_fail
;
12382 swig_obj
[0] = args
;
12383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12387 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= SWIG_From_int(static_cast< int >(result
));
12401 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12404 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12405 return SWIG_Py_Void();
12408 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12409 return SWIG_Python_InitShadowInstance(args
);
12412 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= 0;
12414 int arg1
= (int) 0 ;
12415 wxCalculateLayoutEvent
*result
= 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char * kwnames
[] = {
12420 (char *) "id", NULL
12423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12426 if (!SWIG_IsOK(ecode1
)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12429 arg1
= static_cast< int >(val1
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12444 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "flags", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12463 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12465 if (!SWIG_IsOK(ecode2
)) {
12466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12468 arg2
= static_cast< int >(val2
);
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 (arg1
)->SetFlags(arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_Py_Void();
12482 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12483 PyObject
*resultobj
= 0;
12484 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12488 PyObject
*swig_obj
[1] ;
12490 if (!args
) SWIG_fail
;
12491 swig_obj
[0] = args
;
12492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12493 if (!SWIG_IsOK(res1
)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12496 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_From_int(static_cast< int >(result
));
12510 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
= 0;
12512 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 PyObject
* obj1
= 0 ;
12519 char * kwnames
[] = {
12520 (char *) "self",(char *) "rect", NULL
12523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12528 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12531 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 (arg1
)->SetRect((wxRect
const &)*arg2
);
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_Py_Void();
12546 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12547 PyObject
*resultobj
= 0;
12548 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12552 PyObject
*swig_obj
[1] ;
12554 if (!args
) SWIG_fail
;
12555 swig_obj
[0] = args
;
12556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12557 if (!SWIG_IsOK(res1
)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12560 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12574 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12577 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12578 return SWIG_Py_Void();
12581 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12582 return SWIG_Python_InitShadowInstance(args
);
12585 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
= 0;
12587 wxWindow
*arg1
= (wxWindow
*) 0 ;
12588 int arg2
= (int) -1 ;
12589 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12590 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12591 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12592 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12593 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12594 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12595 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12596 wxSashLayoutWindow
*result
= 0 ;
12605 bool temp6
= false ;
12606 PyObject
* obj0
= 0 ;
12607 PyObject
* obj1
= 0 ;
12608 PyObject
* obj2
= 0 ;
12609 PyObject
* obj3
= 0 ;
12610 PyObject
* obj4
= 0 ;
12611 PyObject
* obj5
= 0 ;
12612 char * kwnames
[] = {
12613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12624 if (!SWIG_IsOK(ecode2
)) {
12625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12627 arg2
= static_cast< int >(val2
);
12632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12642 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12643 if (!SWIG_IsOK(ecode5
)) {
12644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12646 arg5
= static_cast< long >(val5
);
12650 arg6
= wxString_in_helper(obj5
);
12651 if (arg6
== NULL
) SWIG_fail
;
12656 if (!wxPyCheckForApp()) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12677 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12678 PyObject
*resultobj
= 0;
12679 wxSashLayoutWindow
*result
= 0 ;
12681 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12683 if (!wxPyCheckForApp()) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12696 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
= 0;
12698 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12699 wxWindow
*arg2
= (wxWindow
*) 0 ;
12700 int arg3
= (int) -1 ;
12701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12705 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12706 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12719 bool temp7
= false ;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 PyObject
* obj2
= 0 ;
12723 PyObject
* obj3
= 0 ;
12724 PyObject
* obj4
= 0 ;
12725 PyObject
* obj5
= 0 ;
12726 PyObject
* obj6
= 0 ;
12727 char * kwnames
[] = {
12728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12733 if (!SWIG_IsOK(res1
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12736 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12738 if (!SWIG_IsOK(res2
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12741 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12744 if (!SWIG_IsOK(ecode3
)) {
12745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12747 arg3
= static_cast< int >(val3
);
12752 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12758 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12762 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12763 if (!SWIG_IsOK(ecode6
)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12766 arg6
= static_cast< long >(val6
);
12770 arg7
= wxString_in_helper(obj6
);
12771 if (arg7
== NULL
) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12798 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12799 PyObject
*resultobj
= 0;
12800 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12801 wxLayoutAlignment result
;
12804 PyObject
*swig_obj
[1] ;
12806 if (!args
) SWIG_fail
;
12807 swig_obj
[0] = args
;
12808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12809 if (!SWIG_IsOK(res1
)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12812 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_From_int(static_cast< int >(result
));
12826 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 PyObject
*resultobj
= 0;
12828 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12829 wxLayoutOrientation result
;
12832 PyObject
*swig_obj
[1] ;
12834 if (!args
) SWIG_fail
;
12835 swig_obj
[0] = args
;
12836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12837 if (!SWIG_IsOK(res1
)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12840 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_From_int(static_cast< int >(result
));
12854 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
= 0;
12856 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12857 wxLayoutAlignment arg2
;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 char * kwnames
[] = {
12865 (char *) "self",(char *) "alignment", NULL
12868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12870 if (!SWIG_IsOK(res1
)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12873 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12875 if (!SWIG_IsOK(ecode2
)) {
12876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12878 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 (arg1
)->SetAlignment(arg2
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= SWIG_Py_Void();
12892 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
= 0;
12894 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12899 PyObject
* obj0
= 0 ;
12900 PyObject
* obj1
= 0 ;
12901 char * kwnames
[] = {
12902 (char *) "self",(char *) "size", NULL
12905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12907 if (!SWIG_IsOK(res1
)) {
12908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12910 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12913 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= SWIG_Py_Void();
12928 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
= 0;
12930 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12931 wxLayoutOrientation arg2
;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 char * kwnames
[] = {
12939 (char *) "self",(char *) "orientation", NULL
12942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12944 if (!SWIG_IsOK(res1
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12947 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12949 if (!SWIG_IsOK(ecode2
)) {
12950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12952 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 (arg1
)->SetOrientation(arg2
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= SWIG_Py_Void();
12966 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12969 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12970 return SWIG_Py_Void();
12973 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 return SWIG_Python_InitShadowInstance(args
);
12977 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12978 PyObject
*resultobj
= 0;
12979 wxLayoutAlgorithm
*result
= 0 ;
12981 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12995 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12996 PyObject
*resultobj
= 0;
12997 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13000 PyObject
*swig_obj
[1] ;
13002 if (!args
) SWIG_fail
;
13003 swig_obj
[0] = args
;
13004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13008 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_Py_Void();
13023 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
= 0;
13025 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13026 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13027 wxRect
*arg3
= (wxRect
*) NULL
;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 PyObject
* obj2
= 0 ;
13038 char * kwnames
[] = {
13039 (char *) "self",(char *) "frame",(char *) "rect", NULL
13042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13044 if (!SWIG_IsOK(res1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13047 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13048 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13049 if (!SWIG_IsOK(res2
)) {
13050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13052 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13054 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13055 if (!SWIG_IsOK(res3
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13058 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13075 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13078 wxFrame
*arg2
= (wxFrame
*) 0 ;
13079 wxWindow
*arg3
= (wxWindow
*) NULL
;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 PyObject
* obj2
= 0 ;
13090 char * kwnames
[] = {
13091 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13096 if (!SWIG_IsOK(res1
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13099 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13101 if (!SWIG_IsOK(res2
)) {
13102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13104 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13106 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13107 if (!SWIG_IsOK(res3
)) {
13108 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13110 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13127 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13130 wxWindow
*arg2
= (wxWindow
*) 0 ;
13131 wxWindow
*arg3
= (wxWindow
*) NULL
;
13139 PyObject
* obj0
= 0 ;
13140 PyObject
* obj1
= 0 ;
13141 PyObject
* obj2
= 0 ;
13142 char * kwnames
[] = {
13143 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13148 if (!SWIG_IsOK(res1
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13151 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13153 if (!SWIG_IsOK(res2
)) {
13154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13156 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13158 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13159 if (!SWIG_IsOK(res3
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13162 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13179 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13182 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13183 return SWIG_Py_Void();
13186 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13187 return SWIG_Python_InitShadowInstance(args
);
13190 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
= 0;
13192 wxWindow
*arg1
= (wxWindow
*) 0 ;
13193 int arg2
= (int) wxBORDER_NONE
;
13194 wxPopupWindow
*result
= 0 ;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 char * kwnames
[] = {
13202 (char *) "parent",(char *) "flags", NULL
13205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13210 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13213 if (!SWIG_IsOK(ecode2
)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13216 arg2
= static_cast< int >(val2
);
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13231 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13232 PyObject
*resultobj
= 0;
13233 wxPopupWindow
*result
= 0 ;
13235 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (wxPopupWindow
*)new wxPopupWindow();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13249 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13252 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13253 return SWIG_Py_Void();
13256 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13257 return SWIG_Python_InitShadowInstance(args
);
13260 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
= 0;
13262 wxWindow
*arg1
= (wxWindow
*) 0 ;
13263 int arg2
= (int) wxBORDER_NONE
;
13264 wxPyPopupTransientWindow
*result
= 0 ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 char * kwnames
[] = {
13272 (char *) "parent",(char *) "style", NULL
13275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13277 if (!SWIG_IsOK(res1
)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13283 if (!SWIG_IsOK(ecode2
)) {
13284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13286 arg2
= static_cast< int >(val2
);
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13301 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13302 PyObject
*resultobj
= 0;
13303 wxPyPopupTransientWindow
*result
= 0 ;
13305 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13319 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13322 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13323 return SWIG_Py_Void();
13326 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13327 return SWIG_Python_InitShadowInstance(args
);
13330 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
= 0;
13332 wxWindow
*arg1
= (wxWindow
*) 0 ;
13333 wxString
*arg2
= 0 ;
13334 int arg3
= (int) 100 ;
13335 wxRect
*arg4
= (wxRect
*) NULL
;
13336 wxTipWindow
*result
= 0 ;
13339 bool temp2
= false ;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 PyObject
* obj2
= 0 ;
13347 PyObject
* obj3
= 0 ;
13348 char * kwnames
[] = {
13349 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13359 arg2
= wxString_in_helper(obj1
);
13360 if (arg2
== NULL
) SWIG_fail
;
13364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13365 if (!SWIG_IsOK(ecode3
)) {
13366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13368 arg3
= static_cast< int >(val3
);
13371 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13372 if (!SWIG_IsOK(res4
)) {
13373 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13375 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13378 if (!wxPyCheckForApp()) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13399 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
= 0;
13401 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char * kwnames
[] = {
13409 (char *) "self",(char *) "rectBound", NULL
13412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13417 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13420 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_Py_Void();
13435 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13436 PyObject
*resultobj
= 0;
13437 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13440 PyObject
*swig_obj
[1] ;
13442 if (!args
) SWIG_fail
;
13443 swig_obj
[0] = args
;
13444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13445 if (!SWIG_IsOK(res1
)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13448 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_Py_Void();
13462 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13465 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13466 return SWIG_Py_Void();
13469 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13470 return SWIG_Python_InitShadowInstance(args
);
13473 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
= 0;
13475 wxWindow
*arg1
= (wxWindow
*) 0 ;
13476 int arg2
= (int) wxID_ANY
;
13477 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13478 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13479 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13480 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13481 long arg5
= (long) 0 ;
13482 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13483 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13484 wxPyVScrolledWindow
*result
= 0 ;
13493 bool temp6
= false ;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 PyObject
* obj2
= 0 ;
13497 PyObject
* obj3
= 0 ;
13498 PyObject
* obj4
= 0 ;
13499 PyObject
* obj5
= 0 ;
13500 char * kwnames
[] = {
13501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13506 if (!SWIG_IsOK(res1
)) {
13507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13512 if (!SWIG_IsOK(ecode2
)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13515 arg2
= static_cast< int >(val2
);
13520 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13526 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13530 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13531 if (!SWIG_IsOK(ecode5
)) {
13532 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13534 arg5
= static_cast< long >(val5
);
13538 arg6
= wxString_in_helper(obj5
);
13539 if (arg6
== NULL
) SWIG_fail
;
13544 if (!wxPyCheckForApp()) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13565 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxPyVScrolledWindow
*result
= 0 ;
13569 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13571 if (!wxPyCheckForApp()) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13584 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
= 0;
13586 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13587 PyObject
*arg2
= (PyObject
*) 0 ;
13588 PyObject
*arg3
= (PyObject
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 PyObject
* obj2
= 0 ;
13594 char * kwnames
[] = {
13595 (char *) "self",(char *) "self",(char *) "_class", NULL
13598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13600 if (!SWIG_IsOK(res1
)) {
13601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13603 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_Py_Void();
13619 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
= 0;
13621 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13622 wxWindow
*arg2
= (wxWindow
*) 0 ;
13623 int arg3
= (int) wxID_ANY
;
13624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13628 long arg6
= (long) 0 ;
13629 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13642 bool temp7
= false ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 PyObject
* obj2
= 0 ;
13646 PyObject
* obj3
= 0 ;
13647 PyObject
* obj4
= 0 ;
13648 PyObject
* obj5
= 0 ;
13649 PyObject
* obj6
= 0 ;
13650 char * kwnames
[] = {
13651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13659 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13661 if (!SWIG_IsOK(res2
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13667 if (!SWIG_IsOK(ecode3
)) {
13668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13670 arg3
= static_cast< int >(val3
);
13675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13685 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13686 if (!SWIG_IsOK(ecode6
)) {
13687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13689 arg6
= static_cast< long >(val6
);
13693 arg7
= wxString_in_helper(obj6
);
13694 if (arg7
== NULL
) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13721 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "count", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13740 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13741 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13742 if (!SWIG_IsOK(ecode2
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13745 arg2
= static_cast< size_t >(val2
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetLineCount(arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13759 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 char * kwnames
[] = {
13771 (char *) "self",(char *) "line", NULL
13774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13779 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13780 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13781 if (!SWIG_IsOK(ecode2
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13784 arg2
= static_cast< size_t >(val2
);
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13800 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
= 0;
13802 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 PyObject
* obj1
= 0 ;
13810 char * kwnames
[] = {
13811 (char *) "self",(char *) "line", NULL
13814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13816 if (!SWIG_IsOK(res1
)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13819 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13821 if (!SWIG_IsOK(ecode2
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13824 arg2
= static_cast< size_t >(val2
);
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 (arg1
)->RefreshLine(arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= SWIG_Py_Void();
13838 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
= 0;
13840 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 PyObject
* obj2
= 0 ;
13852 char * kwnames
[] = {
13853 (char *) "self",(char *) "from",(char *) "to", NULL
13856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13858 if (!SWIG_IsOK(res1
)) {
13859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13861 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13862 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13863 if (!SWIG_IsOK(ecode2
)) {
13864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13866 arg2
= static_cast< size_t >(val2
);
13867 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13868 if (!SWIG_IsOK(ecode3
)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13871 arg3
= static_cast< size_t >(val3
);
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->RefreshLines(arg2
,arg3
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= SWIG_Py_Void();
13885 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
= 0;
13887 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 PyObject
* obj2
= 0 ;
13900 char * kwnames
[] = {
13901 (char *) "self",(char *) "x",(char *) "y", NULL
13904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13906 if (!SWIG_IsOK(res1
)) {
13907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13909 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13911 if (!SWIG_IsOK(ecode2
)) {
13912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13914 arg2
= static_cast< int >(val2
);
13915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13916 if (!SWIG_IsOK(ecode3
)) {
13917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13919 arg3
= static_cast< int >(val3
);
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_From_int(static_cast< int >(result
));
13933 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
= 0;
13935 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13936 wxPoint
*arg2
= 0 ;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "self",(char *) "pt", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13952 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= SWIG_From_int(static_cast< int >(result
));
13970 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13971 PyObject
*resultobj
= 0;
13972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13975 PyObject
*swig_obj
[1] ;
13977 if (!args
) SWIG_fail
;
13978 swig_obj
[0] = args
;
13979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13980 if (!SWIG_IsOK(res1
)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13983 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 (arg1
)->RefreshAll();
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_Py_Void();
13997 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13998 PyObject
*resultobj
= 0;
13999 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14003 PyObject
*swig_obj
[1] ;
14005 if (!args
) SWIG_fail
;
14006 swig_obj
[0] = args
;
14007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14011 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14025 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14026 PyObject
*resultobj
= 0;
14027 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14031 PyObject
*swig_obj
[1] ;
14033 if (!args
) SWIG_fail
;
14034 swig_obj
[0] = args
;
14035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14039 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14053 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14054 PyObject
*resultobj
= 0;
14055 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14059 PyObject
*swig_obj
[1] ;
14061 if (!args
) SWIG_fail
;
14062 swig_obj
[0] = args
;
14063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14064 if (!SWIG_IsOK(res1
)) {
14065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14067 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14081 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
= 0;
14083 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 char * kwnames
[] = {
14093 (char *) "self",(char *) "line", NULL
14096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14098 if (!SWIG_IsOK(res1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14101 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14102 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14103 if (!SWIG_IsOK(ecode2
)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14106 arg2
= static_cast< size_t >(val2
);
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14122 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14123 PyObject
*resultobj
= 0;
14124 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14128 PyObject
*swig_obj
[1] ;
14130 if (!args
) SWIG_fail
;
14131 swig_obj
[0] = args
;
14132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14133 if (!SWIG_IsOK(res1
)) {
14134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14136 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14150 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14151 PyObject
*resultobj
= 0;
14152 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14156 PyObject
*swig_obj
[1] ;
14158 if (!args
) SWIG_fail
;
14159 swig_obj
[0] = args
;
14160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14161 if (!SWIG_IsOK(res1
)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14164 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14178 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
= 0;
14180 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14182 bool arg3
= (bool) false ;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 PyObject
* obj2
= 0 ;
14193 char * kwnames
[] = {
14194 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14202 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14203 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14204 if (!SWIG_IsOK(ecode2
)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14207 arg2
= static_cast< size_t >(val2
);
14209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14210 if (!SWIG_IsOK(ecode3
)) {
14211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14213 arg3
= static_cast< bool >(val3
);
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14228 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
= 0;
14230 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 PyObject
* obj1
= 0 ;
14242 PyObject
* obj2
= 0 ;
14243 char * kwnames
[] = {
14244 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14249 if (!SWIG_IsOK(res1
)) {
14250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14252 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14253 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14254 if (!SWIG_IsOK(ecode2
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14257 arg2
= static_cast< size_t >(val2
);
14258 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14259 if (!SWIG_IsOK(ecode3
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14262 arg3
= static_cast< size_t >(val3
);
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_From_int(static_cast< int >(result
));
14276 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14279 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14280 return SWIG_Py_Void();
14283 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14284 return SWIG_Python_InitShadowInstance(args
);
14287 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14288 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14293 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14294 PyObject
*pyobj
= 0;
14298 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14300 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14307 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
= 0;
14309 wxWindow
*arg1
= (wxWindow
*) 0 ;
14310 int arg2
= (int) wxID_ANY
;
14311 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14312 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14313 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14314 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14315 long arg5
= (long) 0 ;
14316 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14317 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14318 wxPyVListBox
*result
= 0 ;
14327 bool temp6
= false ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 PyObject
* obj2
= 0 ;
14331 PyObject
* obj3
= 0 ;
14332 PyObject
* obj4
= 0 ;
14333 PyObject
* obj5
= 0 ;
14334 char * kwnames
[] = {
14335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14340 if (!SWIG_IsOK(res1
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14346 if (!SWIG_IsOK(ecode2
)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14349 arg2
= static_cast< int >(val2
);
14354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14364 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14365 if (!SWIG_IsOK(ecode5
)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14368 arg5
= static_cast< long >(val5
);
14372 arg6
= wxString_in_helper(obj5
);
14373 if (arg6
== NULL
) SWIG_fail
;
14378 if (!wxPyCheckForApp()) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14399 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14400 PyObject
*resultobj
= 0;
14401 wxPyVListBox
*result
= 0 ;
14403 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14405 if (!wxPyCheckForApp()) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (wxPyVListBox
*)new wxPyVListBox();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14418 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
= 0;
14420 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14421 PyObject
*arg2
= (PyObject
*) 0 ;
14422 PyObject
*arg3
= (PyObject
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 PyObject
* obj2
= 0 ;
14428 char * kwnames
[] = {
14429 (char *) "self",(char *) "self",(char *) "_class", NULL
14432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14434 if (!SWIG_IsOK(res1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14437 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= SWIG_Py_Void();
14453 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
= 0;
14455 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14456 wxWindow
*arg2
= (wxWindow
*) 0 ;
14457 int arg3
= (int) wxID_ANY
;
14458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14462 long arg6
= (long) 0 ;
14463 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14464 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14476 bool temp7
= false ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 PyObject
* obj2
= 0 ;
14480 PyObject
* obj3
= 0 ;
14481 PyObject
* obj4
= 0 ;
14482 PyObject
* obj5
= 0 ;
14483 PyObject
* obj6
= 0 ;
14484 char * kwnames
[] = {
14485 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14493 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14495 if (!SWIG_IsOK(res2
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14501 if (!SWIG_IsOK(ecode3
)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14504 arg3
= static_cast< int >(val3
);
14509 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14515 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14519 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14520 if (!SWIG_IsOK(ecode6
)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14523 arg6
= static_cast< long >(val6
);
14527 arg7
= wxString_in_helper(obj6
);
14528 if (arg7
== NULL
) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14555 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14556 PyObject
*resultobj
= 0;
14557 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14561 PyObject
*swig_obj
[1] ;
14563 if (!args
) SWIG_fail
;
14564 swig_obj
[0] = args
;
14565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14566 if (!SWIG_IsOK(res1
)) {
14567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14569 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14583 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14584 PyObject
*resultobj
= 0;
14585 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14589 PyObject
*swig_obj
[1] ;
14591 if (!args
) SWIG_fail
;
14592 swig_obj
[0] = args
;
14593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14594 if (!SWIG_IsOK(res1
)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14597 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14613 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14614 PyObject
*resultobj
= 0;
14615 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14619 PyObject
*swig_obj
[1] ;
14621 if (!args
) SWIG_fail
;
14622 swig_obj
[0] = args
;
14623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14624 if (!SWIG_IsOK(res1
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14627 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_From_int(static_cast< int >(result
));
14641 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
= 0;
14643 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 char * kwnames
[] = {
14653 (char *) "self",(char *) "item", NULL
14656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14658 if (!SWIG_IsOK(res1
)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14661 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14662 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14663 if (!SWIG_IsOK(ecode2
)) {
14664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14666 arg2
= static_cast< size_t >(val2
);
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14682 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
= 0;
14684 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char * kwnames
[] = {
14694 (char *) "self",(char *) "item", NULL
14697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14699 if (!SWIG_IsOK(res1
)) {
14700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14702 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14703 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14704 if (!SWIG_IsOK(ecode2
)) {
14705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14707 arg2
= static_cast< size_t >(val2
);
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14723 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14724 PyObject
*resultobj
= 0;
14725 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14729 PyObject
*swig_obj
[1] ;
14731 if (!args
) SWIG_fail
;
14732 swig_obj
[0] = args
;
14733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14734 if (!SWIG_IsOK(res1
)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14737 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14751 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14752 PyObject
*resultobj
= 0;
14753 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14754 PyObject
*result
= 0 ;
14757 PyObject
*swig_obj
[1] ;
14759 if (!args
) SWIG_fail
;
14760 swig_obj
[0] = args
;
14761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14762 if (!SWIG_IsOK(res1
)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14765 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= result
;
14779 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
= 0;
14781 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14782 unsigned long arg2
;
14783 PyObject
*result
= 0 ;
14786 unsigned long val2
;
14788 PyObject
* obj0
= 0 ;
14789 PyObject
* obj1
= 0 ;
14790 char * kwnames
[] = {
14791 (char *) "self",(char *) "cookie", NULL
14794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14799 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14800 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14801 if (!SWIG_IsOK(ecode2
)) {
14802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14804 arg2
= static_cast< unsigned long >(val2
);
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
;
14818 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14819 PyObject
*resultobj
= 0;
14820 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14824 PyObject
*swig_obj
[1] ;
14826 if (!args
) SWIG_fail
;
14827 swig_obj
[0] = args
;
14828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14832 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14846 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14847 PyObject
*resultobj
= 0;
14848 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14849 wxColour
*result
= 0 ;
14852 PyObject
*swig_obj
[1] ;
14854 if (!args
) SWIG_fail
;
14855 swig_obj
[0] = args
;
14856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14857 if (!SWIG_IsOK(res1
)) {
14858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14860 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14865 result
= (wxColour
*) &_result_ref
;
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14877 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14878 PyObject
*resultobj
= 0;
14879 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 char * kwnames
[] = {
14888 (char *) "self",(char *) "count", NULL
14891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14893 if (!SWIG_IsOK(res1
)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14896 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14897 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14898 if (!SWIG_IsOK(ecode2
)) {
14899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14901 arg2
= static_cast< size_t >(val2
);
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 (arg1
)->SetItemCount(arg2
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_Py_Void();
14915 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14916 PyObject
*resultobj
= 0;
14917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14920 PyObject
*swig_obj
[1] ;
14922 if (!args
) SWIG_fail
;
14923 swig_obj
[0] = args
;
14924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14928 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_Py_Void();
14942 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
= 0;
14944 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 char * kwnames
[] = {
14953 (char *) "self",(char *) "selection", NULL
14956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14961 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14963 if (!SWIG_IsOK(ecode2
)) {
14964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14966 arg2
= static_cast< int >(val2
);
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 (arg1
)->SetSelection(arg2
);
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= SWIG_Py_Void();
14980 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
= 0;
14982 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14984 bool arg3
= (bool) true ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 PyObject
* obj2
= 0 ;
14995 char * kwnames
[] = {
14996 (char *) "self",(char *) "item",(char *) "select", NULL
14999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15001 if (!SWIG_IsOK(res1
)) {
15002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15004 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15005 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15006 if (!SWIG_IsOK(ecode2
)) {
15007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15009 arg2
= static_cast< size_t >(val2
);
15011 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15012 if (!SWIG_IsOK(ecode3
)) {
15013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15015 arg3
= static_cast< bool >(val3
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15032 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
= 0;
15034 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15044 PyObject
* obj0
= 0 ;
15045 PyObject
* obj1
= 0 ;
15046 PyObject
* obj2
= 0 ;
15047 char * kwnames
[] = {
15048 (char *) "self",(char *) "from",(char *) "to", NULL
15051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15056 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15057 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15058 if (!SWIG_IsOK(ecode2
)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15061 arg2
= static_cast< size_t >(val2
);
15062 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15063 if (!SWIG_IsOK(ecode3
)) {
15064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15066 arg3
= static_cast< size_t >(val3
);
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15082 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
= 0;
15084 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char * kwnames
[] = {
15093 (char *) "self",(char *) "item", NULL
15096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15098 if (!SWIG_IsOK(res1
)) {
15099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15101 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15102 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15103 if (!SWIG_IsOK(ecode2
)) {
15104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15106 arg2
= static_cast< size_t >(val2
);
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 (arg1
)->Toggle(arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_Py_Void();
15120 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15121 PyObject
*resultobj
= 0;
15122 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15126 PyObject
*swig_obj
[1] ;
15128 if (!args
) SWIG_fail
;
15129 swig_obj
[0] = args
;
15130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15131 if (!SWIG_IsOK(res1
)) {
15132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15134 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (bool)(arg1
)->SelectAll();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15150 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15151 PyObject
*resultobj
= 0;
15152 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15156 PyObject
*swig_obj
[1] ;
15158 if (!args
) SWIG_fail
;
15159 swig_obj
[0] = args
;
15160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15161 if (!SWIG_IsOK(res1
)) {
15162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15164 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (bool)(arg1
)->DeselectAll();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15180 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
= 0;
15182 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15183 wxPoint
*arg2
= 0 ;
15187 PyObject
* obj0
= 0 ;
15188 PyObject
* obj1
= 0 ;
15189 char * kwnames
[] = {
15190 (char *) "self",(char *) "pt", NULL
15193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15195 if (!SWIG_IsOK(res1
)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15198 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= SWIG_Py_Void();
15216 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
= 0;
15218 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 PyObject
* obj2
= 0 ;
15230 char * kwnames
[] = {
15231 (char *) "self",(char *) "x",(char *) "y", NULL
15234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15236 if (!SWIG_IsOK(res1
)) {
15237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15239 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15241 if (!SWIG_IsOK(ecode2
)) {
15242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15244 arg2
= static_cast< int >(val2
);
15245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15246 if (!SWIG_IsOK(ecode3
)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15249 arg3
= static_cast< int >(val3
);
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 (arg1
)->SetMargins(arg2
,arg3
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= SWIG_Py_Void();
15263 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
= 0;
15265 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15266 wxColour
*arg2
= 0 ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 char * kwnames
[] = {
15273 (char *) "self",(char *) "col", NULL
15276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15278 if (!SWIG_IsOK(res1
)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15281 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_Py_Void();
15299 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
= 0;
15301 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 PyObject
* obj1
= 0 ;
15314 PyObject
* obj2
= 0 ;
15315 PyObject
* obj3
= 0 ;
15316 char * kwnames
[] = {
15317 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15322 if (!SWIG_IsOK(res1
)) {
15323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15325 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15327 if (!SWIG_IsOK(res2
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15333 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15336 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15338 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15339 if (!SWIG_IsOK(ecode4
)) {
15340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15342 arg4
= static_cast< size_t >(val4
);
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_Py_Void();
15356 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
= 0;
15358 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 PyObject
* obj2
= 0 ;
15372 PyObject
* obj3
= 0 ;
15373 char * kwnames
[] = {
15374 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15379 if (!SWIG_IsOK(res1
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15382 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15384 if (!SWIG_IsOK(res2
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15390 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15393 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15395 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15396 if (!SWIG_IsOK(ecode4
)) {
15397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15399 arg4
= static_cast< size_t >(val4
);
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_Py_Void();
15413 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15416 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15417 return SWIG_Py_Void();
15420 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15421 return SWIG_Python_InitShadowInstance(args
);
15424 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
= 0;
15426 wxWindow
*arg1
= (wxWindow
*) 0 ;
15427 int arg2
= (int) wxID_ANY
;
15428 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15429 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15430 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15431 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15432 long arg5
= (long) 0 ;
15433 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15434 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15435 wxPyHtmlListBox
*result
= 0 ;
15444 bool temp6
= false ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 PyObject
* obj2
= 0 ;
15448 PyObject
* obj3
= 0 ;
15449 PyObject
* obj4
= 0 ;
15450 PyObject
* obj5
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15463 if (!SWIG_IsOK(ecode2
)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15466 arg2
= static_cast< int >(val2
);
15471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15481 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15482 if (!SWIG_IsOK(ecode5
)) {
15483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15485 arg5
= static_cast< long >(val5
);
15489 arg6
= wxString_in_helper(obj5
);
15490 if (arg6
== NULL
) SWIG_fail
;
15495 if (!wxPyCheckForApp()) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15516 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15517 PyObject
*resultobj
= 0;
15518 wxPyHtmlListBox
*result
= 0 ;
15520 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15522 if (!wxPyCheckForApp()) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15535 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
= 0;
15537 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15538 PyObject
*arg2
= (PyObject
*) 0 ;
15539 PyObject
*arg3
= (PyObject
*) 0 ;
15542 PyObject
* obj0
= 0 ;
15543 PyObject
* obj1
= 0 ;
15544 PyObject
* obj2
= 0 ;
15545 char * kwnames
[] = {
15546 (char *) "self",(char *) "self",(char *) "_class", NULL
15549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15551 if (!SWIG_IsOK(res1
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15554 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_Py_Void();
15570 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
= 0;
15572 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15573 wxWindow
*arg2
= (wxWindow
*) 0 ;
15574 int arg3
= (int) wxID_ANY
;
15575 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15576 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15577 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15578 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15579 long arg6
= (long) 0 ;
15580 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15581 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15593 bool temp7
= false ;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 PyObject
* obj2
= 0 ;
15597 PyObject
* obj3
= 0 ;
15598 PyObject
* obj4
= 0 ;
15599 PyObject
* obj5
= 0 ;
15600 PyObject
* obj6
= 0 ;
15601 char * kwnames
[] = {
15602 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15610 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15612 if (!SWIG_IsOK(res2
)) {
15613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15615 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15618 if (!SWIG_IsOK(ecode3
)) {
15619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15621 arg3
= static_cast< int >(val3
);
15626 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15632 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15636 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15637 if (!SWIG_IsOK(ecode6
)) {
15638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15640 arg6
= static_cast< long >(val6
);
15644 arg7
= wxString_in_helper(obj6
);
15645 if (arg7
== NULL
) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
= 0;
15674 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "self",(char *) "count", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15688 if (!SWIG_IsOK(res1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15691 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15692 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15693 if (!SWIG_IsOK(ecode2
)) {
15694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15696 arg2
= static_cast< size_t >(val2
);
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 (arg1
)->SetItemCount(arg2
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_Py_Void();
15710 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15711 PyObject
*resultobj
= 0;
15712 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15713 wxFileSystem
*result
= 0 ;
15716 PyObject
*swig_obj
[1] ;
15718 if (!args
) SWIG_fail
;
15719 swig_obj
[0] = args
;
15720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15724 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15729 result
= (wxFileSystem
*) &_result_ref
;
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15741 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15745 wxHtmlLinkInfo
*arg3
= 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 PyObject
* obj2
= 0 ;
15755 char * kwnames
[] = {
15756 (char *) "self",(char *) "n",(char *) "link", NULL
15759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15764 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15765 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15766 if (!SWIG_IsOK(ecode2
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15769 arg2
= static_cast< size_t >(val2
);
15770 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15771 if (!SWIG_IsOK(res3
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15777 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_Py_Void();
15791 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15794 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15795 return SWIG_Py_Void();
15798 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15799 return SWIG_Python_InitShadowInstance(args
);
15802 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15803 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15808 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15809 PyObject
*pyobj
= 0;
15813 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15815 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15822 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
= 0;
15824 wxWindow
*arg1
= (wxWindow
*) 0 ;
15825 int arg2
= (int) -1 ;
15826 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15827 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15828 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15829 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15830 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15831 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15832 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15835 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15837 wxSimpleHtmlListBox
*result
= 0 ;
15844 bool temp5
= false ;
15849 bool temp8
= false ;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 PyObject
* obj2
= 0 ;
15853 PyObject
* obj3
= 0 ;
15854 PyObject
* obj4
= 0 ;
15855 PyObject
* obj5
= 0 ;
15856 PyObject
* obj6
= 0 ;
15857 PyObject
* obj7
= 0 ;
15858 char * kwnames
[] = {
15859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
15863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15864 if (!SWIG_IsOK(res1
)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15867 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15870 if (!SWIG_IsOK(ecode2
)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15873 arg2
= static_cast< int >(val2
);
15878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15884 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15889 if (! PySequence_Check(obj4
)) {
15890 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15893 arg5
= new wxArrayString
;
15895 int i
, len
=PySequence_Length(obj4
);
15896 for (i
=0; i
<len
; i
++) {
15897 PyObject
* item
= PySequence_GetItem(obj4
, i
);
15898 wxString
* s
= wxString_in_helper(item
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15907 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15908 if (!SWIG_IsOK(ecode6
)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15911 arg6
= static_cast< long >(val6
);
15914 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
15915 if (!SWIG_IsOK(res7
)) {
15916 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15921 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
15925 arg8
= wxString_in_helper(obj7
);
15926 if (arg8
== NULL
) SWIG_fail
;
15931 if (!wxPyCheckForApp()) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15939 if (temp5
) delete arg5
;
15948 if (temp5
) delete arg5
;
15958 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15959 PyObject
*resultobj
= 0;
15960 wxSimpleHtmlListBox
*result
= 0 ;
15962 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
15964 if (!wxPyCheckForApp()) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15977 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
= 0;
15979 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
15980 wxWindow
*arg2
= (wxWindow
*) 0 ;
15981 int arg3
= (int) -1 ;
15982 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15983 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15984 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15985 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15986 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15987 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15988 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
15989 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15990 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15991 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15992 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16002 bool temp6
= false ;
16007 bool temp9
= false ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 PyObject
* obj2
= 0 ;
16011 PyObject
* obj3
= 0 ;
16012 PyObject
* obj4
= 0 ;
16013 PyObject
* obj5
= 0 ;
16014 PyObject
* obj6
= 0 ;
16015 PyObject
* obj7
= 0 ;
16016 PyObject
* obj8
= 0 ;
16017 char * kwnames
[] = {
16018 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16026 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16028 if (!SWIG_IsOK(res2
)) {
16029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16031 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16034 if (!SWIG_IsOK(ecode3
)) {
16035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16037 arg3
= static_cast< int >(val3
);
16042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16053 if (! PySequence_Check(obj5
)) {
16054 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16057 arg6
= new wxArrayString
;
16059 int i
, len
=PySequence_Length(obj5
);
16060 for (i
=0; i
<len
; i
++) {
16061 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16062 wxString
* s
= wxString_in_helper(item
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16071 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16072 if (!SWIG_IsOK(ecode7
)) {
16073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16075 arg7
= static_cast< long >(val7
);
16078 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16079 if (!SWIG_IsOK(res8
)) {
16080 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16085 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16089 arg9
= wxString_in_helper(obj8
);
16090 if (arg9
== NULL
) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16104 if (temp6
) delete arg6
;
16113 if (temp6
) delete arg6
;
16123 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16126 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16127 return SWIG_Py_Void();
16130 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16131 return SWIG_Python_InitShadowInstance(args
);
16134 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16135 PyObject
*resultobj
= 0;
16136 wxPyTaskBarIcon
*result
= 0 ;
16138 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16140 if (!wxPyCheckForApp()) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16153 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16154 PyObject
*resultobj
= 0;
16155 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16158 PyObject
*swig_obj
[1] ;
16160 if (!args
) SWIG_fail
;
16161 swig_obj
[0] = args
;
16162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16163 if (!SWIG_IsOK(res1
)) {
16164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16166 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= SWIG_Py_Void();
16181 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
= 0;
16183 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16184 PyObject
*arg2
= (PyObject
*) 0 ;
16185 PyObject
*arg3
= (PyObject
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 PyObject
* obj2
= 0 ;
16194 PyObject
* obj3
= 0 ;
16195 char * kwnames
[] = {
16196 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16204 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16207 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16208 if (!SWIG_IsOK(ecode4
)) {
16209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16211 arg4
= static_cast< int >(val4
);
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_Py_Void();
16225 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16226 PyObject
*resultobj
= 0;
16227 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16230 PyObject
*swig_obj
[1] ;
16232 if (!args
) SWIG_fail
;
16233 swig_obj
[0] = args
;
16234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16238 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 wxPyTaskBarIcon_Destroy(arg1
);
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= SWIG_Py_Void();
16252 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16253 PyObject
*resultobj
= 0;
16254 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16258 PyObject
*swig_obj
[1] ;
16260 if (!args
) SWIG_fail
;
16261 swig_obj
[0] = args
;
16262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16263 if (!SWIG_IsOK(res1
)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16266 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16282 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16283 PyObject
*resultobj
= 0;
16284 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16288 PyObject
*swig_obj
[1] ;
16290 if (!args
) SWIG_fail
;
16291 swig_obj
[0] = args
;
16292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16293 if (!SWIG_IsOK(res1
)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16296 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16312 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
= 0;
16314 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16316 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16317 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16323 bool temp3
= false ;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 PyObject
* obj2
= 0 ;
16327 char * kwnames
[] = {
16328 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16333 if (!SWIG_IsOK(res1
)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16336 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16338 if (!SWIG_IsOK(res2
)) {
16339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16344 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16347 arg3
= wxString_in_helper(obj2
);
16348 if (arg3
== NULL
) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16376 PyObject
*resultobj
= 0;
16377 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16381 PyObject
*swig_obj
[1] ;
16383 if (!args
) SWIG_fail
;
16384 swig_obj
[0] = args
;
16385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16386 if (!SWIG_IsOK(res1
)) {
16387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16389 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (bool)(arg1
)->RemoveIcon();
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16405 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
= 0;
16407 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16408 wxMenu
*arg2
= (wxMenu
*) 0 ;
16414 PyObject
* obj0
= 0 ;
16415 PyObject
* obj1
= 0 ;
16416 char * kwnames
[] = {
16417 (char *) "self",(char *) "menu", NULL
16420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16422 if (!SWIG_IsOK(res1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16425 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16427 if (!SWIG_IsOK(res2
)) {
16428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16430 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (bool)(arg1
)->PopupMenu(arg2
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16446 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16450 return SWIG_Py_Void();
16453 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16454 return SWIG_Python_InitShadowInstance(args
);
16457 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
= 0;
16460 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16461 wxTaskBarIconEvent
*result
= 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char * kwnames
[] = {
16469 (char *) "evtType",(char *) "tbIcon", NULL
16472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16473 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16474 if (!SWIG_IsOK(ecode1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16477 arg1
= static_cast< wxEventType
>(val1
);
16478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16479 if (!SWIG_IsOK(res2
)) {
16480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16482 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16496 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16499 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16500 return SWIG_Py_Void();
16503 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16504 return SWIG_Python_InitShadowInstance(args
);
16507 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16508 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16513 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16514 PyObject
*pyobj
= 0;
16518 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16520 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16527 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16528 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16533 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16534 PyObject
*pyobj
= 0;
16538 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16540 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16547 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16548 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16553 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16554 PyObject
*pyobj
= 0;
16558 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16560 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16567 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16568 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16573 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16574 PyObject
*pyobj
= 0;
16578 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16580 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16587 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16588 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16593 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16594 PyObject
*pyobj
= 0;
16598 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16600 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16607 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16608 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16613 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16614 PyObject
*pyobj
= 0;
16618 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16620 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16627 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16628 PyObject
*resultobj
= 0;
16629 wxColourData
*result
= 0 ;
16631 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (wxColourData
*)new wxColourData();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16645 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16646 PyObject
*resultobj
= 0;
16647 wxColourData
*arg1
= (wxColourData
*) 0 ;
16650 PyObject
*swig_obj
[1] ;
16652 if (!args
) SWIG_fail
;
16653 swig_obj
[0] = args
;
16654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16655 if (!SWIG_IsOK(res1
)) {
16656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16658 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_Py_Void();
16673 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16674 PyObject
*resultobj
= 0;
16675 wxColourData
*arg1
= (wxColourData
*) 0 ;
16679 PyObject
*swig_obj
[1] ;
16681 if (!args
) SWIG_fail
;
16682 swig_obj
[0] = args
;
16683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16684 if (!SWIG_IsOK(res1
)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16687 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 result
= (bool)(arg1
)->GetChooseFull();
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16703 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16704 PyObject
*resultobj
= 0;
16705 wxColourData
*arg1
= (wxColourData
*) 0 ;
16709 PyObject
*swig_obj
[1] ;
16711 if (!args
) SWIG_fail
;
16712 swig_obj
[0] = args
;
16713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16714 if (!SWIG_IsOK(res1
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16717 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (arg1
)->GetColour();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16731 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
= 0;
16733 wxColourData
*arg1
= (wxColourData
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char * kwnames
[] = {
16743 (char *) "self",(char *) "i", NULL
16746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16748 if (!SWIG_IsOK(res1
)) {
16749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16751 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16753 if (!SWIG_IsOK(ecode2
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16756 arg2
= static_cast< int >(val2
);
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (arg1
)->GetCustomColour(arg2
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16770 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
= 0;
16772 wxColourData
*arg1
= (wxColourData
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 char * kwnames
[] = {
16781 (char *) "self",(char *) "flag", NULL
16784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16789 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16791 if (!SWIG_IsOK(ecode2
)) {
16792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16794 arg2
= static_cast< int >(val2
);
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->SetChooseFull(arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= SWIG_Py_Void();
16808 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
= 0;
16810 wxColourData
*arg1
= (wxColourData
*) 0 ;
16811 wxColour
*arg2
= 0 ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 char * kwnames
[] = {
16818 (char *) "self",(char *) "colour", NULL
16821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16823 if (!SWIG_IsOK(res1
)) {
16824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16826 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 (arg1
)->SetColour((wxColour
const &)*arg2
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= SWIG_Py_Void();
16844 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
= 0;
16846 wxColourData
*arg1
= (wxColourData
*) 0 ;
16848 wxColour
*arg3
= 0 ;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 PyObject
* obj2
= 0 ;
16857 char * kwnames
[] = {
16858 (char *) "self",(char *) "i",(char *) "colour", NULL
16861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16863 if (!SWIG_IsOK(res1
)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16866 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16868 if (!SWIG_IsOK(ecode2
)) {
16869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16871 arg2
= static_cast< int >(val2
);
16874 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_Py_Void();
16889 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16892 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16893 return SWIG_Py_Void();
16896 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16897 return SWIG_Python_InitShadowInstance(args
);
16900 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxWindow
*arg1
= (wxWindow
*) 0 ;
16903 wxColourData
*arg2
= (wxColourData
*) NULL
;
16904 wxColourDialog
*result
= 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char * kwnames
[] = {
16912 (char *) "parent",(char *) "data", NULL
16915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16917 if (!SWIG_IsOK(res1
)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16920 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16923 if (!SWIG_IsOK(res2
)) {
16924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16926 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16929 if (!wxPyCheckForApp()) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16942 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16943 PyObject
*resultobj
= 0;
16944 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16945 wxColourData
*result
= 0 ;
16948 PyObject
*swig_obj
[1] ;
16950 if (!args
) SWIG_fail
;
16951 swig_obj
[0] = args
;
16952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16953 if (!SWIG_IsOK(res1
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16956 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16961 result
= (wxColourData
*) &_result_ref
;
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16973 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16976 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16977 return SWIG_Py_Void();
16980 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16981 return SWIG_Python_InitShadowInstance(args
);
16984 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
= 0;
16986 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16987 wxColour
const &arg2_defvalue
= wxNullColour
;
16988 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16995 bool temp3
= false ;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 PyObject
* obj2
= 0 ;
16999 char * kwnames
[] = {
17000 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17006 if (!SWIG_IsOK(res1
)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17009 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17019 arg3
= wxString_in_helper(obj2
);
17020 if (arg3
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17045 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
= 0;
17047 wxWindow
*arg1
= (wxWindow
*) 0 ;
17048 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17049 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17050 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17052 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17053 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17054 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17055 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17056 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17057 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17059 wxDirDialog
*result
= 0 ;
17062 bool temp2
= false ;
17063 bool temp3
= false ;
17068 bool temp7
= false ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 PyObject
* obj2
= 0 ;
17072 PyObject
* obj3
= 0 ;
17073 PyObject
* obj4
= 0 ;
17074 PyObject
* obj5
= 0 ;
17075 PyObject
* obj6
= 0 ;
17076 char * kwnames
[] = {
17077 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17082 if (!SWIG_IsOK(res1
)) {
17083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17088 arg2
= wxString_in_helper(obj1
);
17089 if (arg2
== NULL
) SWIG_fail
;
17095 arg3
= wxString_in_helper(obj2
);
17096 if (arg3
== NULL
) SWIG_fail
;
17101 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17102 if (!SWIG_IsOK(ecode4
)) {
17103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17105 arg4
= static_cast< long >(val4
);
17110 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17116 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17121 arg7
= wxString_in_helper(obj6
);
17122 if (arg7
== NULL
) SWIG_fail
;
17127 if (!wxPyCheckForApp()) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17164 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17165 PyObject
*resultobj
= 0;
17166 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17170 PyObject
*swig_obj
[1] ;
17172 if (!args
) SWIG_fail
;
17173 swig_obj
[0] = args
;
17174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17175 if (!SWIG_IsOK(res1
)) {
17176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17178 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (arg1
)->GetPath();
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17198 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17199 PyObject
*resultobj
= 0;
17200 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17204 PyObject
*swig_obj
[1] ;
17206 if (!args
) SWIG_fail
;
17207 swig_obj
[0] = args
;
17208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17209 if (!SWIG_IsOK(res1
)) {
17210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17212 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (arg1
)->GetMessage();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17232 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17235 wxString
*arg2
= 0 ;
17238 bool temp2
= false ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "self",(char *) "message", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17250 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17252 arg2
= wxString_in_helper(obj1
);
17253 if (arg2
== NULL
) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 (arg1
)->SetMessage((wxString
const &)*arg2
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_Py_Void();
17277 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
= 0;
17279 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17280 wxString
*arg2
= 0 ;
17283 bool temp2
= false ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char * kwnames
[] = {
17287 (char *) "self",(char *) "path", NULL
17290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17292 if (!SWIG_IsOK(res1
)) {
17293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17295 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17297 arg2
= wxString_in_helper(obj1
);
17298 if (arg2
== NULL
) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 (arg1
)->SetPath((wxString
const &)*arg2
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= SWIG_Py_Void();
17322 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17325 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17326 return SWIG_Py_Void();
17329 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17330 return SWIG_Python_InitShadowInstance(args
);
17333 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
= 0;
17335 wxWindow
*arg1
= (wxWindow
*) 0 ;
17336 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17337 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17340 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17341 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17342 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17343 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17344 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17345 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17346 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17347 wxFileDialog
*result
= 0 ;
17350 bool temp2
= false ;
17351 bool temp3
= false ;
17352 bool temp4
= false ;
17353 bool temp5
= false ;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 PyObject
* obj2
= 0 ;
17360 PyObject
* obj3
= 0 ;
17361 PyObject
* obj4
= 0 ;
17362 PyObject
* obj5
= 0 ;
17363 PyObject
* obj6
= 0 ;
17364 char * kwnames
[] = {
17365 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17373 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17376 arg2
= wxString_in_helper(obj1
);
17377 if (arg2
== NULL
) SWIG_fail
;
17383 arg3
= wxString_in_helper(obj2
);
17384 if (arg3
== NULL
) SWIG_fail
;
17390 arg4
= wxString_in_helper(obj3
);
17391 if (arg4
== NULL
) SWIG_fail
;
17397 arg5
= wxString_in_helper(obj4
);
17398 if (arg5
== NULL
) SWIG_fail
;
17403 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17404 if (!SWIG_IsOK(ecode6
)) {
17405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17407 arg6
= static_cast< long >(val6
);
17412 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17416 if (!wxPyCheckForApp()) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17461 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
= 0;
17463 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17464 wxString
*arg2
= 0 ;
17467 bool temp2
= false ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "self",(char *) "message", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17476 if (!SWIG_IsOK(res1
)) {
17477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17479 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17481 arg2
= wxString_in_helper(obj1
);
17482 if (arg2
== NULL
) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 (arg1
)->SetMessage((wxString
const &)*arg2
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_Py_Void();
17506 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
= 0;
17508 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17509 wxString
*arg2
= 0 ;
17512 bool temp2
= false ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 char * kwnames
[] = {
17516 (char *) "self",(char *) "path", NULL
17519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17521 if (!SWIG_IsOK(res1
)) {
17522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17524 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17526 arg2
= wxString_in_helper(obj1
);
17527 if (arg2
== NULL
) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 (arg1
)->SetPath((wxString
const &)*arg2
);
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_Py_Void();
17551 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
= 0;
17553 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17554 wxString
*arg2
= 0 ;
17557 bool temp2
= false ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 char * kwnames
[] = {
17561 (char *) "self",(char *) "dir", NULL
17564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17569 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17571 arg2
= wxString_in_helper(obj1
);
17572 if (arg2
== NULL
) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_Py_Void();
17596 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
= 0;
17598 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17599 wxString
*arg2
= 0 ;
17602 bool temp2
= false ;
17603 PyObject
* obj0
= 0 ;
17604 PyObject
* obj1
= 0 ;
17605 char * kwnames
[] = {
17606 (char *) "self",(char *) "name", NULL
17609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17611 if (!SWIG_IsOK(res1
)) {
17612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17614 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17616 arg2
= wxString_in_helper(obj1
);
17617 if (arg2
== NULL
) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->SetFilename((wxString
const &)*arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_Py_Void();
17641 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
= 0;
17643 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17644 wxString
*arg2
= 0 ;
17647 bool temp2
= false ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char * kwnames
[] = {
17651 (char *) "self",(char *) "wildCard", NULL
17654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17656 if (!SWIG_IsOK(res1
)) {
17657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17659 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17661 arg2
= wxString_in_helper(obj1
);
17662 if (arg2
== NULL
) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_Py_Void();
17686 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
= 0;
17688 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 char * kwnames
[] = {
17697 (char *) "self",(char *) "filterIndex", NULL
17700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17702 if (!SWIG_IsOK(res1
)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17705 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17707 if (!SWIG_IsOK(ecode2
)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17710 arg2
= static_cast< int >(val2
);
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 (arg1
)->SetFilterIndex(arg2
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_Py_Void();
17724 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17725 PyObject
*resultobj
= 0;
17726 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17730 PyObject
*swig_obj
[1] ;
17732 if (!args
) SWIG_fail
;
17733 swig_obj
[0] = args
;
17734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17735 if (!SWIG_IsOK(res1
)) {
17736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17738 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17758 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17759 PyObject
*resultobj
= 0;
17760 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17764 PyObject
*swig_obj
[1] ;
17766 if (!args
) SWIG_fail
;
17767 swig_obj
[0] = args
;
17768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17769 if (!SWIG_IsOK(res1
)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17772 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17792 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17793 PyObject
*resultobj
= 0;
17794 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17798 PyObject
*swig_obj
[1] ;
17800 if (!args
) SWIG_fail
;
17801 swig_obj
[0] = args
;
17802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17803 if (!SWIG_IsOK(res1
)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17806 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17826 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17827 PyObject
*resultobj
= 0;
17828 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17832 PyObject
*swig_obj
[1] ;
17834 if (!args
) SWIG_fail
;
17835 swig_obj
[0] = args
;
17836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17837 if (!SWIG_IsOK(res1
)) {
17838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17840 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17860 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17861 PyObject
*resultobj
= 0;
17862 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17866 PyObject
*swig_obj
[1] ;
17868 if (!args
) SWIG_fail
;
17869 swig_obj
[0] = args
;
17870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17871 if (!SWIG_IsOK(res1
)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17874 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17894 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17895 PyObject
*resultobj
= 0;
17896 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17900 PyObject
*swig_obj
[1] ;
17902 if (!args
) SWIG_fail
;
17903 swig_obj
[0] = args
;
17904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17905 if (!SWIG_IsOK(res1
)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17908 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= SWIG_From_int(static_cast< int >(result
));
17922 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17923 PyObject
*resultobj
= 0;
17924 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17925 PyObject
*result
= 0 ;
17928 PyObject
*swig_obj
[1] ;
17930 if (!args
) SWIG_fail
;
17931 swig_obj
[0] = args
;
17932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17933 if (!SWIG_IsOK(res1
)) {
17934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17936 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= result
;
17950 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17951 PyObject
*resultobj
= 0;
17952 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17953 PyObject
*result
= 0 ;
17956 PyObject
*swig_obj
[1] ;
17958 if (!args
) SWIG_fail
;
17959 swig_obj
[0] = args
;
17960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17961 if (!SWIG_IsOK(res1
)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17964 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= result
;
17978 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17981 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17982 return SWIG_Py_Void();
17985 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17986 return SWIG_Python_InitShadowInstance(args
);
17989 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxWindow
*arg1
= (wxWindow
*) 0 ;
17992 wxString
*arg2
= 0 ;
17993 wxString
*arg3
= 0 ;
17994 int arg4
= (int) 0 ;
17995 wxString
*arg5
= (wxString
*) NULL
;
17996 long arg6
= (long) wxCHOICEDLG_STYLE
;
17997 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17998 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17999 wxMultiChoiceDialog
*result
= 0 ;
18002 bool temp2
= false ;
18003 bool temp3
= false ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 PyObject
* obj2
= 0 ;
18010 PyObject
* obj3
= 0 ;
18011 PyObject
* obj4
= 0 ;
18012 PyObject
* obj5
= 0 ;
18013 char * kwnames
[] = {
18014 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18019 if (!SWIG_IsOK(res1
)) {
18020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18024 arg2
= wxString_in_helper(obj1
);
18025 if (arg2
== NULL
) SWIG_fail
;
18029 arg3
= wxString_in_helper(obj2
);
18030 if (arg3
== NULL
) SWIG_fail
;
18035 arg4
= PyList_Size(obj3
);
18036 arg5
= wxString_LIST_helper(obj3
);
18037 if (arg5
== NULL
) SWIG_fail
;
18041 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18042 if (!SWIG_IsOK(ecode6
)) {
18043 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18045 arg6
= static_cast< long >(val6
);
18050 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18054 if (!wxPyCheckForApp()) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18070 if (arg5
) delete [] arg5
;
18083 if (arg5
) delete [] arg5
;
18089 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
= 0;
18091 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18092 wxArrayInt
*arg2
= 0 ;
18095 bool temp2
= false ;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char * kwnames
[] = {
18099 (char *) "self",(char *) "selections", NULL
18102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18104 if (!SWIG_IsOK(res1
)) {
18105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18107 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18109 if (! PySequence_Check(obj1
)) {
18110 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18113 arg2
= new wxArrayInt
;
18115 int i
, len
=PySequence_Length(obj1
);
18116 for (i
=0; i
<len
; i
++) {
18117 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18118 PyObject
* number
= PyNumber_Int(item
);
18120 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18123 arg2
->Add(PyInt_AS_LONG(number
));
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_Py_Void();
18136 if (temp2
) delete arg2
;
18141 if (temp2
) delete arg2
;
18147 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18148 PyObject
*resultobj
= 0;
18149 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18150 PyObject
*result
= 0 ;
18153 PyObject
*swig_obj
[1] ;
18155 if (!args
) SWIG_fail
;
18156 swig_obj
[0] = args
;
18157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18161 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= result
;
18175 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18178 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18179 return SWIG_Py_Void();
18182 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18183 return SWIG_Python_InitShadowInstance(args
);
18186 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
= 0;
18188 wxWindow
*arg1
= (wxWindow
*) 0 ;
18189 wxString
*arg2
= 0 ;
18190 wxString
*arg3
= 0 ;
18192 wxString
*arg5
= (wxString
*) 0 ;
18193 long arg6
= (long) wxCHOICEDLG_STYLE
;
18194 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18195 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18196 wxSingleChoiceDialog
*result
= 0 ;
18199 bool temp2
= false ;
18200 bool temp3
= false ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 PyObject
* obj2
= 0 ;
18207 PyObject
* obj3
= 0 ;
18208 PyObject
* obj4
= 0 ;
18209 PyObject
* obj5
= 0 ;
18210 char * kwnames
[] = {
18211 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18219 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18221 arg2
= wxString_in_helper(obj1
);
18222 if (arg2
== NULL
) SWIG_fail
;
18226 arg3
= wxString_in_helper(obj2
);
18227 if (arg3
== NULL
) SWIG_fail
;
18231 arg4
= PyList_Size(obj3
);
18232 arg5
= wxString_LIST_helper(obj3
);
18233 if (arg5
== NULL
) SWIG_fail
;
18236 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18237 if (!SWIG_IsOK(ecode6
)) {
18238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18240 arg6
= static_cast< long >(val6
);
18245 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18249 if (!wxPyCheckForApp()) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18265 if (arg5
) delete [] arg5
;
18278 if (arg5
) delete [] arg5
;
18284 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18285 PyObject
*resultobj
= 0;
18286 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18290 PyObject
*swig_obj
[1] ;
18292 if (!args
) SWIG_fail
;
18293 swig_obj
[0] = args
;
18294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18295 if (!SWIG_IsOK(res1
)) {
18296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18298 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (int)(arg1
)->GetSelection();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_From_int(static_cast< int >(result
));
18312 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18313 PyObject
*resultobj
= 0;
18314 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18318 PyObject
*swig_obj
[1] ;
18320 if (!args
) SWIG_fail
;
18321 swig_obj
[0] = args
;
18322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18323 if (!SWIG_IsOK(res1
)) {
18324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18326 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (arg1
)->GetStringSelection();
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18346 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
= 0;
18348 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char * kwnames
[] = {
18357 (char *) "self",(char *) "sel", NULL
18360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18362 if (!SWIG_IsOK(res1
)) {
18363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18365 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18367 if (!SWIG_IsOK(ecode2
)) {
18368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18370 arg2
= static_cast< int >(val2
);
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->SetSelection(arg2
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_Py_Void();
18384 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18387 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18388 return SWIG_Py_Void();
18391 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18392 return SWIG_Python_InitShadowInstance(args
);
18395 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
= 0;
18397 wxWindow
*arg1
= (wxWindow
*) 0 ;
18398 wxString
*arg2
= 0 ;
18399 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18401 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18402 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18403 long arg5
= (long) wxTextEntryDialogStyle
;
18404 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18405 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18406 wxTextEntryDialog
*result
= 0 ;
18409 bool temp2
= false ;
18410 bool temp3
= false ;
18411 bool temp4
= false ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 PyObject
* obj2
= 0 ;
18418 PyObject
* obj3
= 0 ;
18419 PyObject
* obj4
= 0 ;
18420 PyObject
* obj5
= 0 ;
18421 char * kwnames
[] = {
18422 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18432 arg2
= wxString_in_helper(obj1
);
18433 if (arg2
== NULL
) SWIG_fail
;
18438 arg3
= wxString_in_helper(obj2
);
18439 if (arg3
== NULL
) SWIG_fail
;
18445 arg4
= wxString_in_helper(obj3
);
18446 if (arg4
== NULL
) SWIG_fail
;
18451 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18452 if (!SWIG_IsOK(ecode5
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18455 arg5
= static_cast< long >(val5
);
18460 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18464 if (!wxPyCheckForApp()) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18501 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18502 PyObject
*resultobj
= 0;
18503 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18507 PyObject
*swig_obj
[1] ;
18509 if (!args
) SWIG_fail
;
18510 swig_obj
[0] = args
;
18511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18512 if (!SWIG_IsOK(res1
)) {
18513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18515 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (arg1
)->GetValue();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18535 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
= 0;
18537 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18538 wxString
*arg2
= 0 ;
18541 bool temp2
= false ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 char * kwnames
[] = {
18545 (char *) "self",(char *) "value", NULL
18548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18550 if (!SWIG_IsOK(res1
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18553 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18555 arg2
= wxString_in_helper(obj1
);
18556 if (arg2
== NULL
) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->SetValue((wxString
const &)*arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_Py_Void();
18580 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18583 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18584 return SWIG_Py_Void();
18587 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18588 return SWIG_Python_InitShadowInstance(args
);
18591 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18592 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18597 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18598 PyObject
*pyobj
= 0;
18602 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18604 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18611 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
= 0;
18613 wxWindow
*arg1
= (wxWindow
*) 0 ;
18614 wxString
*arg2
= 0 ;
18615 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18617 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18618 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18619 long arg5
= (long) wxTextEntryDialogStyle
;
18620 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18621 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18622 wxPasswordEntryDialog
*result
= 0 ;
18625 bool temp2
= false ;
18626 bool temp3
= false ;
18627 bool temp4
= false ;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 PyObject
* obj2
= 0 ;
18634 PyObject
* obj3
= 0 ;
18635 PyObject
* obj4
= 0 ;
18636 PyObject
* obj5
= 0 ;
18637 char * kwnames
[] = {
18638 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18643 if (!SWIG_IsOK(res1
)) {
18644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18648 arg2
= wxString_in_helper(obj1
);
18649 if (arg2
== NULL
) SWIG_fail
;
18654 arg3
= wxString_in_helper(obj2
);
18655 if (arg3
== NULL
) SWIG_fail
;
18661 arg4
= wxString_in_helper(obj3
);
18662 if (arg4
== NULL
) SWIG_fail
;
18667 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18668 if (!SWIG_IsOK(ecode5
)) {
18669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18671 arg5
= static_cast< long >(val5
);
18676 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18716 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18719 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18720 return SWIG_Py_Void();
18723 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 return SWIG_Python_InitShadowInstance(args
);
18727 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
= 0;
18729 wxWindow
*arg1
= (wxWindow
*) 0 ;
18730 wxString
*arg2
= 0 ;
18731 wxString
*arg3
= 0 ;
18732 wxString
*arg4
= 0 ;
18736 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18737 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18738 wxNumberEntryDialog
*result
= 0 ;
18741 bool temp2
= false ;
18742 bool temp3
= false ;
18743 bool temp4
= false ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 PyObject
* obj2
= 0 ;
18754 PyObject
* obj3
= 0 ;
18755 PyObject
* obj4
= 0 ;
18756 PyObject
* obj5
= 0 ;
18757 PyObject
* obj6
= 0 ;
18758 PyObject
* obj7
= 0 ;
18759 char * kwnames
[] = {
18760 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18765 if (!SWIG_IsOK(res1
)) {
18766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18770 arg2
= wxString_in_helper(obj1
);
18771 if (arg2
== NULL
) SWIG_fail
;
18775 arg3
= wxString_in_helper(obj2
);
18776 if (arg3
== NULL
) SWIG_fail
;
18780 arg4
= wxString_in_helper(obj3
);
18781 if (arg4
== NULL
) SWIG_fail
;
18784 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18785 if (!SWIG_IsOK(ecode5
)) {
18786 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18788 arg5
= static_cast< long >(val5
);
18789 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18790 if (!SWIG_IsOK(ecode6
)) {
18791 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18793 arg6
= static_cast< long >(val6
);
18794 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18795 if (!SWIG_IsOK(ecode7
)) {
18796 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18798 arg7
= static_cast< long >(val7
);
18802 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18806 if (!wxPyCheckForApp()) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18843 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18844 PyObject
*resultobj
= 0;
18845 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18849 PyObject
*swig_obj
[1] ;
18851 if (!args
) SWIG_fail
;
18852 swig_obj
[0] = args
;
18853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18854 if (!SWIG_IsOK(res1
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18857 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (long)(arg1
)->GetValue();
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_From_long(static_cast< long >(result
));
18871 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18874 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18875 return SWIG_Py_Void();
18878 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18879 return SWIG_Python_InitShadowInstance(args
);
18882 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18883 PyObject
*resultobj
= 0;
18884 wxFontData
*result
= 0 ;
18886 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= (wxFontData
*)new wxFontData();
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18900 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18901 PyObject
*resultobj
= 0;
18902 wxFontData
*arg1
= (wxFontData
*) 0 ;
18905 PyObject
*swig_obj
[1] ;
18907 if (!args
) SWIG_fail
;
18908 swig_obj
[0] = args
;
18909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18910 if (!SWIG_IsOK(res1
)) {
18911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18913 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_Py_Void();
18928 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxFontData
*arg1
= (wxFontData
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "enable", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18947 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18949 if (!SWIG_IsOK(ecode2
)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18952 arg2
= static_cast< bool >(val2
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->EnableEffects(arg2
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18967 PyObject
*resultobj
= 0;
18968 wxFontData
*arg1
= (wxFontData
*) 0 ;
18972 PyObject
*swig_obj
[1] ;
18974 if (!args
) SWIG_fail
;
18975 swig_obj
[0] = args
;
18976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18980 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (bool)(arg1
)->GetAllowSymbols();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18996 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18997 PyObject
*resultobj
= 0;
18998 wxFontData
*arg1
= (wxFontData
*) 0 ;
19002 PyObject
*swig_obj
[1] ;
19004 if (!args
) SWIG_fail
;
19005 swig_obj
[0] = args
;
19006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19010 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (arg1
)->GetColour();
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19024 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19025 PyObject
*resultobj
= 0;
19026 wxFontData
*arg1
= (wxFontData
*) 0 ;
19030 PyObject
*swig_obj
[1] ;
19032 if (!args
) SWIG_fail
;
19033 swig_obj
[0] = args
;
19034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19035 if (!SWIG_IsOK(res1
)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19038 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (arg1
)->GetChosenFont();
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19052 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19053 PyObject
*resultobj
= 0;
19054 wxFontData
*arg1
= (wxFontData
*) 0 ;
19058 PyObject
*swig_obj
[1] ;
19060 if (!args
) SWIG_fail
;
19061 swig_obj
[0] = args
;
19062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19066 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (bool)(arg1
)->GetEnableEffects();
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19082 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19083 PyObject
*resultobj
= 0;
19084 wxFontData
*arg1
= (wxFontData
*) 0 ;
19088 PyObject
*swig_obj
[1] ;
19090 if (!args
) SWIG_fail
;
19091 swig_obj
[0] = args
;
19092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19093 if (!SWIG_IsOK(res1
)) {
19094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19096 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (arg1
)->GetInitialFont();
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19110 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19111 PyObject
*resultobj
= 0;
19112 wxFontData
*arg1
= (wxFontData
*) 0 ;
19116 PyObject
*swig_obj
[1] ;
19118 if (!args
) SWIG_fail
;
19119 swig_obj
[0] = args
;
19120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19121 if (!SWIG_IsOK(res1
)) {
19122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19124 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (bool)(arg1
)->GetShowHelp();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19140 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
= 0;
19142 wxFontData
*arg1
= (wxFontData
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "allowSymbols", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19159 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19160 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19161 if (!SWIG_IsOK(ecode2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19164 arg2
= static_cast< bool >(val2
);
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetAllowSymbols(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_Py_Void();
19178 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
= 0;
19180 wxFontData
*arg1
= (wxFontData
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char * kwnames
[] = {
19189 (char *) "self",(char *) "font", NULL
19192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19194 if (!SWIG_IsOK(res1
)) {
19195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19197 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19199 if (!SWIG_IsOK(res2
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19205 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_Py_Void();
19219 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
= 0;
19221 wxFontData
*arg1
= (wxFontData
*) 0 ;
19222 wxColour
*arg2
= 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 char * kwnames
[] = {
19229 (char *) "self",(char *) "colour", NULL
19232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19234 if (!SWIG_IsOK(res1
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19237 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19240 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetColour((wxColour
const &)*arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxFontData
*arg1
= (wxFontData
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char * kwnames
[] = {
19266 (char *) "self",(char *) "font", NULL
19269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19274 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19276 if (!SWIG_IsOK(res2
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19282 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_Py_Void();
19296 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
= 0;
19298 wxFontData
*arg1
= (wxFontData
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 PyObject
* obj2
= 0 ;
19310 char * kwnames
[] = {
19311 (char *) "self",(char *) "min",(char *) "max", NULL
19314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19319 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19321 if (!SWIG_IsOK(ecode2
)) {
19322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19324 arg2
= static_cast< int >(val2
);
19325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19326 if (!SWIG_IsOK(ecode3
)) {
19327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19329 arg3
= static_cast< int >(val3
);
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 (arg1
)->SetRange(arg2
,arg3
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= SWIG_Py_Void();
19343 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
= 0;
19345 wxFontData
*arg1
= (wxFontData
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char * kwnames
[] = {
19354 (char *) "self",(char *) "showHelp", NULL
19357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19359 if (!SWIG_IsOK(res1
)) {
19360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19362 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19363 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19364 if (!SWIG_IsOK(ecode2
)) {
19365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19367 arg2
= static_cast< bool >(val2
);
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 (arg1
)->SetShowHelp(arg2
);
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= SWIG_Py_Void();
19381 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19384 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19385 return SWIG_Py_Void();
19388 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19389 return SWIG_Python_InitShadowInstance(args
);
19392 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxWindow
*arg1
= (wxWindow
*) 0 ;
19395 wxFontData
*arg2
= 0 ;
19396 wxFontDialog
*result
= 0 ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 char * kwnames
[] = {
19404 (char *) "parent",(char *) "data", NULL
19407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19409 if (!SWIG_IsOK(res1
)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19414 if (!SWIG_IsOK(res2
)) {
19415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19420 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19422 if (!wxPyCheckForApp()) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19435 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19436 PyObject
*resultobj
= 0;
19437 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19438 wxFontData
*result
= 0 ;
19441 PyObject
*swig_obj
[1] ;
19443 if (!args
) SWIG_fail
;
19444 swig_obj
[0] = args
;
19445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19446 if (!SWIG_IsOK(res1
)) {
19447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19449 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19454 result
= (wxFontData
*) &_result_ref
;
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19466 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19469 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19470 return SWIG_Py_Void();
19473 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19474 return SWIG_Python_InitShadowInstance(args
);
19477 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
= 0;
19479 wxWindow
*arg1
= (wxWindow
*) NULL
;
19480 wxFont
const &arg2_defvalue
= wxNullFont
;
19481 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19482 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19483 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19489 bool temp3
= false ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 PyObject
* obj2
= 0 ;
19493 char * kwnames
[] = {
19494 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19500 if (!SWIG_IsOK(res1
)) {
19501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19507 if (!SWIG_IsOK(res2
)) {
19508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19513 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19517 arg3
= wxString_in_helper(obj2
);
19518 if (arg3
== NULL
) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19543 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxWindow
*arg1
= (wxWindow
*) 0 ;
19546 wxString
*arg2
= 0 ;
19547 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19549 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19552 wxMessageDialog
*result
= 0 ;
19555 bool temp2
= false ;
19556 bool temp3
= false ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 PyObject
* obj2
= 0 ;
19563 PyObject
* obj3
= 0 ;
19564 PyObject
* obj4
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19576 arg2
= wxString_in_helper(obj1
);
19577 if (arg2
== NULL
) SWIG_fail
;
19582 arg3
= wxString_in_helper(obj2
);
19583 if (arg3
== NULL
) SWIG_fail
;
19588 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19589 if (!SWIG_IsOK(ecode4
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19592 arg4
= static_cast< long >(val4
);
19597 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19601 if (!wxPyCheckForApp()) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19630 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19633 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19634 return SWIG_Py_Void();
19637 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19638 return SWIG_Python_InitShadowInstance(args
);
19641 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
= 0;
19643 wxString
*arg1
= 0 ;
19644 wxString
*arg2
= 0 ;
19645 int arg3
= (int) 100 ;
19646 wxWindow
*arg4
= (wxWindow
*) NULL
;
19647 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19648 wxProgressDialog
*result
= 0 ;
19649 bool temp1
= false ;
19650 bool temp2
= false ;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 PyObject
* obj2
= 0 ;
19660 PyObject
* obj3
= 0 ;
19661 PyObject
* obj4
= 0 ;
19662 char * kwnames
[] = {
19663 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19668 arg1
= wxString_in_helper(obj0
);
19669 if (arg1
== NULL
) SWIG_fail
;
19673 arg2
= wxString_in_helper(obj1
);
19674 if (arg2
== NULL
) SWIG_fail
;
19678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19679 if (!SWIG_IsOK(ecode3
)) {
19680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19682 arg3
= static_cast< int >(val3
);
19685 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19686 if (!SWIG_IsOK(res4
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19689 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19693 if (!SWIG_IsOK(ecode5
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19696 arg5
= static_cast< int >(val5
);
19699 if (!wxPyCheckForApp()) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19728 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
= 0;
19730 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19732 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19734 bool *arg4
= (bool *) 0 ;
19740 bool temp3
= false ;
19742 int res4
= SWIG_TMPOBJ
;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 PyObject
* obj2
= 0 ;
19746 char * kwnames
[] = {
19747 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19753 if (!SWIG_IsOK(res1
)) {
19754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19756 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19758 if (!SWIG_IsOK(ecode2
)) {
19759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19761 arg2
= static_cast< int >(val2
);
19764 arg3
= wxString_in_helper(obj2
);
19765 if (arg3
== NULL
) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19778 if (SWIG_IsTmpObj(res4
)) {
19779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19781 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19798 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
= 0;
19800 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19801 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19802 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19803 bool *arg3
= (bool *) 0 ;
19807 bool temp2
= false ;
19809 int res3
= SWIG_TMPOBJ
;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char * kwnames
[] = {
19813 (char *) "self",(char *) "newmsg", NULL
19817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19819 if (!SWIG_IsOK(res1
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19822 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19825 arg2
= wxString_in_helper(obj1
);
19826 if (arg2
== NULL
) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19839 if (SWIG_IsTmpObj(res3
)) {
19840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19842 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19859 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19860 PyObject
*resultobj
= 0;
19861 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19864 PyObject
*swig_obj
[1] ;
19866 if (!args
) SWIG_fail
;
19867 swig_obj
[0] = args
;
19868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19869 if (!SWIG_IsOK(res1
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19872 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= SWIG_Py_Void();
19886 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19889 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19890 return SWIG_Py_Void();
19893 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19894 return SWIG_Python_InitShadowInstance(args
);
19897 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
= 0;
19899 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19900 int arg2
= (int) 0 ;
19901 wxFindDialogEvent
*result
= 0 ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 char * kwnames
[] = {
19909 (char *) "commandType",(char *) "id", NULL
19912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19915 if (!SWIG_IsOK(ecode1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19918 arg1
= static_cast< wxEventType
>(val1
);
19921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19922 if (!SWIG_IsOK(ecode2
)) {
19923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19925 arg2
= static_cast< int >(val2
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19940 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19941 PyObject
*resultobj
= 0;
19942 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19946 PyObject
*swig_obj
[1] ;
19948 if (!args
) SWIG_fail
;
19949 swig_obj
[0] = args
;
19950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19954 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (int)(arg1
)->GetFlags();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_From_int(static_cast< int >(result
));
19968 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19969 PyObject
*resultobj
= 0;
19970 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19971 wxString
*result
= 0 ;
19974 PyObject
*swig_obj
[1] ;
19976 if (!args
) SWIG_fail
;
19977 swig_obj
[0] = args
;
19978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19979 if (!SWIG_IsOK(res1
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19982 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 wxString
const &_result_ref
= (arg1
)->GetFindString();
19987 result
= (wxString
*) &_result_ref
;
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19996 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20005 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20006 PyObject
*resultobj
= 0;
20007 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20008 wxString
*result
= 0 ;
20011 PyObject
*swig_obj
[1] ;
20013 if (!args
) SWIG_fail
;
20014 swig_obj
[0] = args
;
20015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20016 if (!SWIG_IsOK(res1
)) {
20017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20019 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20024 result
= (wxString
*) &_result_ref
;
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20033 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20042 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20043 PyObject
*resultobj
= 0;
20044 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20045 wxFindReplaceDialog
*result
= 0 ;
20048 PyObject
*swig_obj
[1] ;
20050 if (!args
) SWIG_fail
;
20051 swig_obj
[0] = args
;
20052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20053 if (!SWIG_IsOK(res1
)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20056 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20070 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
= 0;
20072 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "self",(char *) "flags", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20089 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20091 if (!SWIG_IsOK(ecode2
)) {
20092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20094 arg2
= static_cast< int >(val2
);
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 (arg1
)->SetFlags(arg2
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_Py_Void();
20108 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20111 wxString
*arg2
= 0 ;
20114 bool temp2
= false ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 char * kwnames
[] = {
20118 (char *) "self",(char *) "str", NULL
20121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20123 if (!SWIG_IsOK(res1
)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20126 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20128 arg2
= wxString_in_helper(obj1
);
20129 if (arg2
== NULL
) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->SetFindString((wxString
const &)*arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= SWIG_Py_Void();
20153 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20156 wxString
*arg2
= 0 ;
20159 bool temp2
= false ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char * kwnames
[] = {
20163 (char *) "self",(char *) "str", NULL
20166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20168 if (!SWIG_IsOK(res1
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20171 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20173 arg2
= wxString_in_helper(obj1
);
20174 if (arg2
== NULL
) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= SWIG_Py_Void();
20198 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20201 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20202 return SWIG_Py_Void();
20205 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20206 return SWIG_Python_InitShadowInstance(args
);
20209 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
= 0;
20211 int arg1
= (int) 0 ;
20212 wxFindReplaceData
*result
= 0 ;
20215 PyObject
* obj0
= 0 ;
20216 char * kwnames
[] = {
20217 (char *) "flags", NULL
20220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20222 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20223 if (!SWIG_IsOK(ecode1
)) {
20224 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20226 arg1
= static_cast< int >(val1
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20241 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20242 PyObject
*resultobj
= 0;
20243 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20246 PyObject
*swig_obj
[1] ;
20248 if (!args
) SWIG_fail
;
20249 swig_obj
[0] = args
;
20250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20251 if (!SWIG_IsOK(res1
)) {
20252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20254 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= SWIG_Py_Void();
20269 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20270 PyObject
*resultobj
= 0;
20271 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20272 wxString
*result
= 0 ;
20275 PyObject
*swig_obj
[1] ;
20277 if (!args
) SWIG_fail
;
20278 swig_obj
[0] = args
;
20279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20280 if (!SWIG_IsOK(res1
)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20283 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 wxString
const &_result_ref
= (arg1
)->GetFindString();
20288 result
= (wxString
*) &_result_ref
;
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20297 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20306 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20307 PyObject
*resultobj
= 0;
20308 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20309 wxString
*result
= 0 ;
20312 PyObject
*swig_obj
[1] ;
20314 if (!args
) SWIG_fail
;
20315 swig_obj
[0] = args
;
20316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20317 if (!SWIG_IsOK(res1
)) {
20318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20320 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20325 result
= (wxString
*) &_result_ref
;
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20334 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20343 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20344 PyObject
*resultobj
= 0;
20345 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20349 PyObject
*swig_obj
[1] ;
20351 if (!args
) SWIG_fail
;
20352 swig_obj
[0] = args
;
20353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20354 if (!SWIG_IsOK(res1
)) {
20355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20357 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (int)(arg1
)->GetFlags();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= SWIG_From_int(static_cast< int >(result
));
20371 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
= 0;
20373 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 PyObject
* obj1
= 0 ;
20381 char * kwnames
[] = {
20382 (char *) "self",(char *) "flags", NULL
20385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20387 if (!SWIG_IsOK(res1
)) {
20388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20390 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20392 if (!SWIG_IsOK(ecode2
)) {
20393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20395 arg2
= static_cast< int >(val2
);
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->SetFlags(arg2
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= SWIG_Py_Void();
20409 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
= 0;
20411 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20412 wxString
*arg2
= 0 ;
20415 bool temp2
= false ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 char * kwnames
[] = {
20419 (char *) "self",(char *) "str", NULL
20422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20424 if (!SWIG_IsOK(res1
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20427 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20429 arg2
= wxString_in_helper(obj1
);
20430 if (arg2
== NULL
) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 (arg1
)->SetFindString((wxString
const &)*arg2
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_Py_Void();
20454 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
= 0;
20456 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20457 wxString
*arg2
= 0 ;
20460 bool temp2
= false ;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 char * kwnames
[] = {
20464 (char *) "self",(char *) "str", NULL
20467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20469 if (!SWIG_IsOK(res1
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20472 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20474 arg2
= wxString_in_helper(obj1
);
20475 if (arg2
== NULL
) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_Py_Void();
20499 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20502 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20503 return SWIG_Py_Void();
20506 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20507 return SWIG_Python_InitShadowInstance(args
);
20510 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
= 0;
20512 wxWindow
*arg1
= (wxWindow
*) 0 ;
20513 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20514 wxString
*arg3
= 0 ;
20515 int arg4
= (int) 0 ;
20516 wxFindReplaceDialog
*result
= 0 ;
20521 bool temp3
= false ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 PyObject
* obj2
= 0 ;
20527 PyObject
* obj3
= 0 ;
20528 char * kwnames
[] = {
20529 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20534 if (!SWIG_IsOK(res1
)) {
20535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20539 if (!SWIG_IsOK(res2
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20542 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20544 arg3
= wxString_in_helper(obj2
);
20545 if (arg3
== NULL
) SWIG_fail
;
20549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20550 if (!SWIG_IsOK(ecode4
)) {
20551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20553 arg4
= static_cast< int >(val4
);
20556 if (!wxPyCheckForApp()) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20577 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20578 PyObject
*resultobj
= 0;
20579 wxFindReplaceDialog
*result
= 0 ;
20581 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20583 if (!wxPyCheckForApp()) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20596 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
= 0;
20598 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20599 wxWindow
*arg2
= (wxWindow
*) 0 ;
20600 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20601 wxString
*arg4
= 0 ;
20602 int arg5
= (int) 0 ;
20610 bool temp4
= false ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 PyObject
* obj2
= 0 ;
20616 PyObject
* obj3
= 0 ;
20617 PyObject
* obj4
= 0 ;
20618 char * kwnames
[] = {
20619 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20624 if (!SWIG_IsOK(res1
)) {
20625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20627 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20629 if (!SWIG_IsOK(res2
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20632 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20633 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20634 if (!SWIG_IsOK(res3
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20637 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20639 arg4
= wxString_in_helper(obj3
);
20640 if (arg4
== NULL
) SWIG_fail
;
20644 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20645 if (!SWIG_IsOK(ecode5
)) {
20646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20648 arg5
= static_cast< int >(val5
);
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20673 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20674 PyObject
*resultobj
= 0;
20675 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20676 wxFindReplaceData
*result
= 0 ;
20679 PyObject
*swig_obj
[1] ;
20681 if (!args
) SWIG_fail
;
20682 swig_obj
[0] = args
;
20683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20684 if (!SWIG_IsOK(res1
)) {
20685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20687 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20701 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
= 0;
20703 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20704 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 char * kwnames
[] = {
20712 (char *) "self",(char *) "data", NULL
20715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20717 if (!SWIG_IsOK(res1
)) {
20718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20720 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20722 if (!SWIG_IsOK(res2
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20725 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 (arg1
)->SetData(arg2
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= SWIG_Py_Void();
20739 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20742 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20743 return SWIG_Py_Void();
20746 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20747 return SWIG_Python_InitShadowInstance(args
);
20750 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
= 0;
20752 wxWindow
*arg1
= (wxWindow
*) 0 ;
20753 int arg2
= (int) (int)-1 ;
20754 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20755 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20760 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20761 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20762 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20763 wxMDIParentFrame
*result
= 0 ;
20768 bool temp3
= false ;
20773 bool temp7
= false ;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 PyObject
* obj2
= 0 ;
20777 PyObject
* obj3
= 0 ;
20778 PyObject
* obj4
= 0 ;
20779 PyObject
* obj5
= 0 ;
20780 PyObject
* obj6
= 0 ;
20781 char * kwnames
[] = {
20782 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20793 if (!SWIG_IsOK(ecode2
)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20796 arg2
= static_cast< int >(val2
);
20800 arg3
= wxString_in_helper(obj2
);
20801 if (arg3
== NULL
) SWIG_fail
;
20808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20818 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20819 if (!SWIG_IsOK(ecode6
)) {
20820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20822 arg6
= static_cast< long >(val6
);
20826 arg7
= wxString_in_helper(obj6
);
20827 if (arg7
== NULL
) SWIG_fail
;
20832 if (!wxPyCheckForApp()) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20861 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20862 PyObject
*resultobj
= 0;
20863 wxMDIParentFrame
*result
= 0 ;
20865 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20867 if (!wxPyCheckForApp()) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20880 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= 0;
20882 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20883 wxWindow
*arg2
= (wxWindow
*) 0 ;
20884 int arg3
= (int) (int)-1 ;
20885 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20886 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20887 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20888 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20889 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20890 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20891 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20892 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20893 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20901 bool temp4
= false ;
20906 bool temp8
= false ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 PyObject
* obj2
= 0 ;
20910 PyObject
* obj3
= 0 ;
20911 PyObject
* obj4
= 0 ;
20912 PyObject
* obj5
= 0 ;
20913 PyObject
* obj6
= 0 ;
20914 PyObject
* obj7
= 0 ;
20915 char * kwnames
[] = {
20916 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20924 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20925 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20926 if (!SWIG_IsOK(res2
)) {
20927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20929 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20932 if (!SWIG_IsOK(ecode3
)) {
20933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20935 arg3
= static_cast< int >(val3
);
20939 arg4
= wxString_in_helper(obj3
);
20940 if (arg4
== NULL
) SWIG_fail
;
20947 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20953 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20957 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20958 if (!SWIG_IsOK(ecode7
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20961 arg7
= static_cast< long >(val7
);
20965 arg8
= wxString_in_helper(obj7
);
20966 if (arg8
== NULL
) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21001 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21002 PyObject
*resultobj
= 0;
21003 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21006 PyObject
*swig_obj
[1] ;
21008 if (!args
) SWIG_fail
;
21009 swig_obj
[0] = args
;
21010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21014 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->ActivateNext();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_Py_Void();
21028 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21029 PyObject
*resultobj
= 0;
21030 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21033 PyObject
*swig_obj
[1] ;
21035 if (!args
) SWIG_fail
;
21036 swig_obj
[0] = args
;
21037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21038 if (!SWIG_IsOK(res1
)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21041 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 (arg1
)->ActivatePrevious();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_Py_Void();
21055 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21056 PyObject
*resultobj
= 0;
21057 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21060 PyObject
*swig_obj
[1] ;
21062 if (!args
) SWIG_fail
;
21063 swig_obj
[0] = args
;
21064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21065 if (!SWIG_IsOK(res1
)) {
21066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21068 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 (arg1
)->ArrangeIcons();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_Py_Void();
21082 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21083 PyObject
*resultobj
= 0;
21084 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21087 PyObject
*swig_obj
[1] ;
21089 if (!args
) SWIG_fail
;
21090 swig_obj
[0] = args
;
21091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21092 if (!SWIG_IsOK(res1
)) {
21093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21095 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= SWIG_Py_Void();
21109 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21110 PyObject
*resultobj
= 0;
21111 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21112 wxMDIChildFrame
*result
= 0 ;
21115 PyObject
*swig_obj
[1] ;
21117 if (!args
) SWIG_fail
;
21118 swig_obj
[0] = args
;
21119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21120 if (!SWIG_IsOK(res1
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21123 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21139 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 PyObject
*resultobj
= 0;
21141 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21142 wxMDIClientWindow
*result
= 0 ;
21145 PyObject
*swig_obj
[1] ;
21147 if (!args
) SWIG_fail
;
21148 swig_obj
[0] = args
;
21149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21153 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21169 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
= 0;
21171 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21172 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 char * kwnames
[] = {
21180 (char *) "self",(char *) "orient", NULL
21183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21185 if (!SWIG_IsOK(res1
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21188 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21191 if (!SWIG_IsOK(ecode2
)) {
21192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21194 arg2
= static_cast< wxOrientation
>(val2
);
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 (arg1
)->Tile(arg2
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_Py_Void();
21209 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21212 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21213 return SWIG_Py_Void();
21216 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21217 return SWIG_Python_InitShadowInstance(args
);
21220 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
= 0;
21222 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21223 int arg2
= (int) (int)-1 ;
21224 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21225 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21226 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21227 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21228 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21229 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21230 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21231 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21232 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21233 wxMDIChildFrame
*result
= 0 ;
21238 bool temp3
= false ;
21243 bool temp7
= false ;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 PyObject
* obj2
= 0 ;
21247 PyObject
* obj3
= 0 ;
21248 PyObject
* obj4
= 0 ;
21249 PyObject
* obj5
= 0 ;
21250 PyObject
* obj6
= 0 ;
21251 char * kwnames
[] = {
21252 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21257 if (!SWIG_IsOK(res1
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21260 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21263 if (!SWIG_IsOK(ecode2
)) {
21264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21266 arg2
= static_cast< int >(val2
);
21270 arg3
= wxString_in_helper(obj2
);
21271 if (arg3
== NULL
) SWIG_fail
;
21278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21288 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21289 if (!SWIG_IsOK(ecode6
)) {
21290 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21292 arg6
= static_cast< long >(val6
);
21296 arg7
= wxString_in_helper(obj6
);
21297 if (arg7
== NULL
) SWIG_fail
;
21302 if (!wxPyCheckForApp()) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21331 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21332 PyObject
*resultobj
= 0;
21333 wxMDIChildFrame
*result
= 0 ;
21335 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21337 if (!wxPyCheckForApp()) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21350 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
= 0;
21352 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21353 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21354 int arg3
= (int) (int)-1 ;
21355 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21356 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21357 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21358 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21359 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21360 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21361 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21362 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21363 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21371 bool temp4
= false ;
21376 bool temp8
= false ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 PyObject
* obj2
= 0 ;
21380 PyObject
* obj3
= 0 ;
21381 PyObject
* obj4
= 0 ;
21382 PyObject
* obj5
= 0 ;
21383 PyObject
* obj6
= 0 ;
21384 PyObject
* obj7
= 0 ;
21385 char * kwnames
[] = {
21386 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21391 if (!SWIG_IsOK(res1
)) {
21392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21394 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21395 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21396 if (!SWIG_IsOK(res2
)) {
21397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21399 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21402 if (!SWIG_IsOK(ecode3
)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21405 arg3
= static_cast< int >(val3
);
21409 arg4
= wxString_in_helper(obj3
);
21410 if (arg4
== NULL
) SWIG_fail
;
21417 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21423 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21427 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21428 if (!SWIG_IsOK(ecode7
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21431 arg7
= static_cast< long >(val7
);
21435 arg8
= wxString_in_helper(obj7
);
21436 if (arg8
== NULL
) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21471 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21472 PyObject
*resultobj
= 0;
21473 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21476 PyObject
*swig_obj
[1] ;
21478 if (!args
) SWIG_fail
;
21479 swig_obj
[0] = args
;
21480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21481 if (!SWIG_IsOK(res1
)) {
21482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21484 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 (arg1
)->Activate();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= SWIG_Py_Void();
21498 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21501 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21502 return SWIG_Py_Void();
21505 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21506 return SWIG_Python_InitShadowInstance(args
);
21509 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
= 0;
21511 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21512 long arg2
= (long) 0 ;
21513 wxMDIClientWindow
*result
= 0 ;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 char * kwnames
[] = {
21521 (char *) "parent",(char *) "style", NULL
21524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21526 if (!SWIG_IsOK(res1
)) {
21527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21529 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21531 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21532 if (!SWIG_IsOK(ecode2
)) {
21533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21535 arg2
= static_cast< long >(val2
);
21538 if (!wxPyCheckForApp()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21551 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21552 PyObject
*resultobj
= 0;
21553 wxMDIClientWindow
*result
= 0 ;
21555 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21557 if (!wxPyCheckForApp()) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21570 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
= 0;
21572 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21573 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21574 long arg3
= (long) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 PyObject
* obj2
= 0 ;
21585 char * kwnames
[] = {
21586 (char *) "self",(char *) "parent",(char *) "style", NULL
21589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21591 if (!SWIG_IsOK(res1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21594 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21596 if (!SWIG_IsOK(res2
)) {
21597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21599 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21601 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21602 if (!SWIG_IsOK(ecode3
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21605 arg3
= static_cast< long >(val3
);
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21622 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21625 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21626 return SWIG_Py_Void();
21629 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 return SWIG_Python_InitShadowInstance(args
);
21633 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
= 0;
21635 wxWindow
*arg1
= (wxWindow
*) 0 ;
21636 int arg2
= (int) (int)-1 ;
21637 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21638 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21639 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21640 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21641 long arg5
= (long) 0 ;
21642 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21643 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21644 wxPyWindow
*result
= 0 ;
21653 bool temp6
= false ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 PyObject
* obj2
= 0 ;
21657 PyObject
* obj3
= 0 ;
21658 PyObject
* obj4
= 0 ;
21659 PyObject
* obj5
= 0 ;
21660 char * kwnames
[] = {
21661 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21666 if (!SWIG_IsOK(res1
)) {
21667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21669 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21672 if (!SWIG_IsOK(ecode2
)) {
21673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21675 arg2
= static_cast< int >(val2
);
21680 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21686 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21690 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21691 if (!SWIG_IsOK(ecode5
)) {
21692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21694 arg5
= static_cast< long >(val5
);
21698 arg6
= wxString_in_helper(obj5
);
21699 if (arg6
== NULL
) SWIG_fail
;
21704 if (!wxPyCheckForApp()) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21725 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21726 PyObject
*resultobj
= 0;
21727 wxPyWindow
*result
= 0 ;
21729 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21731 if (!wxPyCheckForApp()) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (wxPyWindow
*)new wxPyWindow();
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21744 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
= 0;
21746 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21747 PyObject
*arg2
= (PyObject
*) 0 ;
21748 PyObject
*arg3
= (PyObject
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 PyObject
* obj2
= 0 ;
21754 char * kwnames
[] = {
21755 (char *) "self",(char *) "self",(char *) "_class", NULL
21758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21760 if (!SWIG_IsOK(res1
)) {
21761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21763 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_Py_Void();
21779 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
= 0;
21781 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21782 wxDC
*arg2
= (wxDC
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char * kwnames
[] = {
21791 (char *) "self",(char *) "dc", NULL
21794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21796 if (!SWIG_IsOK(res1
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21799 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21801 if (!SWIG_IsOK(res2
)) {
21802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21804 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21820 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
= 0;
21822 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 PyObject
* obj2
= 0 ;
21840 PyObject
* obj3
= 0 ;
21841 PyObject
* obj4
= 0 ;
21842 char * kwnames
[] = {
21843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21851 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21853 if (!SWIG_IsOK(ecode2
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21856 arg2
= static_cast< int >(val2
);
21857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21858 if (!SWIG_IsOK(ecode3
)) {
21859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21861 arg3
= static_cast< int >(val3
);
21862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21863 if (!SWIG_IsOK(ecode4
)) {
21864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21866 arg4
= static_cast< int >(val4
);
21867 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21868 if (!SWIG_IsOK(ecode5
)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21871 arg5
= static_cast< int >(val5
);
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_Py_Void();
21885 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
= 0;
21887 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21892 int arg6
= (int) wxSIZE_AUTO
;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 PyObject
* obj2
= 0 ;
21908 PyObject
* obj3
= 0 ;
21909 PyObject
* obj4
= 0 ;
21910 PyObject
* obj5
= 0 ;
21911 char * kwnames
[] = {
21912 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21920 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21922 if (!SWIG_IsOK(ecode2
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21925 arg2
= static_cast< int >(val2
);
21926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21927 if (!SWIG_IsOK(ecode3
)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21930 arg3
= static_cast< int >(val3
);
21931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21932 if (!SWIG_IsOK(ecode4
)) {
21933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21935 arg4
= static_cast< int >(val4
);
21936 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21937 if (!SWIG_IsOK(ecode5
)) {
21938 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21940 arg5
= static_cast< int >(val5
);
21942 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21943 if (!SWIG_IsOK(ecode6
)) {
21944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21946 arg6
= static_cast< int >(val6
);
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_Py_Void();
21961 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
= 0;
21963 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 char * kwnames
[] = {
21976 (char *) "self",(char *) "width",(char *) "height", NULL
21979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21981 if (!SWIG_IsOK(res1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21984 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21986 if (!SWIG_IsOK(ecode2
)) {
21987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21989 arg2
= static_cast< int >(val2
);
21990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21991 if (!SWIG_IsOK(ecode3
)) {
21992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21994 arg3
= static_cast< int >(val3
);
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 (arg1
)->DoSetClientSize(arg2
,arg3
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_Py_Void();
22008 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
= 0;
22010 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 PyObject
* obj2
= 0 ;
22022 char * kwnames
[] = {
22023 (char *) "self",(char *) "x",(char *) "y", NULL
22026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22031 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22033 if (!SWIG_IsOK(ecode2
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22036 arg2
= static_cast< int >(val2
);
22037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22038 if (!SWIG_IsOK(ecode3
)) {
22039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22041 arg3
= static_cast< int >(val3
);
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_Py_Void();
22055 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22056 PyObject
*resultobj
= 0;
22057 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22058 int *arg2
= (int *) 0 ;
22059 int *arg3
= (int *) 0 ;
22063 int res2
= SWIG_TMPOBJ
;
22065 int res3
= SWIG_TMPOBJ
;
22066 PyObject
*swig_obj
[1] ;
22070 if (!args
) SWIG_fail
;
22071 swig_obj
[0] = args
;
22072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22076 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_Py_Void();
22084 if (SWIG_IsTmpObj(res2
)) {
22085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22087 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22090 if (SWIG_IsTmpObj(res3
)) {
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22093 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22102 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22103 PyObject
*resultobj
= 0;
22104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22105 int *arg2
= (int *) 0 ;
22106 int *arg3
= (int *) 0 ;
22110 int res2
= SWIG_TMPOBJ
;
22112 int res3
= SWIG_TMPOBJ
;
22113 PyObject
*swig_obj
[1] ;
22117 if (!args
) SWIG_fail
;
22118 swig_obj
[0] = args
;
22119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22120 if (!SWIG_IsOK(res1
)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22123 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= SWIG_Py_Void();
22131 if (SWIG_IsTmpObj(res2
)) {
22132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22134 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22137 if (SWIG_IsTmpObj(res3
)) {
22138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22140 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22149 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22150 PyObject
*resultobj
= 0;
22151 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22152 int *arg2
= (int *) 0 ;
22153 int *arg3
= (int *) 0 ;
22157 int res2
= SWIG_TMPOBJ
;
22159 int res3
= SWIG_TMPOBJ
;
22160 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22170 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_Py_Void();
22178 if (SWIG_IsTmpObj(res2
)) {
22179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22181 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22184 if (SWIG_IsTmpObj(res3
)) {
22185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22187 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22196 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22197 PyObject
*resultobj
= 0;
22198 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22202 PyObject
*swig_obj
[1] ;
22204 if (!args
) SWIG_fail
;
22205 swig_obj
[0] = args
;
22206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22207 if (!SWIG_IsOK(res1
)) {
22208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22210 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22224 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22225 PyObject
*resultobj
= 0;
22226 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22230 PyObject
*swig_obj
[1] ;
22232 if (!args
) SWIG_fail
;
22233 swig_obj
[0] = args
;
22234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22238 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22252 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22253 PyObject
*resultobj
= 0;
22254 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22255 SwigValueWrapper
<wxVisualAttributes
> result
;
22258 PyObject
*swig_obj
[1] ;
22260 if (!args
) SWIG_fail
;
22261 swig_obj
[0] = args
;
22262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22263 if (!SWIG_IsOK(res1
)) {
22264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22266 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (arg1
)->GetDefaultAttributes();
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22280 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22281 PyObject
*resultobj
= 0;
22282 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22285 PyObject
*swig_obj
[1] ;
22287 if (!args
) SWIG_fail
;
22288 swig_obj
[0] = args
;
22289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22290 if (!SWIG_IsOK(res1
)) {
22291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22293 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 (arg1
)->OnInternalIdle();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 resultobj
= SWIG_Py_Void();
22307 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22310 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22311 return SWIG_Py_Void();
22314 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22315 return SWIG_Python_InitShadowInstance(args
);
22318 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
= 0;
22320 wxWindow
*arg1
= (wxWindow
*) 0 ;
22321 int arg2
= (int) (int)-1 ;
22322 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22323 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22324 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22325 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22326 long arg5
= (long) 0 ;
22327 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22328 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22329 wxPyPanel
*result
= 0 ;
22338 bool temp6
= false ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 PyObject
* obj2
= 0 ;
22342 PyObject
* obj3
= 0 ;
22343 PyObject
* obj4
= 0 ;
22344 PyObject
* obj5
= 0 ;
22345 char * kwnames
[] = {
22346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22351 if (!SWIG_IsOK(res1
)) {
22352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22357 if (!SWIG_IsOK(ecode2
)) {
22358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22360 arg2
= static_cast< int >(val2
);
22365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22375 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22376 if (!SWIG_IsOK(ecode5
)) {
22377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22379 arg5
= static_cast< long >(val5
);
22383 arg6
= wxString_in_helper(obj5
);
22384 if (arg6
== NULL
) SWIG_fail
;
22389 if (!wxPyCheckForApp()) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22410 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 PyObject
*resultobj
= 0;
22412 wxPyPanel
*result
= 0 ;
22414 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22416 if (!wxPyCheckForApp()) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (wxPyPanel
*)new wxPyPanel();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22429 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
= 0;
22431 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22432 PyObject
*arg2
= (PyObject
*) 0 ;
22433 PyObject
*arg3
= (PyObject
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 PyObject
* obj2
= 0 ;
22439 char * kwnames
[] = {
22440 (char *) "self",(char *) "self",(char *) "_class", NULL
22443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22448 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= SWIG_Py_Void();
22464 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
= 0;
22466 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22467 wxDC
*arg2
= (wxDC
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 PyObject
* obj1
= 0 ;
22475 char * kwnames
[] = {
22476 (char *) "self",(char *) "dc", NULL
22479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22481 if (!SWIG_IsOK(res1
)) {
22482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22484 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22486 if (!SWIG_IsOK(res2
)) {
22487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22489 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22505 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
= 0;
22507 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 PyObject
* obj2
= 0 ;
22525 PyObject
* obj3
= 0 ;
22526 PyObject
* obj4
= 0 ;
22527 char * kwnames
[] = {
22528 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22536 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22538 if (!SWIG_IsOK(ecode2
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22541 arg2
= static_cast< int >(val2
);
22542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22543 if (!SWIG_IsOK(ecode3
)) {
22544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22546 arg3
= static_cast< int >(val3
);
22547 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22548 if (!SWIG_IsOK(ecode4
)) {
22549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22551 arg4
= static_cast< int >(val4
);
22552 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22553 if (!SWIG_IsOK(ecode5
)) {
22554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22556 arg5
= static_cast< int >(val5
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_Py_Void();
22570 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
= 0;
22572 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22577 int arg6
= (int) wxSIZE_AUTO
;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 PyObject
* obj2
= 0 ;
22593 PyObject
* obj3
= 0 ;
22594 PyObject
* obj4
= 0 ;
22595 PyObject
* obj5
= 0 ;
22596 char * kwnames
[] = {
22597 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22605 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22607 if (!SWIG_IsOK(ecode2
)) {
22608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22610 arg2
= static_cast< int >(val2
);
22611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22612 if (!SWIG_IsOK(ecode3
)) {
22613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22615 arg3
= static_cast< int >(val3
);
22616 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22617 if (!SWIG_IsOK(ecode4
)) {
22618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22620 arg4
= static_cast< int >(val4
);
22621 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22622 if (!SWIG_IsOK(ecode5
)) {
22623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22625 arg5
= static_cast< int >(val5
);
22627 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22628 if (!SWIG_IsOK(ecode6
)) {
22629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22631 arg6
= static_cast< int >(val6
);
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= SWIG_Py_Void();
22646 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
= 0;
22648 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 PyObject
* obj1
= 0 ;
22659 PyObject
* obj2
= 0 ;
22660 char * kwnames
[] = {
22661 (char *) "self",(char *) "width",(char *) "height", NULL
22664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22666 if (!SWIG_IsOK(res1
)) {
22667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22669 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22671 if (!SWIG_IsOK(ecode2
)) {
22672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22674 arg2
= static_cast< int >(val2
);
22675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22676 if (!SWIG_IsOK(ecode3
)) {
22677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22679 arg3
= static_cast< int >(val3
);
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 (arg1
)->DoSetClientSize(arg2
,arg3
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= SWIG_Py_Void();
22693 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
= 0;
22695 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 char * kwnames
[] = {
22708 (char *) "self",(char *) "x",(char *) "y", NULL
22711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22713 if (!SWIG_IsOK(res1
)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22716 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22718 if (!SWIG_IsOK(ecode2
)) {
22719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22721 arg2
= static_cast< int >(val2
);
22722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22723 if (!SWIG_IsOK(ecode3
)) {
22724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22726 arg3
= static_cast< int >(val3
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_Py_Void();
22740 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22741 PyObject
*resultobj
= 0;
22742 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22743 int *arg2
= (int *) 0 ;
22744 int *arg3
= (int *) 0 ;
22748 int res2
= SWIG_TMPOBJ
;
22750 int res3
= SWIG_TMPOBJ
;
22751 PyObject
*swig_obj
[1] ;
22755 if (!args
) SWIG_fail
;
22756 swig_obj
[0] = args
;
22757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22761 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_Py_Void();
22769 if (SWIG_IsTmpObj(res2
)) {
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22772 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22775 if (SWIG_IsTmpObj(res3
)) {
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22778 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22787 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22788 PyObject
*resultobj
= 0;
22789 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22790 int *arg2
= (int *) 0 ;
22791 int *arg3
= (int *) 0 ;
22795 int res2
= SWIG_TMPOBJ
;
22797 int res3
= SWIG_TMPOBJ
;
22798 PyObject
*swig_obj
[1] ;
22802 if (!args
) SWIG_fail
;
22803 swig_obj
[0] = args
;
22804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22805 if (!SWIG_IsOK(res1
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22808 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_Py_Void();
22816 if (SWIG_IsTmpObj(res2
)) {
22817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22819 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22822 if (SWIG_IsTmpObj(res3
)) {
22823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22825 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22834 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22835 PyObject
*resultobj
= 0;
22836 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22837 int *arg2
= (int *) 0 ;
22838 int *arg3
= (int *) 0 ;
22842 int res2
= SWIG_TMPOBJ
;
22844 int res3
= SWIG_TMPOBJ
;
22845 PyObject
*swig_obj
[1] ;
22849 if (!args
) SWIG_fail
;
22850 swig_obj
[0] = args
;
22851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22852 if (!SWIG_IsOK(res1
)) {
22853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22855 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_Py_Void();
22863 if (SWIG_IsTmpObj(res2
)) {
22864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22866 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22869 if (SWIG_IsTmpObj(res3
)) {
22870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22872 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22881 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22887 PyObject
*swig_obj
[1] ;
22889 if (!args
) SWIG_fail
;
22890 swig_obj
[0] = args
;
22891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22892 if (!SWIG_IsOK(res1
)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22895 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22909 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22910 PyObject
*resultobj
= 0;
22911 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22915 PyObject
*swig_obj
[1] ;
22917 if (!args
) SWIG_fail
;
22918 swig_obj
[0] = args
;
22919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22923 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22937 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22938 PyObject
*resultobj
= 0;
22939 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22940 SwigValueWrapper
<wxVisualAttributes
> result
;
22943 PyObject
*swig_obj
[1] ;
22945 if (!args
) SWIG_fail
;
22946 swig_obj
[0] = args
;
22947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22948 if (!SWIG_IsOK(res1
)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22951 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 result
= (arg1
)->GetDefaultAttributes();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22965 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22966 PyObject
*resultobj
= 0;
22967 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22970 PyObject
*swig_obj
[1] ;
22972 if (!args
) SWIG_fail
;
22973 swig_obj
[0] = args
;
22974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22975 if (!SWIG_IsOK(res1
)) {
22976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22978 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->OnInternalIdle();
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_Py_Void();
22992 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22995 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22996 return SWIG_Py_Void();
22999 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23000 return SWIG_Python_InitShadowInstance(args
);
23003 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
= 0;
23005 wxWindow
*arg1
= (wxWindow
*) 0 ;
23006 int arg2
= (int) (int)-1 ;
23007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23011 long arg5
= (long) 0 ;
23012 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23013 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23014 wxPyScrolledWindow
*result
= 0 ;
23023 bool temp6
= false ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 PyObject
* obj2
= 0 ;
23027 PyObject
* obj3
= 0 ;
23028 PyObject
* obj4
= 0 ;
23029 PyObject
* obj5
= 0 ;
23030 char * kwnames
[] = {
23031 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23039 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23042 if (!SWIG_IsOK(ecode2
)) {
23043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23045 arg2
= static_cast< int >(val2
);
23050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23060 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23061 if (!SWIG_IsOK(ecode5
)) {
23062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23064 arg5
= static_cast< long >(val5
);
23068 arg6
= wxString_in_helper(obj5
);
23069 if (arg6
== NULL
) SWIG_fail
;
23074 if (!wxPyCheckForApp()) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23095 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23096 PyObject
*resultobj
= 0;
23097 wxPyScrolledWindow
*result
= 0 ;
23099 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23101 if (!wxPyCheckForApp()) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23114 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23115 PyObject
*resultobj
= 0;
23116 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23117 PyObject
*arg2
= (PyObject
*) 0 ;
23118 PyObject
*arg3
= (PyObject
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 PyObject
* obj1
= 0 ;
23123 PyObject
* obj2
= 0 ;
23124 char * kwnames
[] = {
23125 (char *) "self",(char *) "self",(char *) "_class", NULL
23128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23133 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_Py_Void();
23149 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
= 0;
23151 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23152 wxDC
*arg2
= (wxDC
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char * kwnames
[] = {
23161 (char *) "self",(char *) "dc", NULL
23164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23169 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23171 if (!SWIG_IsOK(res2
)) {
23172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23174 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23190 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
= 0;
23192 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 PyObject
* obj2
= 0 ;
23210 PyObject
* obj3
= 0 ;
23211 PyObject
* obj4
= 0 ;
23212 char * kwnames
[] = {
23213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23221 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23223 if (!SWIG_IsOK(ecode2
)) {
23224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23226 arg2
= static_cast< int >(val2
);
23227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23228 if (!SWIG_IsOK(ecode3
)) {
23229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23231 arg3
= static_cast< int >(val3
);
23232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23233 if (!SWIG_IsOK(ecode4
)) {
23234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23236 arg4
= static_cast< int >(val4
);
23237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23238 if (!SWIG_IsOK(ecode5
)) {
23239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23241 arg5
= static_cast< int >(val5
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_Py_Void();
23255 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
= 0;
23257 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23262 int arg6
= (int) wxSIZE_AUTO
;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 PyObject
* obj2
= 0 ;
23278 PyObject
* obj3
= 0 ;
23279 PyObject
* obj4
= 0 ;
23280 PyObject
* obj5
= 0 ;
23281 char * kwnames
[] = {
23282 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23290 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23292 if (!SWIG_IsOK(ecode2
)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23295 arg2
= static_cast< int >(val2
);
23296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23297 if (!SWIG_IsOK(ecode3
)) {
23298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23300 arg3
= static_cast< int >(val3
);
23301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23302 if (!SWIG_IsOK(ecode4
)) {
23303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23305 arg4
= static_cast< int >(val4
);
23306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23307 if (!SWIG_IsOK(ecode5
)) {
23308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23310 arg5
= static_cast< int >(val5
);
23312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23313 if (!SWIG_IsOK(ecode6
)) {
23314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23316 arg6
= static_cast< int >(val6
);
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_Py_Void();
23331 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
= 0;
23333 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 PyObject
* obj1
= 0 ;
23344 PyObject
* obj2
= 0 ;
23345 char * kwnames
[] = {
23346 (char *) "self",(char *) "width",(char *) "height", NULL
23349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23351 if (!SWIG_IsOK(res1
)) {
23352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23354 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23356 if (!SWIG_IsOK(ecode2
)) {
23357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23359 arg2
= static_cast< int >(val2
);
23360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23361 if (!SWIG_IsOK(ecode3
)) {
23362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23364 arg3
= static_cast< int >(val3
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 (arg1
)->DoSetClientSize(arg2
,arg3
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= SWIG_Py_Void();
23378 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
= 0;
23380 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 char * kwnames
[] = {
23393 (char *) "self",(char *) "x",(char *) "y", NULL
23396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23401 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23403 if (!SWIG_IsOK(ecode2
)) {
23404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23406 arg2
= static_cast< int >(val2
);
23407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23408 if (!SWIG_IsOK(ecode3
)) {
23409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23411 arg3
= static_cast< int >(val3
);
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_Py_Void();
23425 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23426 PyObject
*resultobj
= 0;
23427 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23428 int *arg2
= (int *) 0 ;
23429 int *arg3
= (int *) 0 ;
23433 int res2
= SWIG_TMPOBJ
;
23435 int res3
= SWIG_TMPOBJ
;
23436 PyObject
*swig_obj
[1] ;
23440 if (!args
) SWIG_fail
;
23441 swig_obj
[0] = args
;
23442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23443 if (!SWIG_IsOK(res1
)) {
23444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23446 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_Py_Void();
23454 if (SWIG_IsTmpObj(res2
)) {
23455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23457 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23460 if (SWIG_IsTmpObj(res3
)) {
23461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23463 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23472 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23473 PyObject
*resultobj
= 0;
23474 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23475 int *arg2
= (int *) 0 ;
23476 int *arg3
= (int *) 0 ;
23480 int res2
= SWIG_TMPOBJ
;
23482 int res3
= SWIG_TMPOBJ
;
23483 PyObject
*swig_obj
[1] ;
23487 if (!args
) SWIG_fail
;
23488 swig_obj
[0] = args
;
23489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23490 if (!SWIG_IsOK(res1
)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23493 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_Py_Void();
23501 if (SWIG_IsTmpObj(res2
)) {
23502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23504 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23507 if (SWIG_IsTmpObj(res3
)) {
23508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23510 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23519 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 PyObject
*resultobj
= 0;
23521 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23522 int *arg2
= (int *) 0 ;
23523 int *arg3
= (int *) 0 ;
23527 int res2
= SWIG_TMPOBJ
;
23529 int res3
= SWIG_TMPOBJ
;
23530 PyObject
*swig_obj
[1] ;
23534 if (!args
) SWIG_fail
;
23535 swig_obj
[0] = args
;
23536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23537 if (!SWIG_IsOK(res1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23540 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= SWIG_Py_Void();
23548 if (SWIG_IsTmpObj(res2
)) {
23549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23551 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23554 if (SWIG_IsTmpObj(res3
)) {
23555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23557 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23566 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23567 PyObject
*resultobj
= 0;
23568 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23572 PyObject
*swig_obj
[1] ;
23574 if (!args
) SWIG_fail
;
23575 swig_obj
[0] = args
;
23576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23580 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23594 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23595 PyObject
*resultobj
= 0;
23596 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23600 PyObject
*swig_obj
[1] ;
23602 if (!args
) SWIG_fail
;
23603 swig_obj
[0] = args
;
23604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23605 if (!SWIG_IsOK(res1
)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23608 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23622 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23623 PyObject
*resultobj
= 0;
23624 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23625 SwigValueWrapper
<wxVisualAttributes
> result
;
23628 PyObject
*swig_obj
[1] ;
23630 if (!args
) SWIG_fail
;
23631 swig_obj
[0] = args
;
23632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23633 if (!SWIG_IsOK(res1
)) {
23634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23636 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (arg1
)->GetDefaultAttributes();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23650 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23651 PyObject
*resultobj
= 0;
23652 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23655 PyObject
*swig_obj
[1] ;
23657 if (!args
) SWIG_fail
;
23658 swig_obj
[0] = args
;
23659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23660 if (!SWIG_IsOK(res1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23663 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 (arg1
)->OnInternalIdle();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_Py_Void();
23677 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23680 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23681 return SWIG_Py_Void();
23684 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23685 return SWIG_Python_InitShadowInstance(args
);
23688 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23689 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23694 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23695 PyObject
*pyobj
= 0;
23699 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23701 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23708 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23709 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23714 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23715 PyObject
*pyobj
= 0;
23719 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23721 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23728 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23729 PyObject
*resultobj
= 0;
23730 wxPrintData
*result
= 0 ;
23732 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (wxPrintData
*)new wxPrintData();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23746 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23747 PyObject
*resultobj
= 0;
23748 wxPrintData
*arg1
= 0 ;
23749 wxPrintData
*result
= 0 ;
23753 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23755 if (!SWIG_IsOK(res1
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23761 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23775 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23779 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23782 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23785 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23789 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23794 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23795 PyObject
*resultobj
= 0;
23796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23799 PyObject
*swig_obj
[1] ;
23801 if (!args
) SWIG_fail
;
23802 swig_obj
[0] = args
;
23803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23804 if (!SWIG_IsOK(res1
)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23807 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_Py_Void();
23822 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23823 PyObject
*resultobj
= 0;
23824 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23828 PyObject
*swig_obj
[1] ;
23830 if (!args
) SWIG_fail
;
23831 swig_obj
[0] = args
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23836 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)(arg1
)->GetNoCopies();
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_From_int(static_cast< int >(result
));
23850 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23851 PyObject
*resultobj
= 0;
23852 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23856 PyObject
*swig_obj
[1] ;
23858 if (!args
) SWIG_fail
;
23859 swig_obj
[0] = args
;
23860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23864 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (bool)(arg1
)->GetCollate();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23880 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23881 PyObject
*resultobj
= 0;
23882 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23886 PyObject
*swig_obj
[1] ;
23888 if (!args
) SWIG_fail
;
23889 swig_obj
[0] = args
;
23890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23894 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (int)(arg1
)->GetOrientation();
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= SWIG_From_int(static_cast< int >(result
));
23908 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23909 PyObject
*resultobj
= 0;
23910 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23914 PyObject
*swig_obj
[1] ;
23916 if (!args
) SWIG_fail
;
23917 swig_obj
[0] = args
;
23918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23919 if (!SWIG_IsOK(res1
)) {
23920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23922 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23938 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23939 PyObject
*resultobj
= 0;
23940 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23944 PyObject
*swig_obj
[1] ;
23946 if (!args
) SWIG_fail
;
23947 swig_obj
[0] = args
;
23948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23949 if (!SWIG_IsOK(res1
)) {
23950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23952 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (bool)(arg1
)->IsOk();
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23968 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23969 PyObject
*resultobj
= 0;
23970 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23971 wxString
*result
= 0 ;
23974 PyObject
*swig_obj
[1] ;
23976 if (!args
) SWIG_fail
;
23977 swig_obj
[0] = args
;
23978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23979 if (!SWIG_IsOK(res1
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23982 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23987 result
= (wxString
*) &_result_ref
;
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23996 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24005 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24006 PyObject
*resultobj
= 0;
24007 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24011 PyObject
*swig_obj
[1] ;
24013 if (!args
) SWIG_fail
;
24014 swig_obj
[0] = args
;
24015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24016 if (!SWIG_IsOK(res1
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24019 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= (bool)(arg1
)->GetColour();
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24035 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24036 PyObject
*resultobj
= 0;
24037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24038 wxDuplexMode result
;
24041 PyObject
*swig_obj
[1] ;
24043 if (!args
) SWIG_fail
;
24044 swig_obj
[0] = args
;
24045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24046 if (!SWIG_IsOK(res1
)) {
24047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24049 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24056 resultobj
= SWIG_From_int(static_cast< int >(result
));
24063 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24064 PyObject
*resultobj
= 0;
24065 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24066 wxPaperSize result
;
24069 PyObject
*swig_obj
[1] ;
24071 if (!args
) SWIG_fail
;
24072 swig_obj
[0] = args
;
24073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24077 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= SWIG_From_int(static_cast< int >(result
));
24091 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24092 PyObject
*resultobj
= 0;
24093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24094 wxSize
*result
= 0 ;
24097 PyObject
*swig_obj
[1] ;
24099 if (!args
) SWIG_fail
;
24100 swig_obj
[0] = args
;
24101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24102 if (!SWIG_IsOK(res1
)) {
24103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24105 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24110 result
= (wxSize
*) &_result_ref
;
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24122 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24123 PyObject
*resultobj
= 0;
24124 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24128 PyObject
*swig_obj
[1] ;
24130 if (!args
) SWIG_fail
;
24131 swig_obj
[0] = args
;
24132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24133 if (!SWIG_IsOK(res1
)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24136 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (int)(arg1
)->GetQuality();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= SWIG_From_int(static_cast< int >(result
));
24150 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24151 PyObject
*resultobj
= 0;
24152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24156 PyObject
*swig_obj
[1] ;
24158 if (!args
) SWIG_fail
;
24159 swig_obj
[0] = args
;
24160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24164 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (wxPrintBin
)(arg1
)->GetBin();
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_From_int(static_cast< int >(result
));
24178 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 PyObject
*resultobj
= 0;
24180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24181 wxPrintMode result
;
24184 PyObject
*swig_obj
[1] ;
24186 if (!args
) SWIG_fail
;
24187 swig_obj
[0] = args
;
24188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24189 if (!SWIG_IsOK(res1
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24192 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_From_int(static_cast< int >(result
));
24206 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24207 PyObject
*resultobj
= 0;
24208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24212 PyObject
*swig_obj
[1] ;
24214 if (!args
) SWIG_fail
;
24215 swig_obj
[0] = args
;
24216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24220 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_From_int(static_cast< int >(result
));
24234 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
= 0;
24236 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 char * kwnames
[] = {
24245 (char *) "self",(char *) "v", NULL
24248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24253 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24255 if (!SWIG_IsOK(ecode2
)) {
24256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24258 arg2
= static_cast< int >(val2
);
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 (arg1
)->SetNoCopies(arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_Py_Void();
24272 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
= 0;
24274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char * kwnames
[] = {
24283 (char *) "self",(char *) "flag", NULL
24286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24291 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24292 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24293 if (!SWIG_IsOK(ecode2
)) {
24294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24296 arg2
= static_cast< bool >(val2
);
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->SetCollate(arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= SWIG_Py_Void();
24310 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
= 0;
24312 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char * kwnames
[] = {
24321 (char *) "self",(char *) "orient", NULL
24324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24329 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24331 if (!SWIG_IsOK(ecode2
)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24334 arg2
= static_cast< int >(val2
);
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 (arg1
)->SetOrientation(arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= SWIG_Py_Void();
24348 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
= 0;
24350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 PyObject
* obj1
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "reversed", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24367 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24368 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24372 arg2
= static_cast< bool >(val2
);
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 (arg1
)->SetOrientationReversed(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_Py_Void();
24386 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= 0;
24388 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24389 wxString
*arg2
= 0 ;
24392 bool temp2
= false ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char * kwnames
[] = {
24396 (char *) "self",(char *) "name", NULL
24399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24401 if (!SWIG_IsOK(res1
)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24404 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24406 arg2
= wxString_in_helper(obj1
);
24407 if (arg2
== NULL
) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_Py_Void();
24431 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
= 0;
24433 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "self",(char *) "colour", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24450 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24451 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24452 if (!SWIG_IsOK(ecode2
)) {
24453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24455 arg2
= static_cast< bool >(val2
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 (arg1
)->SetColour(arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_Py_Void();
24469 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
= 0;
24471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24472 wxDuplexMode arg2
;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char * kwnames
[] = {
24480 (char *) "self",(char *) "duplex", NULL
24483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24485 if (!SWIG_IsOK(res1
)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24488 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24490 if (!SWIG_IsOK(ecode2
)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24493 arg2
= static_cast< wxDuplexMode
>(val2
);
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->SetDuplex(arg2
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= SWIG_Py_Void();
24507 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
= 0;
24509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 char * kwnames
[] = {
24518 (char *) "self",(char *) "sizeId", NULL
24521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24526 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24528 if (!SWIG_IsOK(ecode2
)) {
24529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24531 arg2
= static_cast< wxPaperSize
>(val2
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 (arg1
)->SetPaperId(arg2
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_Py_Void();
24545 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
= 0;
24547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char * kwnames
[] = {
24555 (char *) "self",(char *) "sz", NULL
24558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24560 if (!SWIG_IsOK(res1
)) {
24561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24563 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_Py_Void();
24581 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
= 0;
24583 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 PyObject
* obj1
= 0 ;
24591 char * kwnames
[] = {
24592 (char *) "self",(char *) "quality", NULL
24595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24597 if (!SWIG_IsOK(res1
)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24600 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24602 if (!SWIG_IsOK(ecode2
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24605 arg2
= static_cast< int >(val2
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 (arg1
)->SetQuality(arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_Py_Void();
24619 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= 0;
24621 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 PyObject
* obj1
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "self",(char *) "bin", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24638 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24640 if (!SWIG_IsOK(ecode2
)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24643 arg2
= static_cast< wxPrintBin
>(val2
);
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 (arg1
)->SetBin(arg2
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= SWIG_Py_Void();
24657 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 PyObject
* obj1
= 0 ;
24667 char * kwnames
[] = {
24668 (char *) "self",(char *) "printMode", NULL
24671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24673 if (!SWIG_IsOK(res1
)) {
24674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24676 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24678 if (!SWIG_IsOK(ecode2
)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24681 arg2
= static_cast< wxPrintMode
>(val2
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->SetPrintMode(arg2
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_Py_Void();
24695 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "self",(char *) "media", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24714 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24716 if (!SWIG_IsOK(ecode2
)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24719 arg2
= static_cast< int >(val2
);
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 (arg1
)->SetMedia(arg2
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_Py_Void();
24733 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24734 PyObject
*resultobj
= 0;
24735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24739 PyObject
*swig_obj
[1] ;
24741 if (!args
) SWIG_fail
;
24742 swig_obj
[0] = args
;
24743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24747 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24767 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
= 0;
24769 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24770 wxString
*arg2
= 0 ;
24773 bool temp2
= false ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char * kwnames
[] = {
24777 (char *) "self",(char *) "filename", NULL
24780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24782 if (!SWIG_IsOK(res1
)) {
24783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24785 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24787 arg2
= wxString_in_helper(obj1
);
24788 if (arg2
== NULL
) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetFilename((wxString
const &)*arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_Py_Void();
24812 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24813 PyObject
*resultobj
= 0;
24814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24815 PyObject
*result
= 0 ;
24818 PyObject
*swig_obj
[1] ;
24820 if (!args
) SWIG_fail
;
24821 swig_obj
[0] = args
;
24822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24823 if (!SWIG_IsOK(res1
)) {
24824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24826 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= result
;
24840 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24843 PyObject
*arg2
= (PyObject
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 char * kwnames
[] = {
24849 (char *) "self",(char *) "data", NULL
24852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24857 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 wxPrintData_SetPrivData(arg1
,arg2
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_Py_Void();
24872 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24875 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24876 return SWIG_Py_Void();
24879 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24880 return SWIG_Python_InitShadowInstance(args
);
24883 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24884 PyObject
*resultobj
= 0;
24885 wxPageSetupDialogData
*result
= 0 ;
24887 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24901 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24902 PyObject
*resultobj
= 0;
24903 wxPageSetupDialogData
*arg1
= 0 ;
24904 wxPageSetupDialogData
*result
= 0 ;
24908 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24910 if (!SWIG_IsOK(res1
)) {
24911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24916 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24930 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24931 PyObject
*resultobj
= 0;
24932 wxPrintData
*arg1
= 0 ;
24933 wxPageSetupDialogData
*result
= 0 ;
24937 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24945 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24959 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24963 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24966 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24971 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24972 _v
= SWIG_CheckState(res
);
24974 if (!_v
) goto check_2
;
24975 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24980 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24984 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24989 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24990 PyObject
*resultobj
= 0;
24991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24994 PyObject
*swig_obj
[1] ;
24996 if (!args
) SWIG_fail
;
24997 swig_obj
[0] = args
;
24998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24999 if (!SWIG_IsOK(res1
)) {
25000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25002 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_Py_Void();
25017 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
= 0;
25019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char * kwnames
[] = {
25028 (char *) "self",(char *) "flag", NULL
25031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25036 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25037 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25038 if (!SWIG_IsOK(ecode2
)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25041 arg2
= static_cast< bool >(val2
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 (arg1
)->EnableHelp(arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_Py_Void();
25055 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
= 0;
25057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 PyObject
* obj1
= 0 ;
25065 char * kwnames
[] = {
25066 (char *) "self",(char *) "flag", NULL
25069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25071 if (!SWIG_IsOK(res1
)) {
25072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25074 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25075 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25076 if (!SWIG_IsOK(ecode2
)) {
25077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25079 arg2
= static_cast< bool >(val2
);
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 (arg1
)->EnableMargins(arg2
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= SWIG_Py_Void();
25093 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= 0;
25095 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25101 PyObject
* obj0
= 0 ;
25102 PyObject
* obj1
= 0 ;
25103 char * kwnames
[] = {
25104 (char *) "self",(char *) "flag", NULL
25107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25109 if (!SWIG_IsOK(res1
)) {
25110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25112 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25113 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25114 if (!SWIG_IsOK(ecode2
)) {
25115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25117 arg2
= static_cast< bool >(val2
);
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->EnableOrientation(arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_Py_Void();
25131 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
= 0;
25133 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25139 PyObject
* obj0
= 0 ;
25140 PyObject
* obj1
= 0 ;
25141 char * kwnames
[] = {
25142 (char *) "self",(char *) "flag", NULL
25145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25150 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25151 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25152 if (!SWIG_IsOK(ecode2
)) {
25153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25155 arg2
= static_cast< bool >(val2
);
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 (arg1
)->EnablePaper(arg2
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_Py_Void();
25169 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
= 0;
25171 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char * kwnames
[] = {
25180 (char *) "self",(char *) "flag", NULL
25183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25188 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25189 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25190 if (!SWIG_IsOK(ecode2
)) {
25191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25193 arg2
= static_cast< bool >(val2
);
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 (arg1
)->EnablePrinter(arg2
);
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= SWIG_Py_Void();
25207 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25208 PyObject
*resultobj
= 0;
25209 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25213 PyObject
*swig_obj
[1] ;
25215 if (!args
) SWIG_fail
;
25216 swig_obj
[0] = args
;
25217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25218 if (!SWIG_IsOK(res1
)) {
25219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25221 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 result
= (bool)(arg1
)->GetDefaultMinMargins();
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25237 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25238 PyObject
*resultobj
= 0;
25239 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25243 PyObject
*swig_obj
[1] ;
25245 if (!args
) SWIG_fail
;
25246 swig_obj
[0] = args
;
25247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25251 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (bool)(arg1
)->GetEnableMargins();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25267 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25268 PyObject
*resultobj
= 0;
25269 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25273 PyObject
*swig_obj
[1] ;
25275 if (!args
) SWIG_fail
;
25276 swig_obj
[0] = args
;
25277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25278 if (!SWIG_IsOK(res1
)) {
25279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25281 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (bool)(arg1
)->GetEnableOrientation();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25297 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25298 PyObject
*resultobj
= 0;
25299 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25303 PyObject
*swig_obj
[1] ;
25305 if (!args
) SWIG_fail
;
25306 swig_obj
[0] = args
;
25307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25311 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (bool)(arg1
)->GetEnablePaper();
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25327 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25328 PyObject
*resultobj
= 0;
25329 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25333 PyObject
*swig_obj
[1] ;
25335 if (!args
) SWIG_fail
;
25336 swig_obj
[0] = args
;
25337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25338 if (!SWIG_IsOK(res1
)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25341 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (bool)(arg1
)->GetEnablePrinter();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25357 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25358 PyObject
*resultobj
= 0;
25359 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25363 PyObject
*swig_obj
[1] ;
25365 if (!args
) SWIG_fail
;
25366 swig_obj
[0] = args
;
25367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25371 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= (bool)(arg1
)->GetEnableHelp();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25387 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 PyObject
*resultobj
= 0;
25389 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25393 PyObject
*swig_obj
[1] ;
25395 if (!args
) SWIG_fail
;
25396 swig_obj
[0] = args
;
25397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25398 if (!SWIG_IsOK(res1
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25401 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (bool)(arg1
)->GetDefaultInfo();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25417 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 PyObject
*resultobj
= 0;
25419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25423 PyObject
*swig_obj
[1] ;
25425 if (!args
) SWIG_fail
;
25426 swig_obj
[0] = args
;
25427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25428 if (!SWIG_IsOK(res1
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= (arg1
)->GetMarginTopLeft();
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25445 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25446 PyObject
*resultobj
= 0;
25447 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25451 PyObject
*swig_obj
[1] ;
25453 if (!args
) SWIG_fail
;
25454 swig_obj
[0] = args
;
25455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25459 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (arg1
)->GetMarginBottomRight();
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25473 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 PyObject
*resultobj
= 0;
25475 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25479 PyObject
*swig_obj
[1] ;
25481 if (!args
) SWIG_fail
;
25482 swig_obj
[0] = args
;
25483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25484 if (!SWIG_IsOK(res1
)) {
25485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25487 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (arg1
)->GetMinMarginTopLeft();
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25501 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25502 PyObject
*resultobj
= 0;
25503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25507 PyObject
*swig_obj
[1] ;
25509 if (!args
) SWIG_fail
;
25510 swig_obj
[0] = args
;
25511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25512 if (!SWIG_IsOK(res1
)) {
25513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25515 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (arg1
)->GetMinMarginBottomRight();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25529 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25530 PyObject
*resultobj
= 0;
25531 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25532 wxPaperSize result
;
25535 PyObject
*swig_obj
[1] ;
25537 if (!args
) SWIG_fail
;
25538 swig_obj
[0] = args
;
25539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25540 if (!SWIG_IsOK(res1
)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25543 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= SWIG_From_int(static_cast< int >(result
));
25557 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25558 PyObject
*resultobj
= 0;
25559 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25563 PyObject
*swig_obj
[1] ;
25565 if (!args
) SWIG_fail
;
25566 swig_obj
[0] = args
;
25567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25571 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (arg1
)->GetPaperSize();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25585 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25586 PyObject
*resultobj
= 0;
25587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25588 wxPrintData
*result
= 0 ;
25591 PyObject
*swig_obj
[1] ;
25593 if (!args
) SWIG_fail
;
25594 swig_obj
[0] = args
;
25595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25596 if (!SWIG_IsOK(res1
)) {
25597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25599 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25604 result
= (wxPrintData
*) &_result_ref
;
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25616 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25617 PyObject
*resultobj
= 0;
25618 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25622 PyObject
*swig_obj
[1] ;
25624 if (!args
) SWIG_fail
;
25625 swig_obj
[0] = args
;
25626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25627 if (!SWIG_IsOK(res1
)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25630 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 result
= (bool)(arg1
)->IsOk();
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25646 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
= 0;
25648 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25654 PyObject
* obj0
= 0 ;
25655 PyObject
* obj1
= 0 ;
25656 char * kwnames
[] = {
25657 (char *) "self",(char *) "flag", NULL
25660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25662 if (!SWIG_IsOK(res1
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25665 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25666 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25667 if (!SWIG_IsOK(ecode2
)) {
25668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25670 arg2
= static_cast< bool >(val2
);
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 (arg1
)->SetDefaultInfo(arg2
);
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_Py_Void();
25684 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char * kwnames
[] = {
25695 (char *) "self",(char *) "flag", NULL
25698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25703 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25704 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25705 if (!SWIG_IsOK(ecode2
)) {
25706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25708 arg2
= static_cast< bool >(val2
);
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 (arg1
)->SetDefaultMinMargins(arg2
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_Py_Void();
25722 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
= 0;
25724 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25725 wxPoint
*arg2
= 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char * kwnames
[] = {
25732 (char *) "self",(char *) "pt", NULL
25735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25740 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_Py_Void();
25758 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
= 0;
25760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25761 wxPoint
*arg2
= 0 ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 char * kwnames
[] = {
25768 (char *) "self",(char *) "pt", NULL
25771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25776 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_Py_Void();
25794 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
= 0;
25796 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25797 wxPoint
*arg2
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char * kwnames
[] = {
25804 (char *) "self",(char *) "pt", NULL
25807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25809 if (!SWIG_IsOK(res1
)) {
25810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25812 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= SWIG_Py_Void();
25830 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
= 0;
25832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25833 wxPoint
*arg2
= 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 char * kwnames
[] = {
25840 (char *) "self",(char *) "pt", NULL
25843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25845 if (!SWIG_IsOK(res1
)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25848 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_Py_Void();
25866 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
= 0;
25868 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 char * kwnames
[] = {
25877 (char *) "self",(char *) "id", NULL
25880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25882 if (!SWIG_IsOK(res1
)) {
25883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25885 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25887 if (!SWIG_IsOK(ecode2
)) {
25888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25890 arg2
= static_cast< wxPaperSize
>(val2
);
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 (arg1
)->SetPaperId(arg2
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_Py_Void();
25904 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
= 0;
25906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25911 PyObject
* obj0
= 0 ;
25912 PyObject
* obj1
= 0 ;
25913 char * kwnames
[] = {
25914 (char *) "self",(char *) "size", NULL
25917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25922 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25925 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_Py_Void();
25940 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
= 0;
25942 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25943 wxPrintData
*arg2
= 0 ;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 char * kwnames
[] = {
25951 (char *) "self",(char *) "printData", NULL
25954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25956 if (!SWIG_IsOK(res1
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25959 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25961 if (!SWIG_IsOK(res2
)) {
25962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25967 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25974 resultobj
= SWIG_Py_Void();
25981 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25982 PyObject
*resultobj
= 0;
25983 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25986 PyObject
*swig_obj
[1] ;
25988 if (!args
) SWIG_fail
;
25989 swig_obj
[0] = args
;
25990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25991 if (!SWIG_IsOK(res1
)) {
25992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25994 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 (arg1
)->CalculateIdFromPaperSize();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26001 resultobj
= SWIG_Py_Void();
26008 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26009 PyObject
*resultobj
= 0;
26010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26013 PyObject
*swig_obj
[1] ;
26015 if (!args
) SWIG_fail
;
26016 swig_obj
[0] = args
;
26017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26018 if (!SWIG_IsOK(res1
)) {
26019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26021 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 (arg1
)->CalculatePaperSizeFromId();
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= SWIG_Py_Void();
26035 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26038 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26039 return SWIG_Py_Void();
26042 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26043 return SWIG_Python_InitShadowInstance(args
);
26046 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
= 0;
26048 wxWindow
*arg1
= (wxWindow
*) 0 ;
26049 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26050 wxPageSetupDialog
*result
= 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 char * kwnames
[] = {
26058 (char *) "parent",(char *) "data", NULL
26061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26063 if (!SWIG_IsOK(res1
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26069 if (!SWIG_IsOK(res2
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26072 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26075 if (!wxPyCheckForApp()) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26088 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26089 PyObject
*resultobj
= 0;
26090 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26093 PyObject
*swig_obj
[1] ;
26095 if (!args
) SWIG_fail
;
26096 swig_obj
[0] = args
;
26097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26101 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= SWIG_Py_Void();
26116 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 PyObject
*resultobj
= 0;
26118 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26119 wxPageSetupDialogData
*result
= 0 ;
26122 PyObject
*swig_obj
[1] ;
26124 if (!args
) SWIG_fail
;
26125 swig_obj
[0] = args
;
26126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26130 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26135 result
= (wxPageSetupDialogData
*) &_result_ref
;
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26147 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26148 PyObject
*resultobj
= 0;
26149 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26150 wxPageSetupDialogData
*result
= 0 ;
26153 PyObject
*swig_obj
[1] ;
26155 if (!args
) SWIG_fail
;
26156 swig_obj
[0] = args
;
26157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26161 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26166 result
= (wxPageSetupDialogData
*) &_result_ref
;
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26178 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26179 PyObject
*resultobj
= 0;
26180 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26184 PyObject
*swig_obj
[1] ;
26186 if (!args
) SWIG_fail
;
26187 swig_obj
[0] = args
;
26188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26189 if (!SWIG_IsOK(res1
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26192 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 result
= (int)(arg1
)->ShowModal();
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= SWIG_From_int(static_cast< int >(result
));
26206 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26209 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26210 return SWIG_Py_Void();
26213 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26214 return SWIG_Python_InitShadowInstance(args
);
26217 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26218 PyObject
*resultobj
= 0;
26219 wxPrintDialogData
*result
= 0 ;
26221 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26235 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26236 PyObject
*resultobj
= 0;
26237 wxPrintData
*arg1
= 0 ;
26238 wxPrintDialogData
*result
= 0 ;
26242 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26250 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26264 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26265 PyObject
*resultobj
= 0;
26266 wxPrintDialogData
*arg1
= 0 ;
26267 wxPrintDialogData
*result
= 0 ;
26271 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26279 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26293 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26300 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26305 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26306 _v
= SWIG_CheckState(res
);
26308 if (!_v
) goto check_2
;
26309 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26314 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26318 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26323 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26324 PyObject
*resultobj
= 0;
26325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26328 PyObject
*swig_obj
[1] ;
26330 if (!args
) SWIG_fail
;
26331 swig_obj
[0] = args
;
26332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26333 if (!SWIG_IsOK(res1
)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26336 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_Py_Void();
26351 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26352 PyObject
*resultobj
= 0;
26353 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26357 PyObject
*swig_obj
[1] ;
26359 if (!args
) SWIG_fail
;
26360 swig_obj
[0] = args
;
26361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26362 if (!SWIG_IsOK(res1
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26365 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= SWIG_From_int(static_cast< int >(result
));
26379 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26380 PyObject
*resultobj
= 0;
26381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26385 PyObject
*swig_obj
[1] ;
26387 if (!args
) SWIG_fail
;
26388 swig_obj
[0] = args
;
26389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26393 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_From_int(static_cast< int >(result
));
26407 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26408 PyObject
*resultobj
= 0;
26409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26413 PyObject
*swig_obj
[1] ;
26415 if (!args
) SWIG_fail
;
26416 swig_obj
[0] = args
;
26417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26418 if (!SWIG_IsOK(res1
)) {
26419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26421 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_From_int(static_cast< int >(result
));
26435 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 PyObject
*resultobj
= 0;
26437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26441 PyObject
*swig_obj
[1] ;
26443 if (!args
) SWIG_fail
;
26444 swig_obj
[0] = args
;
26445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26446 if (!SWIG_IsOK(res1
)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26449 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_From_int(static_cast< int >(result
));
26463 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26464 PyObject
*resultobj
= 0;
26465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26469 PyObject
*swig_obj
[1] ;
26471 if (!args
) SWIG_fail
;
26472 swig_obj
[0] = args
;
26473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26474 if (!SWIG_IsOK(res1
)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26477 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_From_int(static_cast< int >(result
));
26491 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26492 PyObject
*resultobj
= 0;
26493 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26497 PyObject
*swig_obj
[1] ;
26499 if (!args
) SWIG_fail
;
26500 swig_obj
[0] = args
;
26501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26502 if (!SWIG_IsOK(res1
)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26505 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26521 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26522 PyObject
*resultobj
= 0;
26523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26527 PyObject
*swig_obj
[1] ;
26529 if (!args
) SWIG_fail
;
26530 swig_obj
[0] = args
;
26531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26532 if (!SWIG_IsOK(res1
)) {
26533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26535 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26551 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26552 PyObject
*resultobj
= 0;
26553 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26557 PyObject
*swig_obj
[1] ;
26559 if (!args
) SWIG_fail
;
26560 swig_obj
[0] = args
;
26561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26562 if (!SWIG_IsOK(res1
)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26565 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26581 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26582 PyObject
*resultobj
= 0;
26583 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26587 PyObject
*swig_obj
[1] ;
26589 if (!args
) SWIG_fail
;
26590 swig_obj
[0] = args
;
26591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26592 if (!SWIG_IsOK(res1
)) {
26593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26595 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26611 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
= 0;
26613 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char * kwnames
[] = {
26622 (char *) "self",(char *) "v", NULL
26625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26630 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26632 if (!SWIG_IsOK(ecode2
)) {
26633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26635 arg2
= static_cast< int >(val2
);
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->SetFromPage(arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_Py_Void();
26649 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
= 0;
26651 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char * kwnames
[] = {
26660 (char *) "self",(char *) "v", NULL
26663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26668 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26670 if (!SWIG_IsOK(ecode2
)) {
26671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26673 arg2
= static_cast< int >(val2
);
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 (arg1
)->SetToPage(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_Py_Void();
26687 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= 0;
26689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 char * kwnames
[] = {
26698 (char *) "self",(char *) "v", NULL
26701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26703 if (!SWIG_IsOK(res1
)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26706 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26708 if (!SWIG_IsOK(ecode2
)) {
26709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26711 arg2
= static_cast< int >(val2
);
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 (arg1
)->SetMinPage(arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_Py_Void();
26725 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
= 0;
26727 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 char * kwnames
[] = {
26736 (char *) "self",(char *) "v", NULL
26739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26741 if (!SWIG_IsOK(res1
)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26744 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26746 if (!SWIG_IsOK(ecode2
)) {
26747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26749 arg2
= static_cast< int >(val2
);
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 (arg1
)->SetMaxPage(arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_Py_Void();
26763 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
= 0;
26765 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char * kwnames
[] = {
26774 (char *) "self",(char *) "v", NULL
26777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26779 if (!SWIG_IsOK(res1
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26782 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26784 if (!SWIG_IsOK(ecode2
)) {
26785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26787 arg2
= static_cast< int >(val2
);
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 (arg1
)->SetNoCopies(arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_Py_Void();
26801 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
= 0;
26803 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 char * kwnames
[] = {
26812 (char *) "self",(char *) "flag", NULL
26815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26820 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26822 if (!SWIG_IsOK(ecode2
)) {
26823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26825 arg2
= static_cast< bool >(val2
);
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 (arg1
)->SetAllPages(arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_Py_Void();
26839 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
= 0;
26841 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char * kwnames
[] = {
26850 (char *) "self",(char *) "flag", NULL
26853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26855 if (!SWIG_IsOK(res1
)) {
26856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26858 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26859 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26860 if (!SWIG_IsOK(ecode2
)) {
26861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26863 arg2
= static_cast< bool >(val2
);
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 (arg1
)->SetSelection(arg2
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_Py_Void();
26877 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
= 0;
26879 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 char * kwnames
[] = {
26888 (char *) "self",(char *) "flag", NULL
26891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26893 if (!SWIG_IsOK(res1
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26896 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26897 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26898 if (!SWIG_IsOK(ecode2
)) {
26899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26901 arg2
= static_cast< bool >(val2
);
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 (arg1
)->SetCollate(arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_Py_Void();
26915 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
= 0;
26917 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 char * kwnames
[] = {
26926 (char *) "self",(char *) "flag", NULL
26929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26931 if (!SWIG_IsOK(res1
)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26934 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26936 if (!SWIG_IsOK(ecode2
)) {
26937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26939 arg2
= static_cast< bool >(val2
);
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 (arg1
)->SetPrintToFile(arg2
);
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= SWIG_Py_Void();
26953 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
= 0;
26955 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 PyObject
* obj1
= 0 ;
26963 char * kwnames
[] = {
26964 (char *) "self",(char *) "flag", NULL
26967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26969 if (!SWIG_IsOK(res1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26972 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26973 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26974 if (!SWIG_IsOK(ecode2
)) {
26975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26977 arg2
= static_cast< bool >(val2
);
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 (arg1
)->EnablePrintToFile(arg2
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= SWIG_Py_Void();
26991 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
= 0;
26993 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26999 PyObject
* obj0
= 0 ;
27000 PyObject
* obj1
= 0 ;
27001 char * kwnames
[] = {
27002 (char *) "self",(char *) "flag", NULL
27005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27007 if (!SWIG_IsOK(res1
)) {
27008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27010 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27012 if (!SWIG_IsOK(ecode2
)) {
27013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27015 arg2
= static_cast< bool >(val2
);
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 (arg1
)->EnableSelection(arg2
);
27019 wxPyEndAllowThreads(__tstate
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= SWIG_Py_Void();
27029 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
= 0;
27031 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 char * kwnames
[] = {
27040 (char *) "self",(char *) "flag", NULL
27043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27045 if (!SWIG_IsOK(res1
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27048 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27050 if (!SWIG_IsOK(ecode2
)) {
27051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27053 arg2
= static_cast< bool >(val2
);
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 (arg1
)->EnablePageNumbers(arg2
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_Py_Void();
27067 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
= 0;
27069 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 char * kwnames
[] = {
27078 (char *) "self",(char *) "flag", NULL
27081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27083 if (!SWIG_IsOK(res1
)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27086 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27088 if (!SWIG_IsOK(ecode2
)) {
27089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27091 arg2
= static_cast< bool >(val2
);
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 (arg1
)->EnableHelp(arg2
);
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= SWIG_Py_Void();
27105 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27106 PyObject
*resultobj
= 0;
27107 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27111 PyObject
*swig_obj
[1] ;
27113 if (!args
) SWIG_fail
;
27114 swig_obj
[0] = args
;
27115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27119 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27135 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27136 PyObject
*resultobj
= 0;
27137 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27141 PyObject
*swig_obj
[1] ;
27143 if (!args
) SWIG_fail
;
27144 swig_obj
[0] = args
;
27145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27146 if (!SWIG_IsOK(res1
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27149 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27165 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27166 PyObject
*resultobj
= 0;
27167 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27171 PyObject
*swig_obj
[1] ;
27173 if (!args
) SWIG_fail
;
27174 swig_obj
[0] = args
;
27175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27179 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27195 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27196 PyObject
*resultobj
= 0;
27197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27201 PyObject
*swig_obj
[1] ;
27203 if (!args
) SWIG_fail
;
27204 swig_obj
[0] = args
;
27205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27206 if (!SWIG_IsOK(res1
)) {
27207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27209 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27225 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27226 PyObject
*resultobj
= 0;
27227 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27231 PyObject
*swig_obj
[1] ;
27233 if (!args
) SWIG_fail
;
27234 swig_obj
[0] = args
;
27235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27239 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27255 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27256 PyObject
*resultobj
= 0;
27257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27258 wxPrintData
*result
= 0 ;
27261 PyObject
*swig_obj
[1] ;
27263 if (!args
) SWIG_fail
;
27264 swig_obj
[0] = args
;
27265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27269 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27274 result
= (wxPrintData
*) &_result_ref
;
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27286 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
= 0;
27288 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27289 wxPrintData
*arg2
= 0 ;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 char * kwnames
[] = {
27297 (char *) "self",(char *) "printData", NULL
27300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27302 if (!SWIG_IsOK(res1
)) {
27303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27305 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27307 if (!SWIG_IsOK(res2
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27313 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 resultobj
= SWIG_Py_Void();
27327 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27330 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27331 return SWIG_Py_Void();
27334 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 return SWIG_Python_InitShadowInstance(args
);
27338 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
= 0;
27340 wxWindow
*arg1
= (wxWindow
*) 0 ;
27341 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27342 wxPrintDialog
*result
= 0 ;
27347 PyObject
* obj0
= 0 ;
27348 PyObject
* obj1
= 0 ;
27349 char * kwnames
[] = {
27350 (char *) "parent",(char *) "data", NULL
27353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27355 if (!SWIG_IsOK(res1
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27361 if (!SWIG_IsOK(res2
)) {
27362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27364 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27367 if (!wxPyCheckForApp()) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27380 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27381 PyObject
*resultobj
= 0;
27382 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27385 PyObject
*swig_obj
[1] ;
27387 if (!args
) SWIG_fail
;
27388 swig_obj
[0] = args
;
27389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27393 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= SWIG_Py_Void();
27408 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27409 PyObject
*resultobj
= 0;
27410 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27414 PyObject
*swig_obj
[1] ;
27416 if (!args
) SWIG_fail
;
27417 swig_obj
[0] = args
;
27418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27419 if (!SWIG_IsOK(res1
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27422 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= (int)(arg1
)->ShowModal();
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= SWIG_From_int(static_cast< int >(result
));
27436 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27437 PyObject
*resultobj
= 0;
27438 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27439 wxPrintDialogData
*result
= 0 ;
27442 PyObject
*swig_obj
[1] ;
27444 if (!args
) SWIG_fail
;
27445 swig_obj
[0] = args
;
27446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27447 if (!SWIG_IsOK(res1
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27450 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27455 result
= (wxPrintDialogData
*) &_result_ref
;
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27467 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 PyObject
*resultobj
= 0;
27469 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27470 wxPrintData
*result
= 0 ;
27473 PyObject
*swig_obj
[1] ;
27475 if (!args
) SWIG_fail
;
27476 swig_obj
[0] = args
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27481 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27486 result
= (wxPrintData
*) &_result_ref
;
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27498 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27504 PyObject
*swig_obj
[1] ;
27506 if (!args
) SWIG_fail
;
27507 swig_obj
[0] = args
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27512 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (wxDC
*)(arg1
)->GetPrintDC();
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27528 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27531 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27532 return SWIG_Py_Void();
27535 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27536 return SWIG_Python_InitShadowInstance(args
);
27539 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
= 0;
27541 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27542 wxPrinter
*result
= 0 ;
27545 PyObject
* obj0
= 0 ;
27546 char * kwnames
[] = {
27547 (char *) "data", NULL
27550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27553 if (!SWIG_IsOK(res1
)) {
27554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27556 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27559 if (!wxPyCheckForApp()) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= (wxPrinter
*)new wxPrinter(arg1
);
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27572 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27573 PyObject
*resultobj
= 0;
27574 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27577 PyObject
*swig_obj
[1] ;
27579 if (!args
) SWIG_fail
;
27580 swig_obj
[0] = args
;
27581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27582 if (!SWIG_IsOK(res1
)) {
27583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27585 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= SWIG_Py_Void();
27600 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
= 0;
27602 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27603 wxWindow
*arg2
= (wxWindow
*) 0 ;
27604 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27605 wxWindow
*result
= 0 ;
27612 PyObject
* obj0
= 0 ;
27613 PyObject
* obj1
= 0 ;
27614 PyObject
* obj2
= 0 ;
27615 char * kwnames
[] = {
27616 (char *) "self",(char *) "parent",(char *) "printout", NULL
27619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27621 if (!SWIG_IsOK(res1
)) {
27622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27624 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27626 if (!SWIG_IsOK(res2
)) {
27627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27629 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27630 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27631 if (!SWIG_IsOK(res3
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27634 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= wxPyMake_wxObject(result
, 0);
27650 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
= 0;
27652 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27653 wxWindow
*arg2
= (wxWindow
*) 0 ;
27654 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27655 wxString
*arg4
= 0 ;
27662 bool temp4
= false ;
27663 PyObject
* obj0
= 0 ;
27664 PyObject
* obj1
= 0 ;
27665 PyObject
* obj2
= 0 ;
27666 PyObject
* obj3
= 0 ;
27667 char * kwnames
[] = {
27668 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27673 if (!SWIG_IsOK(res1
)) {
27674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27676 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27678 if (!SWIG_IsOK(res2
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27681 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27682 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27683 if (!SWIG_IsOK(res3
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27686 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27688 arg4
= wxString_in_helper(obj3
);
27689 if (arg4
== NULL
) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= SWIG_Py_Void();
27713 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
= 0;
27715 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27716 wxWindow
*arg2
= (wxWindow
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 char * kwnames
[] = {
27725 (char *) "self",(char *) "parent", NULL
27728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27733 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27735 if (!SWIG_IsOK(res2
)) {
27736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (bool)(arg1
)->Setup(arg2
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27754 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
= 0;
27756 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27757 wxWindow
*arg2
= (wxWindow
*) 0 ;
27758 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27759 bool arg4
= (bool) true ;
27769 PyObject
* obj0
= 0 ;
27770 PyObject
* obj1
= 0 ;
27771 PyObject
* obj2
= 0 ;
27772 PyObject
* obj3
= 0 ;
27773 char * kwnames
[] = {
27774 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27779 if (!SWIG_IsOK(res1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27782 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27784 if (!SWIG_IsOK(res2
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27787 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27788 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27789 if (!SWIG_IsOK(res3
)) {
27790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27792 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27794 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27795 if (!SWIG_IsOK(ecode4
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27798 arg4
= static_cast< bool >(val4
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27815 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
= 0;
27817 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27818 wxWindow
*arg2
= (wxWindow
*) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 char * kwnames
[] = {
27827 (char *) "self",(char *) "parent", NULL
27830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27832 if (!SWIG_IsOK(res1
)) {
27833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27835 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27837 if (!SWIG_IsOK(res2
)) {
27838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27856 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27857 PyObject
*resultobj
= 0;
27858 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27859 wxPrintDialogData
*result
= 0 ;
27862 PyObject
*swig_obj
[1] ;
27864 if (!args
) SWIG_fail
;
27865 swig_obj
[0] = args
;
27866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27867 if (!SWIG_IsOK(res1
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27870 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27875 result
= (wxPrintDialogData
*) &_result_ref
;
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27887 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27888 PyObject
*resultobj
= 0;
27889 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27893 PyObject
*swig_obj
[1] ;
27895 if (!args
) SWIG_fail
;
27896 swig_obj
[0] = args
;
27897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27898 if (!SWIG_IsOK(res1
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27901 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (bool)(arg1
)->GetAbort();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27917 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27918 PyObject
*resultobj
= 0;
27919 wxPrinterError result
;
27921 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= (wxPrinterError
)wxPrinter::GetLastError();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_From_int(static_cast< int >(result
));
27935 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27938 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27939 return SWIG_Py_Void();
27942 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 return SWIG_Python_InitShadowInstance(args
);
27946 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
= 0;
27948 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27949 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27950 wxPyPrintout
*result
= 0 ;
27951 bool temp1
= false ;
27952 PyObject
* obj0
= 0 ;
27953 char * kwnames
[] = {
27954 (char *) "title", NULL
27957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27960 arg1
= wxString_in_helper(obj0
);
27961 if (arg1
== NULL
) SWIG_fail
;
27966 if (!wxPyCheckForApp()) SWIG_fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27987 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27988 PyObject
*resultobj
= 0;
27989 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27992 PyObject
*swig_obj
[1] ;
27994 if (!args
) SWIG_fail
;
27995 swig_obj
[0] = args
;
27996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27997 if (!SWIG_IsOK(res1
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28000 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= SWIG_Py_Void();
28015 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
= 0;
28017 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28018 PyObject
*arg2
= (PyObject
*) 0 ;
28019 PyObject
*arg3
= (PyObject
*) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 PyObject
* obj2
= 0 ;
28025 char * kwnames
[] = {
28026 (char *) "self",(char *) "self",(char *) "_class", NULL
28029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28031 if (!SWIG_IsOK(res1
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28034 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= SWIG_Py_Void();
28050 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28051 PyObject
*resultobj
= 0;
28052 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28056 PyObject
*swig_obj
[1] ;
28058 if (!args
) SWIG_fail
;
28059 swig_obj
[0] = args
;
28060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28061 if (!SWIG_IsOK(res1
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28064 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28084 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28085 PyObject
*resultobj
= 0;
28086 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28090 PyObject
*swig_obj
[1] ;
28092 if (!args
) SWIG_fail
;
28093 swig_obj
[0] = args
;
28094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28095 if (!SWIG_IsOK(res1
)) {
28096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28098 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (wxDC
*)(arg1
)->GetDC();
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28114 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
= 0;
28116 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28117 wxDC
*arg2
= (wxDC
*) 0 ;
28122 PyObject
* obj0
= 0 ;
28123 PyObject
* obj1
= 0 ;
28124 char * kwnames
[] = {
28125 (char *) "self",(char *) "dc", NULL
28128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28133 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28134 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28135 if (!SWIG_IsOK(res2
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28138 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 (arg1
)->SetDC(arg2
);
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 resultobj
= SWIG_Py_Void();
28152 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
= 0;
28154 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28159 PyObject
* obj0
= 0 ;
28160 PyObject
* obj1
= 0 ;
28161 char * kwnames
[] = {
28162 (char *) "self",(char *) "imageSize", NULL
28165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28170 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28173 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= SWIG_Py_Void();
28188 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
= 0;
28190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 char * kwnames
[] = {
28198 (char *) "self",(char *) "imageSize", NULL
28201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28206 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= SWIG_Py_Void();
28224 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
= 0;
28226 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28228 wxPageSetupDialogData
*arg3
= 0 ;
28234 PyObject
* obj0
= 0 ;
28235 PyObject
* obj1
= 0 ;
28236 PyObject
* obj2
= 0 ;
28237 char * kwnames
[] = {
28238 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28246 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28249 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28251 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28252 if (!SWIG_IsOK(res3
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28258 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= SWIG_Py_Void();
28272 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28273 PyObject
*resultobj
= 0;
28274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28277 PyObject
*swig_obj
[1] ;
28279 if (!args
) SWIG_fail
;
28280 swig_obj
[0] = args
;
28281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28285 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 (arg1
)->MapScreenSizeToPaper();
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= SWIG_Py_Void();
28299 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28300 PyObject
*resultobj
= 0;
28301 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28304 PyObject
*swig_obj
[1] ;
28306 if (!args
) SWIG_fail
;
28307 swig_obj
[0] = args
;
28308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28309 if (!SWIG_IsOK(res1
)) {
28310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28312 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 (arg1
)->MapScreenSizeToPage();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_Py_Void();
28326 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
= 0;
28328 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28329 wxPageSetupDialogData
*arg2
= 0 ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 char * kwnames
[] = {
28337 (char *) "self",(char *) "pageSetupData", NULL
28340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28342 if (!SWIG_IsOK(res1
)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28345 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28347 if (!SWIG_IsOK(res2
)) {
28348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28353 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_Py_Void();
28367 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28368 PyObject
*resultobj
= 0;
28369 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28372 PyObject
*swig_obj
[1] ;
28374 if (!args
) SWIG_fail
;
28375 swig_obj
[0] = args
;
28376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28377 if (!SWIG_IsOK(res1
)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28380 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->MapScreenSizeToDevice();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_Py_Void();
28394 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 PyObject
*resultobj
= 0;
28396 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28400 PyObject
*swig_obj
[1] ;
28402 if (!args
) SWIG_fail
;
28403 swig_obj
[0] = args
;
28404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28405 if (!SWIG_IsOK(res1
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28408 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28422 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28423 PyObject
*resultobj
= 0;
28424 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28428 PyObject
*swig_obj
[1] ;
28430 if (!args
) SWIG_fail
;
28431 swig_obj
[0] = args
;
28432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28433 if (!SWIG_IsOK(res1
)) {
28434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28436 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28440 wxPyEndAllowThreads(__tstate
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28450 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
= 0;
28452 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28453 wxPageSetupDialogData
*arg2
= 0 ;
28459 PyObject
* obj0
= 0 ;
28460 PyObject
* obj1
= 0 ;
28461 char * kwnames
[] = {
28462 (char *) "self",(char *) "pageSetupData", NULL
28465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28467 if (!SWIG_IsOK(res1
)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28470 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28472 if (!SWIG_IsOK(res2
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28478 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28492 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
= 0;
28494 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28503 PyObject
* obj0
= 0 ;
28504 PyObject
* obj1
= 0 ;
28505 PyObject
* obj2
= 0 ;
28506 char * kwnames
[] = {
28507 (char *) "self",(char *) "x",(char *) "y", NULL
28510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28512 if (!SWIG_IsOK(res1
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28515 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28517 if (!SWIG_IsOK(ecode2
)) {
28518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28520 arg2
= static_cast< int >(val2
);
28521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28522 if (!SWIG_IsOK(ecode3
)) {
28523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28525 arg3
= static_cast< int >(val3
);
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_Py_Void();
28539 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
= 0;
28541 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28550 PyObject
* obj0
= 0 ;
28551 PyObject
* obj1
= 0 ;
28552 PyObject
* obj2
= 0 ;
28553 char * kwnames
[] = {
28554 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28559 if (!SWIG_IsOK(res1
)) {
28560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28562 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28564 if (!SWIG_IsOK(ecode2
)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28567 arg2
= static_cast< int >(val2
);
28568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28569 if (!SWIG_IsOK(ecode3
)) {
28570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28572 arg3
= static_cast< int >(val3
);
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_Py_Void();
28586 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
= 0;
28588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 PyObject
* obj2
= 0 ;
28600 char * kwnames
[] = {
28601 (char *) "self",(char *) "w",(char *) "h", NULL
28604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28606 if (!SWIG_IsOK(res1
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28609 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28611 if (!SWIG_IsOK(ecode2
)) {
28612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28614 arg2
= static_cast< int >(val2
);
28615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28616 if (!SWIG_IsOK(ecode3
)) {
28617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28619 arg3
= static_cast< int >(val3
);
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= SWIG_Py_Void();
28633 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28634 PyObject
*resultobj
= 0;
28635 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28636 int *arg2
= (int *) 0 ;
28637 int *arg3
= (int *) 0 ;
28641 int res2
= SWIG_TMPOBJ
;
28643 int res3
= SWIG_TMPOBJ
;
28644 PyObject
*swig_obj
[1] ;
28648 if (!args
) SWIG_fail
;
28649 swig_obj
[0] = args
;
28650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28654 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_Py_Void();
28662 if (SWIG_IsTmpObj(res2
)) {
28663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28665 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28668 if (SWIG_IsTmpObj(res3
)) {
28669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28671 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28680 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
= 0;
28682 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 PyObject
* obj2
= 0 ;
28694 char * kwnames
[] = {
28695 (char *) "self",(char *) "w",(char *) "h", NULL
28698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28703 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28705 if (!SWIG_IsOK(ecode2
)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28708 arg2
= static_cast< int >(val2
);
28709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28710 if (!SWIG_IsOK(ecode3
)) {
28711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28713 arg3
= static_cast< int >(val3
);
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_Py_Void();
28727 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28728 PyObject
*resultobj
= 0;
28729 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28730 int *arg2
= (int *) 0 ;
28731 int *arg3
= (int *) 0 ;
28735 int res2
= SWIG_TMPOBJ
;
28737 int res3
= SWIG_TMPOBJ
;
28738 PyObject
*swig_obj
[1] ;
28742 if (!args
) SWIG_fail
;
28743 swig_obj
[0] = args
;
28744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28748 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_Py_Void();
28756 if (SWIG_IsTmpObj(res2
)) {
28757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28759 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28762 if (SWIG_IsTmpObj(res3
)) {
28763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28765 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28774 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
= 0;
28776 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28785 PyObject
* obj0
= 0 ;
28786 PyObject
* obj1
= 0 ;
28787 PyObject
* obj2
= 0 ;
28788 char * kwnames
[] = {
28789 (char *) "self",(char *) "x",(char *) "y", NULL
28792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28797 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28799 if (!SWIG_IsOK(ecode2
)) {
28800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28802 arg2
= static_cast< int >(val2
);
28803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28804 if (!SWIG_IsOK(ecode3
)) {
28805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28807 arg3
= static_cast< int >(val3
);
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 (arg1
)->SetPPIScreen(arg2
,arg3
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= SWIG_Py_Void();
28821 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28822 PyObject
*resultobj
= 0;
28823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28824 int *arg2
= (int *) 0 ;
28825 int *arg3
= (int *) 0 ;
28829 int res2
= SWIG_TMPOBJ
;
28831 int res3
= SWIG_TMPOBJ
;
28832 PyObject
*swig_obj
[1] ;
28836 if (!args
) SWIG_fail
;
28837 swig_obj
[0] = args
;
28838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28839 if (!SWIG_IsOK(res1
)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28842 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 (arg1
)->GetPPIScreen(arg2
,arg3
);
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_Py_Void();
28850 if (SWIG_IsTmpObj(res2
)) {
28851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28853 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28856 if (SWIG_IsTmpObj(res3
)) {
28857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28859 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28868 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
= 0;
28870 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 char * kwnames
[] = {
28883 (char *) "self",(char *) "x",(char *) "y", NULL
28886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28888 if (!SWIG_IsOK(res1
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28891 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28893 if (!SWIG_IsOK(ecode2
)) {
28894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28896 arg2
= static_cast< int >(val2
);
28897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28898 if (!SWIG_IsOK(ecode3
)) {
28899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28901 arg3
= static_cast< int >(val3
);
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_Py_Void();
28915 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28916 PyObject
*resultobj
= 0;
28917 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28918 int *arg2
= (int *) 0 ;
28919 int *arg3
= (int *) 0 ;
28923 int res2
= SWIG_TMPOBJ
;
28925 int res3
= SWIG_TMPOBJ
;
28926 PyObject
*swig_obj
[1] ;
28930 if (!args
) SWIG_fail
;
28931 swig_obj
[0] = args
;
28932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28933 if (!SWIG_IsOK(res1
)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28936 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= SWIG_Py_Void();
28944 if (SWIG_IsTmpObj(res2
)) {
28945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28947 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28950 if (SWIG_IsTmpObj(res3
)) {
28951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28953 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28962 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
= 0;
28964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28969 PyObject
* obj0
= 0 ;
28970 PyObject
* obj1
= 0 ;
28971 char * kwnames
[] = {
28972 (char *) "self",(char *) "paperRectPixels", NULL
28975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28977 if (!SWIG_IsOK(res1
)) {
28978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28980 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28983 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= SWIG_Py_Void();
28998 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28999 PyObject
*resultobj
= 0;
29000 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29004 PyObject
*swig_obj
[1] ;
29006 if (!args
) SWIG_fail
;
29007 swig_obj
[0] = args
;
29008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29009 if (!SWIG_IsOK(res1
)) {
29010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29012 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29026 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29027 PyObject
*resultobj
= 0;
29028 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29032 PyObject
*swig_obj
[1] ;
29034 if (!args
) SWIG_fail
;
29035 swig_obj
[0] = args
;
29036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29037 if (!SWIG_IsOK(res1
)) {
29038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29040 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 result
= (bool)(arg1
)->IsPreview();
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29056 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
= 0;
29058 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 char * kwnames
[] = {
29067 (char *) "self",(char *) "p", NULL
29070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29075 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29076 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29077 if (!SWIG_IsOK(ecode2
)) {
29078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29080 arg2
= static_cast< bool >(val2
);
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 (arg1
)->SetIsPreview(arg2
);
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_Py_Void();
29094 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
= 0;
29096 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 PyObject
* obj2
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29118 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29120 if (!SWIG_IsOK(ecode2
)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29123 arg2
= static_cast< int >(val2
);
29124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29125 if (!SWIG_IsOK(ecode3
)) {
29126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29128 arg3
= static_cast< int >(val3
);
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29144 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29145 PyObject
*resultobj
= 0;
29146 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29149 PyObject
*swig_obj
[1] ;
29151 if (!args
) SWIG_fail
;
29152 swig_obj
[0] = args
;
29153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29157 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 (arg1
)->OnEndDocument();
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= SWIG_Py_Void();
29171 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29172 PyObject
*resultobj
= 0;
29173 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29176 PyObject
*swig_obj
[1] ;
29178 if (!args
) SWIG_fail
;
29179 swig_obj
[0] = args
;
29180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29181 if (!SWIG_IsOK(res1
)) {
29182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29184 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 (arg1
)->OnBeginPrinting();
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= SWIG_Py_Void();
29198 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29199 PyObject
*resultobj
= 0;
29200 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29203 PyObject
*swig_obj
[1] ;
29205 if (!args
) SWIG_fail
;
29206 swig_obj
[0] = args
;
29207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29208 if (!SWIG_IsOK(res1
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29211 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 (arg1
)->OnEndPrinting();
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= SWIG_Py_Void();
29225 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29226 PyObject
*resultobj
= 0;
29227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29230 PyObject
*swig_obj
[1] ;
29232 if (!args
) SWIG_fail
;
29233 swig_obj
[0] = args
;
29234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29235 if (!SWIG_IsOK(res1
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29238 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29241 (arg1
)->OnPreparePrinting();
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 resultobj
= SWIG_Py_Void();
29252 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
= 0;
29254 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "self",(char *) "page", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29272 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29274 if (!SWIG_IsOK(ecode2
)) {
29275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29277 arg2
= static_cast< int >(val2
);
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (bool)(arg1
)->HasPage(arg2
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29293 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29294 PyObject
*resultobj
= 0;
29295 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29296 int *arg2
= (int *) 0 ;
29297 int *arg3
= (int *) 0 ;
29298 int *arg4
= (int *) 0 ;
29299 int *arg5
= (int *) 0 ;
29303 int res2
= SWIG_TMPOBJ
;
29305 int res3
= SWIG_TMPOBJ
;
29307 int res4
= SWIG_TMPOBJ
;
29309 int res5
= SWIG_TMPOBJ
;
29310 PyObject
*swig_obj
[1] ;
29316 if (!args
) SWIG_fail
;
29317 swig_obj
[0] = args
;
29318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29319 if (!SWIG_IsOK(res1
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29322 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_Py_Void();
29330 if (SWIG_IsTmpObj(res2
)) {
29331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29333 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29336 if (SWIG_IsTmpObj(res3
)) {
29337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29339 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29342 if (SWIG_IsTmpObj(res4
)) {
29343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29345 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29348 if (SWIG_IsTmpObj(res5
)) {
29349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29351 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29360 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29363 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29364 return SWIG_Py_Void();
29367 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29368 return SWIG_Python_InitShadowInstance(args
);
29371 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
= 0;
29373 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29374 wxWindow
*arg2
= (wxWindow
*) 0 ;
29375 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29376 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29377 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29378 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29379 long arg5
= (long) 0 ;
29380 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29381 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29382 wxPreviewCanvas
*result
= 0 ;
29391 bool temp6
= false ;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 PyObject
* obj2
= 0 ;
29395 PyObject
* obj3
= 0 ;
29396 PyObject
* obj4
= 0 ;
29397 PyObject
* obj5
= 0 ;
29398 char * kwnames
[] = {
29399 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29404 if (!SWIG_IsOK(res1
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29407 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29409 if (!SWIG_IsOK(res2
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29412 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29426 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29427 if (!SWIG_IsOK(ecode5
)) {
29428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29430 arg5
= static_cast< long >(val5
);
29434 arg6
= wxString_in_helper(obj5
);
29435 if (arg6
== NULL
) SWIG_fail
;
29440 if (!wxPyCheckForApp()) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29461 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29464 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29465 return SWIG_Py_Void();
29468 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29469 return SWIG_Python_InitShadowInstance(args
);
29472 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
= 0;
29474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29475 wxFrame
*arg2
= (wxFrame
*) 0 ;
29476 wxString
*arg3
= 0 ;
29477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29481 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29482 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29484 wxPreviewFrame
*result
= 0 ;
29488 bool temp3
= false ;
29493 bool temp7
= false ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 PyObject
* obj2
= 0 ;
29497 PyObject
* obj3
= 0 ;
29498 PyObject
* obj4
= 0 ;
29499 PyObject
* obj5
= 0 ;
29500 PyObject
* obj6
= 0 ;
29501 char * kwnames
[] = {
29502 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29506 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29507 if (!SWIG_IsOK(res1
)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29511 if (!SWIG_IsOK(res2
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29514 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29516 arg3
= wxString_in_helper(obj2
);
29517 if (arg3
== NULL
) SWIG_fail
;
29523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29534 if (!SWIG_IsOK(ecode6
)) {
29535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29537 arg6
= static_cast< long >(val6
);
29541 arg7
= wxString_in_helper(obj6
);
29542 if (arg7
== NULL
) SWIG_fail
;
29547 if (!wxPyCheckForApp()) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29576 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29577 PyObject
*resultobj
= 0;
29578 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29581 PyObject
*swig_obj
[1] ;
29583 if (!args
) SWIG_fail
;
29584 swig_obj
[0] = args
;
29585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29586 if (!SWIG_IsOK(res1
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29589 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 (arg1
)->Initialize();
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_Py_Void();
29603 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29604 PyObject
*resultobj
= 0;
29605 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29608 PyObject
*swig_obj
[1] ;
29610 if (!args
) SWIG_fail
;
29611 swig_obj
[0] = args
;
29612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29613 if (!SWIG_IsOK(res1
)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29616 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 (arg1
)->CreateControlBar();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_Py_Void();
29630 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29631 PyObject
*resultobj
= 0;
29632 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29635 PyObject
*swig_obj
[1] ;
29637 if (!args
) SWIG_fail
;
29638 swig_obj
[0] = args
;
29639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29643 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 (arg1
)->CreateCanvas();
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 resultobj
= SWIG_Py_Void();
29657 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29658 PyObject
*resultobj
= 0;
29659 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29660 wxPreviewControlBar
*result
= 0 ;
29663 PyObject
*swig_obj
[1] ;
29665 if (!args
) SWIG_fail
;
29666 swig_obj
[0] = args
;
29667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29671 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29685 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29688 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29689 return SWIG_Py_Void();
29692 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29693 return SWIG_Python_InitShadowInstance(args
);
29696 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
= 0;
29698 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29700 wxWindow
*arg3
= (wxWindow
*) 0 ;
29701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29705 long arg6
= (long) wxTAB_TRAVERSAL
;
29706 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29708 wxPreviewControlBar
*result
= 0 ;
29719 bool temp7
= false ;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 PyObject
* obj2
= 0 ;
29723 PyObject
* obj3
= 0 ;
29724 PyObject
* obj4
= 0 ;
29725 PyObject
* obj5
= 0 ;
29726 PyObject
* obj6
= 0 ;
29727 char * kwnames
[] = {
29728 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29736 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29737 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29738 if (!SWIG_IsOK(ecode2
)) {
29739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29741 arg2
= static_cast< long >(val2
);
29742 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29743 if (!SWIG_IsOK(res3
)) {
29744 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29746 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29760 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29761 if (!SWIG_IsOK(ecode6
)) {
29762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29764 arg6
= static_cast< long >(val6
);
29768 arg7
= wxString_in_helper(obj6
);
29769 if (arg7
== NULL
) SWIG_fail
;
29774 if (!wxPyCheckForApp()) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29795 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29796 PyObject
*resultobj
= 0;
29797 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29801 PyObject
*swig_obj
[1] ;
29803 if (!args
) SWIG_fail
;
29804 swig_obj
[0] = args
;
29805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29809 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= (int)(arg1
)->GetZoomControl();
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_From_int(static_cast< int >(result
));
29823 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
= 0;
29825 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 char * kwnames
[] = {
29834 (char *) "self",(char *) "zoom", NULL
29837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29842 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29844 if (!SWIG_IsOK(ecode2
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29847 arg2
= static_cast< int >(val2
);
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 (arg1
)->SetZoomControl(arg2
);
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29854 resultobj
= SWIG_Py_Void();
29861 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29862 PyObject
*resultobj
= 0;
29863 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29864 wxPrintPreview
*result
= 0 ;
29867 PyObject
*swig_obj
[1] ;
29869 if (!args
) SWIG_fail
;
29870 swig_obj
[0] = args
;
29871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29875 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29889 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29890 PyObject
*resultobj
= 0;
29891 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29894 PyObject
*swig_obj
[1] ;
29896 if (!args
) SWIG_fail
;
29897 swig_obj
[0] = args
;
29898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29899 if (!SWIG_IsOK(res1
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29902 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= SWIG_Py_Void();
29916 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29917 PyObject
*resultobj
= 0;
29918 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29921 PyObject
*swig_obj
[1] ;
29923 if (!args
) SWIG_fail
;
29924 swig_obj
[0] = args
;
29925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29926 if (!SWIG_IsOK(res1
)) {
29927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29929 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 (arg1
)->OnPrevious();
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_Py_Void();
29943 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29944 PyObject
*resultobj
= 0;
29945 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29948 PyObject
*swig_obj
[1] ;
29950 if (!args
) SWIG_fail
;
29951 swig_obj
[0] = args
;
29952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29953 if (!SWIG_IsOK(res1
)) {
29954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29956 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= SWIG_Py_Void();
29970 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29971 PyObject
*resultobj
= 0;
29972 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29975 PyObject
*swig_obj
[1] ;
29977 if (!args
) SWIG_fail
;
29978 swig_obj
[0] = args
;
29979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29980 if (!SWIG_IsOK(res1
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29983 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_Py_Void();
29997 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29998 PyObject
*resultobj
= 0;
29999 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30002 PyObject
*swig_obj
[1] ;
30004 if (!args
) SWIG_fail
;
30005 swig_obj
[0] = args
;
30006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30007 if (!SWIG_IsOK(res1
)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30010 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= SWIG_Py_Void();
30024 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30028 return SWIG_Py_Void();
30031 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30032 return SWIG_Python_InitShadowInstance(args
);
30035 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30036 PyObject
*resultobj
= 0;
30037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30038 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30039 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30040 wxPrintPreview
*result
= 0 ;
30046 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30047 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30051 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30052 if (!SWIG_IsOK(res2
)) {
30053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30056 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30057 if (!SWIG_IsOK(res3
)) {
30058 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30060 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30063 if (!wxPyCheckForApp()) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30076 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30077 PyObject
*resultobj
= 0;
30078 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30079 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30080 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30081 wxPrintPreview
*result
= 0 ;
30087 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30088 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30092 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30093 if (!SWIG_IsOK(res2
)) {
30094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30096 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30097 if (!SWIG_IsOK(res3
)) {
30098 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30100 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30102 if (!wxPyCheckForApp()) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30115 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30119 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30121 if ((argc
>= 2) && (argc
<= 3)) {
30126 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30127 _v
= SWIG_CheckState(res
);
30129 if (!_v
) goto check_1
;
30131 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30136 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30140 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30145 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30146 PyObject
*resultobj
= 0;
30147 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30150 PyObject
*swig_obj
[1] ;
30152 if (!args
) SWIG_fail
;
30153 swig_obj
[0] = args
;
30154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30158 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= SWIG_Py_Void();
30173 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
= 0;
30175 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 char * kwnames
[] = {
30185 (char *) "self",(char *) "pageNum", NULL
30188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30190 if (!SWIG_IsOK(res1
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30193 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30195 if (!SWIG_IsOK(ecode2
)) {
30196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30198 arg2
= static_cast< int >(val2
);
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30214 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30215 PyObject
*resultobj
= 0;
30216 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30220 PyObject
*swig_obj
[1] ;
30222 if (!args
) SWIG_fail
;
30223 swig_obj
[0] = args
;
30224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30228 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 result
= (int)(arg1
)->GetCurrentPage();
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= SWIG_From_int(static_cast< int >(result
));
30242 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
= 0;
30244 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30245 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 char * kwnames
[] = {
30252 (char *) "self",(char *) "printout", NULL
30255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30257 if (!SWIG_IsOK(res1
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30260 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30261 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30262 if (!SWIG_IsOK(res2
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 (arg1
)->SetPrintout(arg2
);
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= SWIG_Py_Void();
30278 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30279 PyObject
*resultobj
= 0;
30280 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30281 wxPyPrintout
*result
= 0 ;
30284 PyObject
*swig_obj
[1] ;
30286 if (!args
) SWIG_fail
;
30287 swig_obj
[0] = args
;
30288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30289 if (!SWIG_IsOK(res1
)) {
30290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30292 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30300 resultobj
= wxPyMake_wxObject(result
, 0);
30308 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30309 PyObject
*resultobj
= 0;
30310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30311 wxPyPrintout
*result
= 0 ;
30314 PyObject
*swig_obj
[1] ;
30316 if (!args
) SWIG_fail
;
30317 swig_obj
[0] = args
;
30318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30319 if (!SWIG_IsOK(res1
)) {
30320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30322 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= wxPyMake_wxObject(result
, 0);
30338 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30341 wxFrame
*arg2
= (wxFrame
*) 0 ;
30346 PyObject
* obj0
= 0 ;
30347 PyObject
* obj1
= 0 ;
30348 char * kwnames
[] = {
30349 (char *) "self",(char *) "frame", NULL
30352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30357 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30359 if (!SWIG_IsOK(res2
)) {
30360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30362 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 (arg1
)->SetFrame(arg2
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_Py_Void();
30376 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30377 PyObject
*resultobj
= 0;
30378 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30379 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30384 PyObject
* obj0
= 0 ;
30385 PyObject
* obj1
= 0 ;
30386 char * kwnames
[] = {
30387 (char *) "self",(char *) "canvas", NULL
30390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30392 if (!SWIG_IsOK(res1
)) {
30393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30395 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30396 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30397 if (!SWIG_IsOK(res2
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30400 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 (arg1
)->SetCanvas(arg2
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_Py_Void();
30414 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30415 PyObject
*resultobj
= 0;
30416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30417 wxFrame
*result
= 0 ;
30420 PyObject
*swig_obj
[1] ;
30422 if (!args
) SWIG_fail
;
30423 swig_obj
[0] = args
;
30424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30425 if (!SWIG_IsOK(res1
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30428 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 result
= (wxFrame
*)(arg1
)->GetFrame();
30432 wxPyEndAllowThreads(__tstate
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= wxPyMake_wxObject(result
, 0);
30444 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30445 PyObject
*resultobj
= 0;
30446 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30447 wxPreviewCanvas
*result
= 0 ;
30450 PyObject
*swig_obj
[1] ;
30452 if (!args
) SWIG_fail
;
30453 swig_obj
[0] = args
;
30454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30455 if (!SWIG_IsOK(res1
)) {
30456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30458 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30472 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
= 0;
30474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30475 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 PyObject
* obj2
= 0 ;
30487 char * kwnames
[] = {
30488 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30496 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30498 if (!SWIG_IsOK(res2
)) {
30499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30501 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30502 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30503 if (!SWIG_IsOK(res3
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30509 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30512 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30525 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
= 0;
30527 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30528 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30537 PyObject
* obj0
= 0 ;
30538 PyObject
* obj1
= 0 ;
30539 PyObject
* obj2
= 0 ;
30540 char * kwnames
[] = {
30541 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30546 if (!SWIG_IsOK(res1
)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30549 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30551 if (!SWIG_IsOK(res2
)) {
30552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30554 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30555 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30556 if (!SWIG_IsOK(res3
)) {
30557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30562 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30578 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
= 0;
30580 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30587 PyObject
* obj0
= 0 ;
30588 PyObject
* obj1
= 0 ;
30589 char * kwnames
[] = {
30590 (char *) "self",(char *) "pageNum", NULL
30593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30598 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30600 if (!SWIG_IsOK(ecode2
)) {
30601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30603 arg2
= static_cast< int >(val2
);
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 result
= (bool)(arg1
)->RenderPage(arg2
);
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30619 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
= 0;
30621 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30622 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30627 PyObject
* obj0
= 0 ;
30628 PyObject
* obj1
= 0 ;
30629 char * kwnames
[] = {
30630 (char *) "self",(char *) "canvas", NULL
30633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30635 if (!SWIG_IsOK(res1
)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30638 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30640 if (!SWIG_IsOK(res2
)) {
30641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30643 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 (arg1
)->AdjustScrollbars(arg2
);
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 resultobj
= SWIG_Py_Void();
30657 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30658 PyObject
*resultobj
= 0;
30659 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30660 wxPrintDialogData
*result
= 0 ;
30663 PyObject
*swig_obj
[1] ;
30665 if (!args
) SWIG_fail
;
30666 swig_obj
[0] = args
;
30667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30671 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30676 result
= (wxPrintDialogData
*) &_result_ref
;
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30688 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
= 0;
30690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 char * kwnames
[] = {
30699 (char *) "self",(char *) "percent", NULL
30702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30704 if (!SWIG_IsOK(res1
)) {
30705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30707 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30709 if (!SWIG_IsOK(ecode2
)) {
30710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30712 arg2
= static_cast< int >(val2
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 (arg1
)->SetZoom(arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30727 PyObject
*resultobj
= 0;
30728 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30732 PyObject
*swig_obj
[1] ;
30734 if (!args
) SWIG_fail
;
30735 swig_obj
[0] = args
;
30736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30740 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 result
= (int)(arg1
)->GetZoom();
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= SWIG_From_int(static_cast< int >(result
));
30754 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 PyObject
*resultobj
= 0;
30756 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30760 PyObject
*swig_obj
[1] ;
30762 if (!args
) SWIG_fail
;
30763 swig_obj
[0] = args
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30768 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (int)(arg1
)->GetMaxPage();
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_From_int(static_cast< int >(result
));
30782 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30783 PyObject
*resultobj
= 0;
30784 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30788 PyObject
*swig_obj
[1] ;
30790 if (!args
) SWIG_fail
;
30791 swig_obj
[0] = args
;
30792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30796 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (int)(arg1
)->GetMinPage();
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_From_int(static_cast< int >(result
));
30810 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30811 PyObject
*resultobj
= 0;
30812 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30816 PyObject
*swig_obj
[1] ;
30818 if (!args
) SWIG_fail
;
30819 swig_obj
[0] = args
;
30820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30821 if (!SWIG_IsOK(res1
)) {
30822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30824 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (bool)(arg1
)->IsOk();
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30840 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
= 0;
30842 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "ok", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30859 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30860 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30861 if (!SWIG_IsOK(ecode2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30864 arg2
= static_cast< bool >(val2
);
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 (arg1
)->SetOk(arg2
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= SWIG_Py_Void();
30878 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
= 0;
30880 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30887 PyObject
* obj0
= 0 ;
30888 PyObject
* obj1
= 0 ;
30889 char * kwnames
[] = {
30890 (char *) "self",(char *) "interactive", NULL
30893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30895 if (!SWIG_IsOK(res1
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30898 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30899 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30900 if (!SWIG_IsOK(ecode2
)) {
30901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30903 arg2
= static_cast< bool >(val2
);
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 result
= (bool)(arg1
)->Print(arg2
);
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30919 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30920 PyObject
*resultobj
= 0;
30921 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30924 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30932 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 (arg1
)->DetermineScaling();
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_Py_Void();
30946 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30949 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30950 return SWIG_Py_Void();
30953 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30954 return SWIG_Python_InitShadowInstance(args
);
30957 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30958 PyObject
*resultobj
= 0;
30959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30960 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30961 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30962 wxPyPrintPreview
*result
= 0 ;
30968 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30969 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30970 if (!SWIG_IsOK(res1
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30973 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30974 if (!SWIG_IsOK(res2
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30978 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30979 if (!SWIG_IsOK(res3
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30982 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30985 if (!wxPyCheckForApp()) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30998 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30999 PyObject
*resultobj
= 0;
31000 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31001 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31002 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31003 wxPyPrintPreview
*result
= 0 ;
31009 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31010 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31011 if (!SWIG_IsOK(res1
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31014 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31015 if (!SWIG_IsOK(res2
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31018 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31019 if (!SWIG_IsOK(res3
)) {
31020 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31022 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31024 if (!wxPyCheckForApp()) SWIG_fail
;
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31037 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31041 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31043 if ((argc
>= 2) && (argc
<= 3)) {
31048 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31049 _v
= SWIG_CheckState(res
);
31051 if (!_v
) goto check_1
;
31053 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31058 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31062 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31067 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31068 PyObject
*resultobj
= 0;
31069 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31070 PyObject
*arg2
= (PyObject
*) 0 ;
31071 PyObject
*arg3
= (PyObject
*) 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 PyObject
* obj2
= 0 ;
31077 char * kwnames
[] = {
31078 (char *) "self",(char *) "self",(char *) "_class", NULL
31081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31086 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= SWIG_Py_Void();
31102 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31106 return SWIG_Py_Void();
31109 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31110 return SWIG_Python_InitShadowInstance(args
);
31113 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
= 0;
31115 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31116 wxFrame
*arg2
= (wxFrame
*) 0 ;
31117 wxString
*arg3
= 0 ;
31118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31122 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31123 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31125 wxPyPreviewFrame
*result
= 0 ;
31129 bool temp3
= false ;
31134 bool temp7
= false ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 PyObject
* obj2
= 0 ;
31138 PyObject
* obj3
= 0 ;
31139 PyObject
* obj4
= 0 ;
31140 PyObject
* obj5
= 0 ;
31141 PyObject
* obj6
= 0 ;
31142 char * kwnames
[] = {
31143 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31147 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31148 if (!SWIG_IsOK(res1
)) {
31149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31152 if (!SWIG_IsOK(res2
)) {
31153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31155 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31157 arg3
= wxString_in_helper(obj2
);
31158 if (arg3
== NULL
) SWIG_fail
;
31164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31175 if (!SWIG_IsOK(ecode6
)) {
31176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31178 arg6
= static_cast< long >(val6
);
31182 arg7
= wxString_in_helper(obj6
);
31183 if (arg7
== NULL
) SWIG_fail
;
31188 if (!wxPyCheckForApp()) SWIG_fail
;
31189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31217 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
= 0;
31219 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31220 PyObject
*arg2
= (PyObject
*) 0 ;
31221 PyObject
*arg3
= (PyObject
*) 0 ;
31224 PyObject
* obj0
= 0 ;
31225 PyObject
* obj1
= 0 ;
31226 PyObject
* obj2
= 0 ;
31227 char * kwnames
[] = {
31228 (char *) "self",(char *) "self",(char *) "_class", NULL
31231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31233 if (!SWIG_IsOK(res1
)) {
31234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31236 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31241 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= SWIG_Py_Void();
31252 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
= 0;
31254 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31255 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31260 PyObject
* obj0
= 0 ;
31261 PyObject
* obj1
= 0 ;
31262 char * kwnames
[] = {
31263 (char *) "self",(char *) "canvas", NULL
31266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31268 if (!SWIG_IsOK(res1
)) {
31269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31271 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31273 if (!SWIG_IsOK(res2
)) {
31274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31276 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 (arg1
)->SetPreviewCanvas(arg2
);
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31283 resultobj
= SWIG_Py_Void();
31290 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31291 PyObject
*resultobj
= 0;
31292 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31293 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 char * kwnames
[] = {
31301 (char *) "self",(char *) "bar", NULL
31304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31306 if (!SWIG_IsOK(res1
)) {
31307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31309 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31311 if (!SWIG_IsOK(res2
)) {
31312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31314 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 (arg1
)->SetControlBar(arg2
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= SWIG_Py_Void();
31328 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31329 PyObject
*resultobj
= 0;
31330 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31333 PyObject
*swig_obj
[1] ;
31335 if (!args
) SWIG_fail
;
31336 swig_obj
[0] = args
;
31337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31341 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 (arg1
)->Initialize();
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= SWIG_Py_Void();
31355 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31356 PyObject
*resultobj
= 0;
31357 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31360 PyObject
*swig_obj
[1] ;
31362 if (!args
) SWIG_fail
;
31363 swig_obj
[0] = args
;
31364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31365 if (!SWIG_IsOK(res1
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31368 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 (arg1
)->CreateCanvas();
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_Py_Void();
31382 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31383 PyObject
*resultobj
= 0;
31384 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31387 PyObject
*swig_obj
[1] ;
31389 if (!args
) SWIG_fail
;
31390 swig_obj
[0] = args
;
31391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31392 if (!SWIG_IsOK(res1
)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31395 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 (arg1
)->CreateControlBar();
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_Py_Void();
31409 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31412 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31413 return SWIG_Py_Void();
31416 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31417 return SWIG_Python_InitShadowInstance(args
);
31420 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31424 wxWindow
*arg3
= (wxWindow
*) 0 ;
31425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31429 long arg6
= (long) 0 ;
31430 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31431 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31432 wxPyPreviewControlBar
*result
= 0 ;
31442 bool temp7
= false ;
31443 PyObject
* obj0
= 0 ;
31444 PyObject
* obj1
= 0 ;
31445 PyObject
* obj2
= 0 ;
31446 PyObject
* obj3
= 0 ;
31447 PyObject
* obj4
= 0 ;
31448 PyObject
* obj5
= 0 ;
31449 PyObject
* obj6
= 0 ;
31450 char * kwnames
[] = {
31451 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31455 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31456 if (!SWIG_IsOK(res1
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31459 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31460 if (!SWIG_IsOK(ecode2
)) {
31461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31463 arg2
= static_cast< long >(val2
);
31464 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31465 if (!SWIG_IsOK(res3
)) {
31466 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31468 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31482 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31483 if (!SWIG_IsOK(ecode6
)) {
31484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31486 arg6
= static_cast< long >(val6
);
31490 arg7
= wxString_in_helper(obj6
);
31491 if (arg7
== NULL
) SWIG_fail
;
31496 if (!wxPyCheckForApp()) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31517 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
= 0;
31519 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31520 PyObject
*arg2
= (PyObject
*) 0 ;
31521 PyObject
*arg3
= (PyObject
*) 0 ;
31524 PyObject
* obj0
= 0 ;
31525 PyObject
* obj1
= 0 ;
31526 PyObject
* obj2
= 0 ;
31527 char * kwnames
[] = {
31528 (char *) "self",(char *) "self",(char *) "_class", NULL
31531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31533 if (!SWIG_IsOK(res1
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31536 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31545 resultobj
= SWIG_Py_Void();
31552 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31553 PyObject
*resultobj
= 0;
31554 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31555 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31559 PyObject
* obj0
= 0 ;
31560 PyObject
* obj1
= 0 ;
31561 char * kwnames
[] = {
31562 (char *) "self",(char *) "preview", NULL
31565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31567 if (!SWIG_IsOK(res1
)) {
31568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31570 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31571 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31572 if (!SWIG_IsOK(res2
)) {
31573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31577 (arg1
)->SetPrintPreview(arg2
);
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= SWIG_Py_Void();
31588 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31589 PyObject
*resultobj
= 0;
31590 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31593 PyObject
*swig_obj
[1] ;
31595 if (!args
) SWIG_fail
;
31596 swig_obj
[0] = args
;
31597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31598 if (!SWIG_IsOK(res1
)) {
31599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31601 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 (arg1
)->CreateButtons();
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_Py_Void();
31615 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
= 0;
31617 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31623 PyObject
* obj0
= 0 ;
31624 PyObject
* obj1
= 0 ;
31625 char * kwnames
[] = {
31626 (char *) "self",(char *) "zoom", NULL
31629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31631 if (!SWIG_IsOK(res1
)) {
31632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31634 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31636 if (!SWIG_IsOK(ecode2
)) {
31637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31639 arg2
= static_cast< int >(val2
);
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 (arg1
)->SetZoomControl(arg2
);
31643 wxPyEndAllowThreads(__tstate
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= SWIG_Py_Void();
31653 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31656 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31657 return SWIG_Py_Void();
31660 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31661 return SWIG_Python_InitShadowInstance(args
);
31664 static PyMethodDef SwigMethods
[] = {
31665 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31667 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31669 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31671 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31672 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31674 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31681 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31683 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31685 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31686 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31687 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31688 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31689 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31692 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31694 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31697 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31698 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31700 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31702 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31703 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31704 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31705 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31709 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31711 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31715 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31717 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31719 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31722 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31725 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31727 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31729 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31732 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31739 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31741 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31746 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31747 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31749 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31752 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31754 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31756 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31761 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31762 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31765 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31766 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31768 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31770 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31771 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31774 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31775 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31776 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31778 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31779 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31780 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31782 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31784 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31787 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31796 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31797 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31799 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31800 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31802 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31804 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31805 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31807 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31813 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31814 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31817 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31818 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31820 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31822 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31824 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31826 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31828 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31830 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31831 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31834 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31835 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31836 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31837 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31838 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31839 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31841 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31849 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31851 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31854 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31855 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31858 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31859 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31861 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31862 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31863 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31866 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31868 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31870 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31871 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31872 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31875 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31877 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31879 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31881 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31883 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31884 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31885 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31888 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31890 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31891 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31892 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31894 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31896 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31897 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31901 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31902 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31903 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31904 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31908 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31909 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31911 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31912 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31913 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31915 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31917 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31920 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31921 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31922 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31924 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31933 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31934 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31935 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31936 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31938 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31939 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31942 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31943 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31945 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31948 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31949 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31950 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31953 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31954 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31956 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31957 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31959 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31964 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31965 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31971 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31972 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31974 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31978 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31980 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31981 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
31983 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31985 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31986 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31987 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31988 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31990 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31991 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31992 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31994 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31996 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31997 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32000 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32001 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32002 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32003 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32004 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32010 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32012 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32013 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32014 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32017 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32018 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32022 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32030 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32031 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32032 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32033 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32034 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32035 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32036 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32037 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32039 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32042 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32043 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32044 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32046 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32047 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32049 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32050 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32052 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32054 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32055 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32057 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32058 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32060 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32061 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32062 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32063 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32064 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32066 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32067 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32068 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32069 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32070 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32071 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32078 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32079 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32081 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32082 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32083 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32086 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32087 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32091 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32092 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32093 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32095 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32096 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32097 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32098 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32102 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32103 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32105 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32106 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32107 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32108 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32112 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32113 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32115 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32117 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32119 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32120 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32122 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32124 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32125 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32126 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32127 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32128 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32129 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32131 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32132 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32134 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32136 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32138 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32140 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32142 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32143 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32145 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32152 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32153 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32154 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32155 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32156 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32157 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32158 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32159 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32160 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32162 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32169 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32170 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32171 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32172 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32173 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32174 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32175 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32176 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32177 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32179 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32186 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32187 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32188 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32189 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32190 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32191 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32192 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32193 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32194 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32195 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32196 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32197 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32198 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32199 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32200 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32201 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32202 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32203 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32204 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32205 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32206 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32207 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32208 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32209 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32210 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32224 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32226 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32228 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32229 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32230 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32231 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32237 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32238 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32239 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32240 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32241 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32242 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32243 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32244 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32245 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32246 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32247 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32248 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32249 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32250 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32251 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32261 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32262 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32263 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32264 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32266 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32267 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32268 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32269 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32270 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32271 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32272 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32273 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32274 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32275 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32276 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32277 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32278 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32279 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32280 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32281 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32282 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32296 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32297 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32298 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32299 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32300 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32301 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32303 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32304 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32306 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32307 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32308 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32309 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32310 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32311 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32312 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32314 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32320 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32321 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32322 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32323 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32324 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32326 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32328 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32329 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32334 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32335 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32337 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32338 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32339 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32344 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32346 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32348 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32350 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32352 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32353 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32356 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32357 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32358 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32359 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32361 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32362 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32363 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32365 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32366 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32368 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32369 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32370 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32371 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32372 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32373 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32375 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32377 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32378 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32379 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32380 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32381 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32382 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32383 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32384 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32385 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32386 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32388 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32390 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32391 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32394 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32395 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32400 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32402 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32403 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32404 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32405 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32408 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32409 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32410 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32411 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32413 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32414 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32419 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32420 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32421 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32422 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32423 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32427 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32429 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32430 { NULL
, NULL
, 0, NULL
}
32434 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32436 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32437 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32439 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32440 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32442 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32443 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32445 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32446 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32448 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32449 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32451 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32452 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32454 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32455 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32457 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32458 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32460 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32461 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32463 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32464 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32466 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32469 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32472 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32473 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32475 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32476 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32478 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32479 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32481 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32482 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32484 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32487 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32488 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32490 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32491 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32493 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32494 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32496 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32497 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32499 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32500 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32502 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32503 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32505 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32506 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32508 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32509 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32511 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32512 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32514 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32517 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32520 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32521 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32523 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32524 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32526 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32527 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32529 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32530 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32532 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32533 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32535 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32536 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32538 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32539 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32541 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32542 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32544 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32545 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32547 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32548 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32550 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32551 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32553 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32556 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32557 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32559 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32560 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32562 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32563 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32565 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32566 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32568 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32569 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32571 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32572 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32574 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32575 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32577 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32578 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32580 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32581 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32583 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32586 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32589 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32592 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32593 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32595 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32596 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32598 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32599 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32601 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32602 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32604 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32607 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32610 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32613 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32616 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32619 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32622 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32625 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32628 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32631 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32634 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32637 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32640 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32643 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32646 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32647 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32649 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32652 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32655 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32658 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32659 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32661 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32662 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32664 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32667 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32668 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32670 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32671 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32673 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32676 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32677 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32679 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32682 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32685 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32688 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32689 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32691 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32694 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32695 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32697 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32700 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32703 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32706 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32709 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32712 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32715 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32716 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32718 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32721 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32724 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32727 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32730 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32733 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32736 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32737 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32739 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32740 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32742 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32743 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32745 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32746 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32748 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32749 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32751 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
32752 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
32754 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32755 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32757 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32758 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32760 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32761 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32763 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32764 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32766 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32767 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32769 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32772 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32775 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32778 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32781 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32784 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32787 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32790 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32793 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32796 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32799 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) ((wxSizer
*) x
));
32802 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32805 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32808 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32811 static void *_p_wxEventTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) ((wxEvent
*) x
));
32814 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) ((wxFontData
*) x
));
32817 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32820 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32823 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32826 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32829 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32832 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32835 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32838 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32841 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32844 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32847 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32850 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32853 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32856 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32859 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32862 static void *_p_wxControlTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32865 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32868 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32871 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32874 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32877 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32880 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32883 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) ((wxColourData
*) x
));
32886 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32889 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32892 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32895 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32898 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32901 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32904 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32907 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32910 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32913 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32916 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32919 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32922 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32925 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32928 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32931 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32934 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32937 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32940 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32943 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32946 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32949 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32952 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32955 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32958 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32961 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32964 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32967 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32970 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32973 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32976 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32979 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32982 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32985 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32988 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32991 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32994 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32997 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33000 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33003 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33006 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33009 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33012 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33015 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33018 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33021 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33024 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33027 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33030 static void *_p_wxImageTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) ((wxImage
*) x
));
33033 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33036 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33039 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33042 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33045 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33048 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33051 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33054 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33057 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33060 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33063 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33066 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33069 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33072 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33075 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33078 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33081 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33084 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33087 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33090 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33093 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33096 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33099 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33102 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33105 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33108 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33111 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33114 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33117 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33120 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33123 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33126 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33129 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33132 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33135 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33138 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33141 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33144 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33147 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33150 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33153 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33156 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33159 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33162 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33165 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33168 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33171 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33174 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33177 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33180 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33183 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33186 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33189 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33192 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33193 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33195 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33196 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33198 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33199 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33201 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33202 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33204 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33205 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33207 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33208 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33210 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33211 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33213 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33214 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33216 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33217 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33219 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33220 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33222 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33223 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33225 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33226 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33228 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
33229 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
33231 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33232 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33234 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33235 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33237 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33238 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33240 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33241 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33243 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33244 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33246 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33247 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33249 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33250 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33252 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33253 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33255 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33256 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33258 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33259 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33261 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33262 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33264 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33265 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33267 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33268 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33270 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33273 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33274 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33276 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33277 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33279 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33280 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33282 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33285 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33286 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33288 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33289 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33291 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33292 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33294 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33295 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33297 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33298 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33300 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33303 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33306 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33309 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33310 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33312 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33313 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33315 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33316 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33318 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33319 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33321 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33322 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33324 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33325 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33327 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33328 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33330 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33331 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33333 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33334 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33336 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33337 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33339 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33340 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33342 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33343 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33345 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33346 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33348 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33349 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33351 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33352 return (void *)((wxWindow
*) ((wxControl
*) x
));
33354 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33355 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33357 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33358 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33360 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33361 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33363 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33364 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33366 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33367 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33369 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33370 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33372 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33373 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33375 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33376 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33378 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33379 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33381 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33382 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33384 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33385 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33387 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33388 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33390 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33391 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33393 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33394 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33396 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33397 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33399 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33400 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33402 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33403 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33405 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33406 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33408 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33409 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33411 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33412 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33414 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33415 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33417 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33418 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33420 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33421 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33423 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33424 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33426 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33427 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33429 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33430 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33432 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33433 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33435 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33436 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33438 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33439 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33441 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33442 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33444 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33445 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33447 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33448 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33450 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33451 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33453 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33454 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33456 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33457 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33459 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33460 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33462 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33463 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33465 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33466 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33468 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33469 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33471 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33472 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33474 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33475 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33477 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33478 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33480 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33481 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33483 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33484 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33486 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33487 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33489 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33490 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33492 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33493 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33495 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33496 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33498 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33499 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33501 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33502 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33504 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33505 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33507 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33508 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33510 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33511 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33513 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33514 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33516 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33517 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33519 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33520 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33522 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33523 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33524 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};
33525 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33526 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33527 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33528 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33529 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33530 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33531 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33533 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33534 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33538 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33539 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33540 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33541 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33542 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33543 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33544 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33545 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33546 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33547 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33548 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33549 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33550 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33551 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33552 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33553 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33554 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33555 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33556 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33557 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33558 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33559 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33560 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33561 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33562 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33563 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33564 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33565 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33566 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33567 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33568 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33569 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33570 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33571 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33572 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33573 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33574 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33575 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33576 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33577 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33578 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33579 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33580 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33581 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33582 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33583 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33584 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33585 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33586 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33587 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33588 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33589 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33590 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33591 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33592 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33593 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33594 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33595 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33596 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33597 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33598 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33599 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33600 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33601 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33602 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33603 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33604 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33605 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33606 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33607 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33608 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33609 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33610 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33611 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33612 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33613 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33614 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33615 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33616 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33617 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33618 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33619 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33620 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33621 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33622 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33623 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33624 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33625 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33626 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33627 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33628 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33629 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33630 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33631 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33632 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33633 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33634 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33635 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33636 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33637 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33638 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33639 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33640 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33641 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33642 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33643 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33644 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33645 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33646 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33647 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33648 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33649 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33650 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33651 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33652 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33653 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33654 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33655 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33656 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33657 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33658 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33659 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33660 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33661 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33662 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33663 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33664 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33665 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33666 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33667 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33668 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33669 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33679 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33680 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33681 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33682 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33683 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33684 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33685 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33686 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33687 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33692 static swig_type_info
*swig_type_initial
[] = {
33695 &_swigt__p_form_ops_t
,
33697 &_swigt__p_unsigned_char
,
33698 &_swigt__p_unsigned_int
,
33699 &_swigt__p_unsigned_long
,
33700 &_swigt__p_wxANIHandler
,
33701 &_swigt__p_wxAcceleratorTable
,
33702 &_swigt__p_wxActivateEvent
,
33703 &_swigt__p_wxArrayInt
,
33704 &_swigt__p_wxArrayString
,
33705 &_swigt__p_wxBMPHandler
,
33706 &_swigt__p_wxBitmap
,
33707 &_swigt__p_wxBoxSizer
,
33708 &_swigt__p_wxCURHandler
,
33709 &_swigt__p_wxCalculateLayoutEvent
,
33710 &_swigt__p_wxChildFocusEvent
,
33711 &_swigt__p_wxClipboardTextEvent
,
33712 &_swigt__p_wxCloseEvent
,
33713 &_swigt__p_wxColour
,
33714 &_swigt__p_wxColourData
,
33715 &_swigt__p_wxColourDialog
,
33716 &_swigt__p_wxCommandEvent
,
33717 &_swigt__p_wxContextMenuEvent
,
33718 &_swigt__p_wxControl
,
33719 &_swigt__p_wxControlWithItems
,
33721 &_swigt__p_wxDateEvent
,
33722 &_swigt__p_wxDialog
,
33723 &_swigt__p_wxDirDialog
,
33724 &_swigt__p_wxDisplayChangedEvent
,
33725 &_swigt__p_wxDropFilesEvent
,
33726 &_swigt__p_wxDuplexMode
,
33727 &_swigt__p_wxEraseEvent
,
33728 &_swigt__p_wxEvent
,
33729 &_swigt__p_wxEvtHandler
,
33730 &_swigt__p_wxFSFile
,
33731 &_swigt__p_wxFileDialog
,
33732 &_swigt__p_wxFileSystem
,
33733 &_swigt__p_wxFindDialogEvent
,
33734 &_swigt__p_wxFindReplaceData
,
33735 &_swigt__p_wxFindReplaceDialog
,
33736 &_swigt__p_wxFlexGridSizer
,
33737 &_swigt__p_wxFocusEvent
,
33739 &_swigt__p_wxFontData
,
33740 &_swigt__p_wxFontDialog
,
33741 &_swigt__p_wxFrame
,
33742 &_swigt__p_wxGBSizerItem
,
33743 &_swigt__p_wxGIFHandler
,
33744 &_swigt__p_wxGridBagSizer
,
33745 &_swigt__p_wxGridSizer
,
33746 &_swigt__p_wxHtmlLinkInfo
,
33747 &_swigt__p_wxICOHandler
,
33749 &_swigt__p_wxIconBundle
,
33750 &_swigt__p_wxIconizeEvent
,
33751 &_swigt__p_wxIdleEvent
,
33752 &_swigt__p_wxImage
,
33753 &_swigt__p_wxImageHandler
,
33754 &_swigt__p_wxIndividualLayoutConstraint
,
33755 &_swigt__p_wxInitDialogEvent
,
33756 &_swigt__p_wxItemContainer
,
33757 &_swigt__p_wxJPEGHandler
,
33758 &_swigt__p_wxKeyEvent
,
33759 &_swigt__p_wxLayoutAlgorithm
,
33760 &_swigt__p_wxLayoutConstraints
,
33761 &_swigt__p_wxMDIChildFrame
,
33762 &_swigt__p_wxMDIClientWindow
,
33763 &_swigt__p_wxMDIParentFrame
,
33764 &_swigt__p_wxMaximizeEvent
,
33766 &_swigt__p_wxMenuBar
,
33767 &_swigt__p_wxMenuEvent
,
33768 &_swigt__p_wxMenuItem
,
33769 &_swigt__p_wxMessageDialog
,
33770 &_swigt__p_wxMiniFrame
,
33771 &_swigt__p_wxMouseCaptureChangedEvent
,
33772 &_swigt__p_wxMouseCaptureLostEvent
,
33773 &_swigt__p_wxMouseEvent
,
33774 &_swigt__p_wxMoveEvent
,
33775 &_swigt__p_wxMultiChoiceDialog
,
33776 &_swigt__p_wxNavigationKeyEvent
,
33777 &_swigt__p_wxNcPaintEvent
,
33778 &_swigt__p_wxNotifyEvent
,
33779 &_swigt__p_wxNumberEntryDialog
,
33780 &_swigt__p_wxObject
,
33781 &_swigt__p_wxPCXHandler
,
33782 &_swigt__p_wxPNGHandler
,
33783 &_swigt__p_wxPNMHandler
,
33784 &_swigt__p_wxPageSetupDialog
,
33785 &_swigt__p_wxPageSetupDialogData
,
33786 &_swigt__p_wxPaintEvent
,
33787 &_swigt__p_wxPaletteChangedEvent
,
33788 &_swigt__p_wxPanel
,
33789 &_swigt__p_wxPaperSize
,
33790 &_swigt__p_wxPasswordEntryDialog
,
33791 &_swigt__p_wxPoint
,
33792 &_swigt__p_wxPopupWindow
,
33793 &_swigt__p_wxPreviewCanvas
,
33794 &_swigt__p_wxPreviewControlBar
,
33795 &_swigt__p_wxPreviewFrame
,
33796 &_swigt__p_wxPrintData
,
33797 &_swigt__p_wxPrintDialog
,
33798 &_swigt__p_wxPrintDialogData
,
33799 &_swigt__p_wxPrintPreview
,
33800 &_swigt__p_wxPrinter
,
33801 &_swigt__p_wxProgressDialog
,
33802 &_swigt__p_wxPyApp
,
33803 &_swigt__p_wxPyCommandEvent
,
33804 &_swigt__p_wxPyEvent
,
33805 &_swigt__p_wxPyHtmlListBox
,
33806 &_swigt__p_wxPyImageHandler
,
33807 &_swigt__p_wxPyPanel
,
33808 &_swigt__p_wxPyPopupTransientWindow
,
33809 &_swigt__p_wxPyPreviewControlBar
,
33810 &_swigt__p_wxPyPreviewFrame
,
33811 &_swigt__p_wxPyPrintPreview
,
33812 &_swigt__p_wxPyPrintout
,
33813 &_swigt__p_wxPyScrolledWindow
,
33814 &_swigt__p_wxPySizer
,
33815 &_swigt__p_wxPyTaskBarIcon
,
33816 &_swigt__p_wxPyVListBox
,
33817 &_swigt__p_wxPyVScrolledWindow
,
33818 &_swigt__p_wxPyValidator
,
33819 &_swigt__p_wxPyWindow
,
33820 &_swigt__p_wxQueryLayoutInfoEvent
,
33821 &_swigt__p_wxQueryNewPaletteEvent
,
33823 &_swigt__p_wxRegion
,
33824 &_swigt__p_wxSashEvent
,
33825 &_swigt__p_wxSashLayoutWindow
,
33826 &_swigt__p_wxSashWindow
,
33827 &_swigt__p_wxScrollEvent
,
33828 &_swigt__p_wxScrollWinEvent
,
33829 &_swigt__p_wxScrolledWindow
,
33830 &_swigt__p_wxSetCursorEvent
,
33831 &_swigt__p_wxShowEvent
,
33832 &_swigt__p_wxSimpleHtmlListBox
,
33833 &_swigt__p_wxSingleChoiceDialog
,
33835 &_swigt__p_wxSizeEvent
,
33836 &_swigt__p_wxSizer
,
33837 &_swigt__p_wxSizerItem
,
33838 &_swigt__p_wxSplashScreen
,
33839 &_swigt__p_wxSplashScreenWindow
,
33840 &_swigt__p_wxSplitterEvent
,
33841 &_swigt__p_wxSplitterWindow
,
33842 &_swigt__p_wxStaticBoxSizer
,
33843 &_swigt__p_wxStatusBar
,
33844 &_swigt__p_wxStdDialogButtonSizer
,
33845 &_swigt__p_wxString
,
33846 &_swigt__p_wxSysColourChangedEvent
,
33847 &_swigt__p_wxTGAHandler
,
33848 &_swigt__p_wxTIFFHandler
,
33849 &_swigt__p_wxTaskBarIcon
,
33850 &_swigt__p_wxTaskBarIconEvent
,
33851 &_swigt__p_wxTextEntryDialog
,
33852 &_swigt__p_wxTipWindow
,
33853 &_swigt__p_wxToolBar
,
33854 &_swigt__p_wxTopLevelWindow
,
33855 &_swigt__p_wxUpdateUIEvent
,
33856 &_swigt__p_wxValidator
,
33857 &_swigt__p_wxVisualAttributes
,
33858 &_swigt__p_wxWindow
,
33859 &_swigt__p_wxWindowCreateEvent
,
33860 &_swigt__p_wxWindowDestroyEvent
,
33861 &_swigt__p_wxXPMHandler
,
33864 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33865 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33866 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33867 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33868 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33869 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33870 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33871 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33872 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
33873 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33874 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33875 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33876 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33877 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33878 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33887 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}};
33888 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33889 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}};
33890 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33891 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33893 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33894 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33895 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33896 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33897 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33898 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33899 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33900 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33901 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33902 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33903 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33904 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33905 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33906 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33907 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33908 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33909 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33910 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33911 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33912 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33913 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33914 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33915 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33916 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33917 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33918 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}};
33919 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33920 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33921 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33922 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33923 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_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_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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}};
33924 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33925 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33926 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33927 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33928 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33929 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33930 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33931 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33932 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}};
33933 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33934 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33935 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33936 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}};
33937 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33938 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33939 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33940 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33941 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33942 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33943 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33944 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33945 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33946 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}};
33947 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33948 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33949 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33950 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33951 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33952 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33954 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33955 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33956 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33958 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33959 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33961 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33962 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33963 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33964 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33965 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33966 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33967 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33968 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33969 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33970 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33971 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33972 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33973 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33974 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33975 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33976 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33977 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
33978 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33979 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33980 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}};
33981 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33982 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33983 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33984 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}};
33985 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33986 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}};
33987 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}};
33988 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33989 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33990 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33991 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}};
33992 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33993 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33994 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}};
33995 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33996 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33997 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33998 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33999 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34000 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34001 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34002 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34003 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}};
34004 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}};
34005 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34006 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34007 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34011 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}};
34012 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34013 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}};
34014 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34025 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34026 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}};
34027 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34029 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}};
34030 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}};
34031 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34032 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}};
34034 static swig_cast_info
*swig_cast_initial
[] = {
34037 _swigc__p_form_ops_t
,
34039 _swigc__p_unsigned_char
,
34040 _swigc__p_unsigned_int
,
34041 _swigc__p_unsigned_long
,
34042 _swigc__p_wxANIHandler
,
34043 _swigc__p_wxAcceleratorTable
,
34044 _swigc__p_wxActivateEvent
,
34045 _swigc__p_wxArrayInt
,
34046 _swigc__p_wxArrayString
,
34047 _swigc__p_wxBMPHandler
,
34048 _swigc__p_wxBitmap
,
34049 _swigc__p_wxBoxSizer
,
34050 _swigc__p_wxCURHandler
,
34051 _swigc__p_wxCalculateLayoutEvent
,
34052 _swigc__p_wxChildFocusEvent
,
34053 _swigc__p_wxClipboardTextEvent
,
34054 _swigc__p_wxCloseEvent
,
34055 _swigc__p_wxColour
,
34056 _swigc__p_wxColourData
,
34057 _swigc__p_wxColourDialog
,
34058 _swigc__p_wxCommandEvent
,
34059 _swigc__p_wxContextMenuEvent
,
34060 _swigc__p_wxControl
,
34061 _swigc__p_wxControlWithItems
,
34063 _swigc__p_wxDateEvent
,
34064 _swigc__p_wxDialog
,
34065 _swigc__p_wxDirDialog
,
34066 _swigc__p_wxDisplayChangedEvent
,
34067 _swigc__p_wxDropFilesEvent
,
34068 _swigc__p_wxDuplexMode
,
34069 _swigc__p_wxEraseEvent
,
34071 _swigc__p_wxEvtHandler
,
34072 _swigc__p_wxFSFile
,
34073 _swigc__p_wxFileDialog
,
34074 _swigc__p_wxFileSystem
,
34075 _swigc__p_wxFindDialogEvent
,
34076 _swigc__p_wxFindReplaceData
,
34077 _swigc__p_wxFindReplaceDialog
,
34078 _swigc__p_wxFlexGridSizer
,
34079 _swigc__p_wxFocusEvent
,
34081 _swigc__p_wxFontData
,
34082 _swigc__p_wxFontDialog
,
34084 _swigc__p_wxGBSizerItem
,
34085 _swigc__p_wxGIFHandler
,
34086 _swigc__p_wxGridBagSizer
,
34087 _swigc__p_wxGridSizer
,
34088 _swigc__p_wxHtmlLinkInfo
,
34089 _swigc__p_wxICOHandler
,
34091 _swigc__p_wxIconBundle
,
34092 _swigc__p_wxIconizeEvent
,
34093 _swigc__p_wxIdleEvent
,
34095 _swigc__p_wxImageHandler
,
34096 _swigc__p_wxIndividualLayoutConstraint
,
34097 _swigc__p_wxInitDialogEvent
,
34098 _swigc__p_wxItemContainer
,
34099 _swigc__p_wxJPEGHandler
,
34100 _swigc__p_wxKeyEvent
,
34101 _swigc__p_wxLayoutAlgorithm
,
34102 _swigc__p_wxLayoutConstraints
,
34103 _swigc__p_wxMDIChildFrame
,
34104 _swigc__p_wxMDIClientWindow
,
34105 _swigc__p_wxMDIParentFrame
,
34106 _swigc__p_wxMaximizeEvent
,
34108 _swigc__p_wxMenuBar
,
34109 _swigc__p_wxMenuEvent
,
34110 _swigc__p_wxMenuItem
,
34111 _swigc__p_wxMessageDialog
,
34112 _swigc__p_wxMiniFrame
,
34113 _swigc__p_wxMouseCaptureChangedEvent
,
34114 _swigc__p_wxMouseCaptureLostEvent
,
34115 _swigc__p_wxMouseEvent
,
34116 _swigc__p_wxMoveEvent
,
34117 _swigc__p_wxMultiChoiceDialog
,
34118 _swigc__p_wxNavigationKeyEvent
,
34119 _swigc__p_wxNcPaintEvent
,
34120 _swigc__p_wxNotifyEvent
,
34121 _swigc__p_wxNumberEntryDialog
,
34122 _swigc__p_wxObject
,
34123 _swigc__p_wxPCXHandler
,
34124 _swigc__p_wxPNGHandler
,
34125 _swigc__p_wxPNMHandler
,
34126 _swigc__p_wxPageSetupDialog
,
34127 _swigc__p_wxPageSetupDialogData
,
34128 _swigc__p_wxPaintEvent
,
34129 _swigc__p_wxPaletteChangedEvent
,
34131 _swigc__p_wxPaperSize
,
34132 _swigc__p_wxPasswordEntryDialog
,
34134 _swigc__p_wxPopupWindow
,
34135 _swigc__p_wxPreviewCanvas
,
34136 _swigc__p_wxPreviewControlBar
,
34137 _swigc__p_wxPreviewFrame
,
34138 _swigc__p_wxPrintData
,
34139 _swigc__p_wxPrintDialog
,
34140 _swigc__p_wxPrintDialogData
,
34141 _swigc__p_wxPrintPreview
,
34142 _swigc__p_wxPrinter
,
34143 _swigc__p_wxProgressDialog
,
34145 _swigc__p_wxPyCommandEvent
,
34146 _swigc__p_wxPyEvent
,
34147 _swigc__p_wxPyHtmlListBox
,
34148 _swigc__p_wxPyImageHandler
,
34149 _swigc__p_wxPyPanel
,
34150 _swigc__p_wxPyPopupTransientWindow
,
34151 _swigc__p_wxPyPreviewControlBar
,
34152 _swigc__p_wxPyPreviewFrame
,
34153 _swigc__p_wxPyPrintPreview
,
34154 _swigc__p_wxPyPrintout
,
34155 _swigc__p_wxPyScrolledWindow
,
34156 _swigc__p_wxPySizer
,
34157 _swigc__p_wxPyTaskBarIcon
,
34158 _swigc__p_wxPyVListBox
,
34159 _swigc__p_wxPyVScrolledWindow
,
34160 _swigc__p_wxPyValidator
,
34161 _swigc__p_wxPyWindow
,
34162 _swigc__p_wxQueryLayoutInfoEvent
,
34163 _swigc__p_wxQueryNewPaletteEvent
,
34165 _swigc__p_wxRegion
,
34166 _swigc__p_wxSashEvent
,
34167 _swigc__p_wxSashLayoutWindow
,
34168 _swigc__p_wxSashWindow
,
34169 _swigc__p_wxScrollEvent
,
34170 _swigc__p_wxScrollWinEvent
,
34171 _swigc__p_wxScrolledWindow
,
34172 _swigc__p_wxSetCursorEvent
,
34173 _swigc__p_wxShowEvent
,
34174 _swigc__p_wxSimpleHtmlListBox
,
34175 _swigc__p_wxSingleChoiceDialog
,
34177 _swigc__p_wxSizeEvent
,
34179 _swigc__p_wxSizerItem
,
34180 _swigc__p_wxSplashScreen
,
34181 _swigc__p_wxSplashScreenWindow
,
34182 _swigc__p_wxSplitterEvent
,
34183 _swigc__p_wxSplitterWindow
,
34184 _swigc__p_wxStaticBoxSizer
,
34185 _swigc__p_wxStatusBar
,
34186 _swigc__p_wxStdDialogButtonSizer
,
34187 _swigc__p_wxString
,
34188 _swigc__p_wxSysColourChangedEvent
,
34189 _swigc__p_wxTGAHandler
,
34190 _swigc__p_wxTIFFHandler
,
34191 _swigc__p_wxTaskBarIcon
,
34192 _swigc__p_wxTaskBarIconEvent
,
34193 _swigc__p_wxTextEntryDialog
,
34194 _swigc__p_wxTipWindow
,
34195 _swigc__p_wxToolBar
,
34196 _swigc__p_wxTopLevelWindow
,
34197 _swigc__p_wxUpdateUIEvent
,
34198 _swigc__p_wxValidator
,
34199 _swigc__p_wxVisualAttributes
,
34200 _swigc__p_wxWindow
,
34201 _swigc__p_wxWindowCreateEvent
,
34202 _swigc__p_wxWindowDestroyEvent
,
34203 _swigc__p_wxXPMHandler
,
34207 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34209 static swig_const_info swig_const_table
[] = {
34210 {0, 0, 0, 0.0, 0, 0}};
34215 /* -----------------------------------------------------------------------------
34216 * Type initialization:
34217 * This problem is tough by the requirement that no dynamic
34218 * memory is used. Also, since swig_type_info structures store pointers to
34219 * swig_cast_info structures and swig_cast_info structures store pointers back
34220 * to swig_type_info structures, we need some lookup code at initialization.
34221 * The idea is that swig generates all the structures that are needed.
34222 * The runtime then collects these partially filled structures.
34223 * The SWIG_InitializeModule function takes these initial arrays out of
34224 * swig_module, and does all the lookup, filling in the swig_module.types
34225 * array with the correct data and linking the correct swig_cast_info
34226 * structures together.
34228 * The generated swig_type_info structures are assigned staticly to an initial
34229 * array. We just loop though that array, and handle each type individually.
34230 * First we lookup if this type has been already loaded, and if so, use the
34231 * loaded structure instead of the generated one. Then we have to fill in the
34232 * cast linked list. The cast data is initially stored in something like a
34233 * two-dimensional array. Each row corresponds to a type (there are the same
34234 * number of rows as there are in the swig_type_initial array). Each entry in
34235 * a column is one of the swig_cast_info structures for that type.
34236 * The cast_initial array is actually an array of arrays, because each row has
34237 * a variable number of columns. So to actually build the cast linked list,
34238 * we find the array of casts associated with the type, and loop through it
34239 * adding the casts to the list. The one last trick we need to do is making
34240 * sure the type pointer in the swig_cast_info struct is correct.
34242 * First off, we lookup the cast->type name to see if it is already loaded.
34243 * There are three cases to handle:
34244 * 1) If the cast->type has already been loaded AND the type we are adding
34245 * casting info to has not been loaded (it is in this module), THEN we
34246 * replace the cast->type pointer with the type pointer that has already
34248 * 2) If BOTH types (the one we are adding casting info to, and the
34249 * cast->type) are loaded, THEN the cast info has already been loaded by
34250 * the previous module so we just ignore it.
34251 * 3) Finally, if cast->type has not already been loaded, then we add that
34252 * swig_cast_info to the linked list (because the cast->type) pointer will
34254 * ----------------------------------------------------------------------------- */
34264 #define SWIGRUNTIME_DEBUG
34268 SWIG_InitializeModule(void *clientdata
) {
34270 swig_module_info
*module_head
;
34271 static int init_run
= 0;
34273 clientdata
= clientdata
;
34275 if (init_run
) return;
34278 /* Initialize the swig_module */
34279 swig_module
.type_initial
= swig_type_initial
;
34280 swig_module
.cast_initial
= swig_cast_initial
;
34282 /* Try and load any already created modules */
34283 module_head
= SWIG_GetModule(clientdata
);
34285 swig_module
.next
= module_head
->next
;
34286 module_head
->next
= &swig_module
;
34288 /* This is the first module loaded */
34289 swig_module
.next
= &swig_module
;
34290 SWIG_SetModule(clientdata
, &swig_module
);
34293 /* Now work on filling in swig_module.types */
34294 #ifdef SWIGRUNTIME_DEBUG
34295 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34297 for (i
= 0; i
< swig_module
.size
; ++i
) {
34298 swig_type_info
*type
= 0;
34299 swig_type_info
*ret
;
34300 swig_cast_info
*cast
;
34302 #ifdef SWIGRUNTIME_DEBUG
34303 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34306 /* if there is another module already loaded */
34307 if (swig_module
.next
!= &swig_module
) {
34308 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34311 /* Overwrite clientdata field */
34312 #ifdef SWIGRUNTIME_DEBUG
34313 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34315 if (swig_module
.type_initial
[i
]->clientdata
) {
34316 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34317 #ifdef SWIGRUNTIME_DEBUG
34318 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34322 type
= swig_module
.type_initial
[i
];
34325 /* Insert casting types */
34326 cast
= swig_module
.cast_initial
[i
];
34327 while (cast
->type
) {
34328 /* Don't need to add information already in the list */
34330 #ifdef SWIGRUNTIME_DEBUG
34331 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34333 if (swig_module
.next
!= &swig_module
) {
34334 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34335 #ifdef SWIGRUNTIME_DEBUG
34336 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34340 if (type
== swig_module
.type_initial
[i
]) {
34341 #ifdef SWIGRUNTIME_DEBUG
34342 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34347 /* Check for casting already in the list */
34348 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34349 #ifdef SWIGRUNTIME_DEBUG
34350 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34352 if (!ocast
) ret
= 0;
34357 #ifdef SWIGRUNTIME_DEBUG
34358 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34361 type
->cast
->prev
= cast
;
34362 cast
->next
= type
->cast
;
34368 /* Set entry in modules->types array equal to the type */
34369 swig_module
.types
[i
] = type
;
34371 swig_module
.types
[i
] = 0;
34373 #ifdef SWIGRUNTIME_DEBUG
34374 printf("**** SWIG_InitializeModule: Cast List ******\n");
34375 for (i
= 0; i
< swig_module
.size
; ++i
) {
34377 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34378 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34379 while (cast
->type
) {
34380 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34384 printf("---- Total casts: %d\n",j
);
34386 printf("**** SWIG_InitializeModule: Cast List ******\n");
34390 /* This function will propagate the clientdata field of type to
34391 * any new swig_type_info structures that have been added into the list
34392 * of equivalent types. It is like calling
34393 * SWIG_TypeClientData(type, clientdata) a second time.
34396 SWIG_PropagateClientData(void) {
34398 swig_cast_info
*equiv
;
34399 static int init_run
= 0;
34401 if (init_run
) return;
34404 for (i
= 0; i
< swig_module
.size
; i
++) {
34405 if (swig_module
.types
[i
]->clientdata
) {
34406 equiv
= swig_module
.types
[i
]->cast
;
34408 if (!equiv
->converter
) {
34409 if (equiv
->type
&& !equiv
->type
->clientdata
)
34410 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34412 equiv
= equiv
->next
;
34432 /* Python-specific SWIG API */
34433 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34434 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34435 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34437 /* -----------------------------------------------------------------------------
34438 * global variable support code.
34439 * ----------------------------------------------------------------------------- */
34441 typedef struct swig_globalvar
{
34442 char *name
; /* Name of global variable */
34443 PyObject
*(*get_attr
)(void); /* Return the current value */
34444 int (*set_attr
)(PyObject
*); /* Set the value */
34445 struct swig_globalvar
*next
;
34448 typedef struct swig_varlinkobject
{
34450 swig_globalvar
*vars
;
34451 } swig_varlinkobject
;
34453 SWIGINTERN PyObject
*
34454 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34455 return PyString_FromString("<Swig global variables>");
34458 SWIGINTERN PyObject
*
34459 swig_varlink_str(swig_varlinkobject
*v
) {
34460 PyObject
*str
= PyString_FromString("(");
34461 swig_globalvar
*var
;
34462 for (var
= v
->vars
; var
; var
=var
->next
) {
34463 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34464 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34466 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34471 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34472 PyObject
*str
= swig_varlink_str(v
);
34473 fprintf(fp
,"Swig global variables ");
34474 fprintf(fp
,"%s\n", PyString_AsString(str
));
34480 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34481 swig_globalvar
*var
= v
->vars
;
34483 swig_globalvar
*n
= var
->next
;
34490 SWIGINTERN PyObject
*
34491 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34492 PyObject
*res
= NULL
;
34493 swig_globalvar
*var
= v
->vars
;
34495 if (strcmp(var
->name
,n
) == 0) {
34496 res
= (*var
->get_attr
)();
34501 if (res
== NULL
&& !PyErr_Occurred()) {
34502 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34508 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34510 swig_globalvar
*var
= v
->vars
;
34512 if (strcmp(var
->name
,n
) == 0) {
34513 res
= (*var
->set_attr
)(p
);
34518 if (res
== 1 && !PyErr_Occurred()) {
34519 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34524 SWIGINTERN PyTypeObject
*
34525 swig_varlink_type(void) {
34526 static char varlink__doc__
[] = "Swig var link object";
34527 static PyTypeObject varlink_type
;
34528 static int type_init
= 0;
34530 const PyTypeObject tmp
34532 PyObject_HEAD_INIT(NULL
)
34533 0, /* Number of items in variable part (ob_size) */
34534 (char *)"swigvarlink", /* Type name (tp_name) */
34535 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34536 0, /* Itemsize (tp_itemsize) */
34537 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34538 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34539 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34540 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34541 0, /* tp_compare */
34542 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34543 0, /* tp_as_number */
34544 0, /* tp_as_sequence */
34545 0, /* tp_as_mapping */
34548 (reprfunc
)swig_varlink_str
, /* tp_str */
34549 0, /* tp_getattro */
34550 0, /* tp_setattro */
34551 0, /* tp_as_buffer */
34553 varlink__doc__
, /* tp_doc */
34554 0, /* tp_traverse */
34556 0, /* tp_richcompare */
34557 0, /* tp_weaklistoffset */
34558 #if PY_VERSION_HEX >= 0x02020000
34559 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34561 #if PY_VERSION_HEX >= 0x02030000
34564 #ifdef COUNT_ALLOCS
34565 0,0,0,0 /* tp_alloc -> tp_next */
34568 varlink_type
= tmp
;
34569 varlink_type
.ob_type
= &PyType_Type
;
34572 return &varlink_type
;
34575 /* Create a variable linking object for use later */
34576 SWIGINTERN PyObject
*
34577 SWIG_Python_newvarlink(void) {
34578 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34582 return ((PyObject
*) result
);
34586 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34587 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34588 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34590 size_t size
= strlen(name
)+1;
34591 gv
->name
= (char *)malloc(size
);
34593 strncpy(gv
->name
,name
,size
);
34594 gv
->get_attr
= get_attr
;
34595 gv
->set_attr
= set_attr
;
34596 gv
->next
= v
->vars
;
34602 SWIGINTERN PyObject
*
34604 static PyObject
*_SWIG_globals
= 0;
34605 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34606 return _SWIG_globals
;
34609 /* -----------------------------------------------------------------------------
34610 * constants/methods manipulation
34611 * ----------------------------------------------------------------------------- */
34613 /* Install Constants */
34615 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34618 for (i
= 0; constants
[i
].type
; ++i
) {
34619 switch(constants
[i
].type
) {
34620 case SWIG_PY_POINTER
:
34621 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34623 case SWIG_PY_BINARY
:
34624 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34631 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34637 /* -----------------------------------------------------------------------------*/
34638 /* Fix SwigMethods to carry the callback ptrs when needed */
34639 /* -----------------------------------------------------------------------------*/
34642 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34643 swig_const_info
*const_table
,
34644 swig_type_info
**types
,
34645 swig_type_info
**types_initial
) {
34647 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34648 const char *c
= methods
[i
].ml_doc
;
34649 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34651 swig_const_info
*ci
= 0;
34652 const char *name
= c
+ 10;
34653 for (j
= 0; const_table
[j
].type
; ++j
) {
34654 if (strncmp(const_table
[j
].name
, name
,
34655 strlen(const_table
[j
].name
)) == 0) {
34656 ci
= &(const_table
[j
]);
34661 size_t shift
= (ci
->ptype
) - types
;
34662 swig_type_info
*ty
= types_initial
[shift
];
34663 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34664 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34665 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34668 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34670 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34672 strncpy(buff
, "swig_ptr: ", 10);
34674 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34675 methods
[i
].ml_doc
= ndoc
;
34687 /* -----------------------------------------------------------------------------*
34688 * Partial Init method
34689 * -----------------------------------------------------------------------------*/
34694 SWIGEXPORT
void SWIG_init(void) {
34697 /* Fix SwigMethods to carry the callback ptrs when needed */
34698 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34700 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34701 d
= PyModule_GetDict(m
);
34703 SWIG_InitializeModule(0);
34704 SWIG_InstallConstants(d
,swig_const_table
);
34707 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34708 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34709 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34710 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34711 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34712 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34713 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34714 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34715 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34716 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34717 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34718 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34719 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34720 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34721 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34722 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34723 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34724 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34725 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34726 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34727 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34728 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34729 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34730 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34731 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34732 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34733 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34734 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34735 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34736 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34737 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34738 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34739 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34740 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34741 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34742 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34743 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34744 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34745 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34746 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34747 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34748 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34749 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34750 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34751 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34752 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34753 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34754 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34755 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34756 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34757 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34758 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34759 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34760 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34761 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34762 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34763 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34764 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34765 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34766 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34767 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34768 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34769 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34770 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34771 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34772 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34773 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34774 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34775 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34776 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34777 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34778 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34779 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34780 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34781 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34782 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34783 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34784 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34785 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34786 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34787 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34788 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34789 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34790 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34791 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34792 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34793 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34794 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34795 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34796 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34797 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34798 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34799 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34800 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34801 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34802 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34803 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34804 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34805 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34806 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34807 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34808 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34809 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34810 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34811 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34812 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34813 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
34814 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
34815 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
34817 // Map renamed classes back to their common name for OOR
34818 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34819 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34820 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34822 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34823 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34824 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34825 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34826 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34827 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34828 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34829 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34830 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34831 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34832 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34833 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34834 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34835 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34836 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34837 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34838 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34839 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34840 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34841 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34842 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34843 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34844 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34845 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34846 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34847 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34848 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34849 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34850 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34851 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34852 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34853 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34854 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34855 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34856 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34857 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34858 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34859 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34860 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34861 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34862 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34863 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34864 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34865 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34866 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34867 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34868 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34869 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34870 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34871 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34872 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34873 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34874 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34875 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34876 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34877 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34878 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34879 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34880 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34881 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34882 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34883 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34884 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34885 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34886 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34887 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34888 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34889 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34890 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34891 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34892 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34893 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34894 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34895 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34896 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34897 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34898 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34899 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34900 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34901 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34902 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34903 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34904 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34905 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34906 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34907 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34908 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34909 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34910 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34911 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34912 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34913 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34914 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34915 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34916 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34917 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34918 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34919 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34920 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34921 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34922 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34923 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34924 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34925 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34927 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");