1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2663 #define SWIG_name "_windows_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2746 # define LLONG_MIN LONG_LONG_MIN
2749 # define LLONG_MAX LONG_LONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2757 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2759 if (PyNumber_Check(obj
)) {
2760 if (val
) *val
= PyInt_AsLong(obj
);
2763 return SWIG_TypeError
;
2768 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2771 int res
= SWIG_AsVal_long (obj
, &v
);
2772 if (SWIG_IsOK(res
)) {
2773 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2774 return SWIG_OverflowError
;
2776 if (val
) *val
= static_cast< int >(v
);
2784 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2786 if (obj
== Py_True
) {
2787 if (val
) *val
= true;
2789 } else if (obj
== Py_False
) {
2790 if (val
) *val
= false;
2794 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2795 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2801 #define SWIG_From_long PyInt_FromLong
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_int (int value
)
2807 return SWIG_From_long (value
);
2812 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2814 if (PyNumber_Check(obj
)) {
2815 if (val
) *val
= PyFloat_AsDouble(obj
);
2818 return SWIG_TypeError
;
2822 #define SWIG_From_double PyFloat_FromDouble
2824 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2825 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2826 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2827 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2828 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2829 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2831 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2835 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2837 self
->GetFieldRect(i
, r
);
2840 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2841 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2842 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2844 #include <wx/popupwin.h>
2847 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2850 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2851 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2852 : wxPopupTransientWindow(parent
, style
) {}
2854 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2855 DEC_PYCALLBACK__(OnDismiss
);
2856 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2861 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2862 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2863 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
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_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
= 0;
5141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5149 char * kwnames
[] = {
5150 (char *) "self",(char *) "dc", NULL
5153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5155 if (!SWIG_IsOK(res1
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5158 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5160 if (!SWIG_IsOK(res2
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5166 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->DoPrepareDC(*arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_Py_Void();
5180 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
= 0;
5182 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5183 SwigValueWrapper
<wxVisualAttributes
> result
;
5186 PyObject
* obj0
= 0 ;
5187 char * kwnames
[] = {
5188 (char *) "variant", NULL
5191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5193 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5194 if (!SWIG_IsOK(ecode1
)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5197 arg1
= static_cast< wxWindowVariant
>(val1
);
5200 if (!wxPyCheckForApp()) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5213 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5216 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5217 return SWIG_Py_Void();
5220 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5221 return SWIG_Python_InitShadowInstance(args
);
5224 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5225 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5230 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5231 PyObject
*pyobj
= 0;
5235 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5237 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5244 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5245 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5250 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5251 PyObject
*pyobj
= 0;
5255 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5257 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5264 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5265 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5270 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5271 PyObject
*pyobj
= 0;
5275 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5277 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5284 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5285 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5290 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5291 PyObject
*pyobj
= 0;
5295 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5297 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5304 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
= 0;
5306 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5307 bool arg2
= (bool) true ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5314 char * kwnames
[] = {
5315 (char *) "self",(char *) "maximize", NULL
5318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5320 if (!SWIG_IsOK(res1
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5323 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5325 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5326 if (!SWIG_IsOK(ecode2
)) {
5327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5329 arg2
= static_cast< bool >(val2
);
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 (arg1
)->Maximize(arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_Py_Void();
5344 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5345 PyObject
*resultobj
= 0;
5346 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5349 PyObject
*swig_obj
[1] ;
5351 if (!args
) SWIG_fail
;
5353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5354 if (!SWIG_IsOK(res1
)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5357 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= SWIG_Py_Void();
5371 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
= 0;
5373 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5374 bool arg2
= (bool) true ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5381 char * kwnames
[] = {
5382 (char *) "self",(char *) "iconize", NULL
5385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5387 if (!SWIG_IsOK(res1
)) {
5388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5390 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5392 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5393 if (!SWIG_IsOK(ecode2
)) {
5394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5396 arg2
= static_cast< bool >(val2
);
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 (arg1
)->Iconize(arg2
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_Py_Void();
5411 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5412 PyObject
*resultobj
= 0;
5413 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5417 PyObject
*swig_obj
[1] ;
5419 if (!args
) SWIG_fail
;
5421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5422 if (!SWIG_IsOK(res1
)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5425 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5441 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5442 PyObject
*resultobj
= 0;
5443 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5447 PyObject
*swig_obj
[1] ;
5449 if (!args
) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5455 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5471 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5472 PyObject
*resultobj
= 0;
5473 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5477 PyObject
*swig_obj
[1] ;
5479 if (!args
) SWIG_fail
;
5481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5482 if (!SWIG_IsOK(res1
)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5485 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5501 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5502 PyObject
*resultobj
= 0;
5503 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5507 PyObject
*swig_obj
[1] ;
5509 if (!args
) SWIG_fail
;
5511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5512 if (!SWIG_IsOK(res1
)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5515 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5529 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
= 0;
5531 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5539 char * kwnames
[] = {
5540 (char *) "self",(char *) "icon", NULL
5543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5548 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5550 if (!SWIG_IsOK(res2
)) {
5551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5556 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_Py_Void();
5570 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
= 0;
5572 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5573 wxIconBundle
*arg2
= 0 ;
5578 PyObject
* obj0
= 0 ;
5579 PyObject
* obj1
= 0 ;
5580 char * kwnames
[] = {
5581 (char *) "self",(char *) "icons", NULL
5584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5586 if (!SWIG_IsOK(res1
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5589 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5591 if (!SWIG_IsOK(res2
)) {
5592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5597 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_Py_Void();
5611 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
= 0;
5613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5615 long arg3
= (long) wxFULLSCREEN_ALL
;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5625 PyObject
* obj2
= 0 ;
5626 char * kwnames
[] = {
5627 (char *) "self",(char *) "show",(char *) "style", NULL
5630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5635 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5636 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5637 if (!SWIG_IsOK(ecode2
)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5640 arg2
= static_cast< bool >(val2
);
5642 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5643 if (!SWIG_IsOK(ecode3
)) {
5644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5646 arg3
= static_cast< long >(val3
);
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5663 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5664 PyObject
*resultobj
= 0;
5665 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5669 PyObject
*swig_obj
[1] ;
5671 if (!args
) SWIG_fail
;
5673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5674 if (!SWIG_IsOK(res1
)) {
5675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5677 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5693 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
= 0;
5695 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5696 wxString
*arg2
= 0 ;
5699 bool temp2
= false ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5702 char * kwnames
[] = {
5703 (char *) "self",(char *) "title", NULL
5706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5708 if (!SWIG_IsOK(res1
)) {
5709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5711 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5713 arg2
= wxString_in_helper(obj1
);
5714 if (arg2
== NULL
) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 (arg1
)->SetTitle((wxString
const &)*arg2
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= SWIG_Py_Void();
5738 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5739 PyObject
*resultobj
= 0;
5740 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5744 PyObject
*swig_obj
[1] ;
5746 if (!args
) SWIG_fail
;
5748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5749 if (!SWIG_IsOK(res1
)) {
5750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5752 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5772 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= 0;
5774 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 char * kwnames
[] = {
5784 (char *) "self",(char *) "enable", NULL
5787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5789 if (!SWIG_IsOK(res1
)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5792 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5793 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5794 if (!SWIG_IsOK(ecode2
)) {
5795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5797 arg2
= static_cast< bool >(val2
);
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5813 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
= 0;
5815 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5816 wxRegion
*arg2
= 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5824 char * kwnames
[] = {
5825 (char *) "self",(char *) "region", NULL
5828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5830 if (!SWIG_IsOK(res1
)) {
5831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5833 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5835 if (!SWIG_IsOK(res2
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5841 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5857 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
= 0;
5859 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5860 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "flags", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5876 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5879 if (!SWIG_IsOK(ecode2
)) {
5880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5882 arg2
= static_cast< int >(val2
);
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 (arg1
)->RequestUserAttention(arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_Py_Void();
5897 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5898 PyObject
*resultobj
= 0;
5899 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5903 PyObject
*swig_obj
[1] ;
5905 if (!args
) SWIG_fail
;
5907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5908 if (!SWIG_IsOK(res1
)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5911 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (bool)(arg1
)->IsActive();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5927 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
= 0;
5929 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5937 char * kwnames
[] = {
5938 (char *) "self",(char *) "on", NULL
5941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5943 if (!SWIG_IsOK(res1
)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5946 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5947 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5948 if (!SWIG_IsOK(ecode2
)) {
5949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5951 arg2
= static_cast< bool >(val2
);
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_Py_Void();
5965 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5966 PyObject
*resultobj
= 0;
5967 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5971 PyObject
*swig_obj
[1] ;
5973 if (!args
) SWIG_fail
;
5975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5976 if (!SWIG_IsOK(res1
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5979 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5995 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= 0;
5997 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5998 int arg2
= (int) wxBOTH
;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6005 char * kwnames
[] = {
6006 (char *) "self",(char *) "dir", NULL
6009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6011 if (!SWIG_IsOK(res1
)) {
6012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6014 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6017 if (!SWIG_IsOK(ecode2
)) {
6018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6020 arg2
= static_cast< int >(val2
);
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 (arg1
)->CenterOnScreen(arg2
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_Py_Void();
6035 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6036 PyObject
*resultobj
= 0;
6037 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6038 wxWindow
*result
= 0 ;
6041 PyObject
*swig_obj
[1] ;
6043 if (!args
) SWIG_fail
;
6045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6046 if (!SWIG_IsOK(res1
)) {
6047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6049 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= wxPyMake_wxObject(result
, 0);
6065 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
= 0;
6067 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6068 wxWindow
*arg2
= (wxWindow
*) 0 ;
6069 wxWindow
*result
= 0 ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 char * kwnames
[] = {
6077 (char *) "self",(char *) "child", NULL
6080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6085 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6087 if (!SWIG_IsOK(res2
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6090 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= wxPyMake_wxObject(result
, 0);
6106 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
= 0;
6108 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6109 wxWindow
*arg2
= (wxWindow
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6116 char * kwnames
[] = {
6117 (char *) "self",(char *) "win", NULL
6120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6122 if (!SWIG_IsOK(res1
)) {
6123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6125 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6127 if (!SWIG_IsOK(res2
)) {
6128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 (arg1
)->SetTmpDefaultItem(arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_Py_Void();
6144 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6147 wxWindow
*result
= 0 ;
6150 PyObject
*swig_obj
[1] ;
6152 if (!args
) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6158 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= wxPyMake_wxObject(result
, 0);
6174 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6178 return SWIG_Py_Void();
6181 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
= 0;
6183 wxWindow
*arg1
= (wxWindow
*) 0 ;
6184 int arg2
= (int) (int)-1 ;
6185 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6191 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6192 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6193 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6194 wxFrame
*result
= 0 ;
6199 bool temp3
= false ;
6204 bool temp7
= false ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6208 PyObject
* obj3
= 0 ;
6209 PyObject
* obj4
= 0 ;
6210 PyObject
* obj5
= 0 ;
6211 PyObject
* obj6
= 0 ;
6212 char * kwnames
[] = {
6213 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6224 if (!SWIG_IsOK(ecode2
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6227 arg2
= static_cast< int >(val2
);
6231 arg3
= wxString_in_helper(obj2
);
6232 if (arg3
== NULL
) SWIG_fail
;
6239 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6245 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6249 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6250 if (!SWIG_IsOK(ecode6
)) {
6251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6253 arg6
= static_cast< long >(val6
);
6257 arg7
= wxString_in_helper(obj6
);
6258 if (arg7
== NULL
) SWIG_fail
;
6263 if (!wxPyCheckForApp()) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6292 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6293 PyObject
*resultobj
= 0;
6294 wxFrame
*result
= 0 ;
6296 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6298 if (!wxPyCheckForApp()) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (wxFrame
*)new wxFrame();
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6311 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
= 0;
6313 wxFrame
*arg1
= (wxFrame
*) 0 ;
6314 wxWindow
*arg2
= (wxWindow
*) 0 ;
6315 int arg3
= (int) (int)-1 ;
6316 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6317 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6318 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6319 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6320 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6321 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6322 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6323 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6324 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6332 bool temp4
= false ;
6337 bool temp8
= false ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6342 PyObject
* obj4
= 0 ;
6343 PyObject
* obj5
= 0 ;
6344 PyObject
* obj6
= 0 ;
6345 PyObject
* obj7
= 0 ;
6346 char * kwnames
[] = {
6347 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6352 if (!SWIG_IsOK(res1
)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6355 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6357 if (!SWIG_IsOK(res2
)) {
6358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6360 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6363 if (!SWIG_IsOK(ecode3
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6366 arg3
= static_cast< int >(val3
);
6370 arg4
= wxString_in_helper(obj3
);
6371 if (arg4
== NULL
) SWIG_fail
;
6378 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6384 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6388 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6389 if (!SWIG_IsOK(ecode7
)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6392 arg7
= static_cast< long >(val7
);
6396 arg8
= wxString_in_helper(obj7
);
6397 if (arg8
== NULL
) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6432 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6433 PyObject
*resultobj
= 0;
6434 wxFrame
*arg1
= (wxFrame
*) 0 ;
6437 PyObject
*swig_obj
[1] ;
6439 if (!args
) SWIG_fail
;
6441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6442 if (!SWIG_IsOK(res1
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6445 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 (arg1
)->SendSizeEvent();
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_Py_Void();
6459 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
= 0;
6461 wxFrame
*arg1
= (wxFrame
*) 0 ;
6462 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6469 char * kwnames
[] = {
6470 (char *) "self",(char *) "menubar", NULL
6473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6478 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6480 if (!SWIG_IsOK(res2
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6483 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 (arg1
)->SetMenuBar(arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= SWIG_Py_Void();
6497 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6498 PyObject
*resultobj
= 0;
6499 wxFrame
*arg1
= (wxFrame
*) 0 ;
6500 wxMenuBar
*result
= 0 ;
6503 PyObject
*swig_obj
[1] ;
6505 if (!args
) SWIG_fail
;
6507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6508 if (!SWIG_IsOK(res1
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6511 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= wxPyMake_wxObject(result
, 0);
6527 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
= 0;
6529 wxFrame
*arg1
= (wxFrame
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 char * kwnames
[] = {
6539 (char *) "self",(char *) "winid", NULL
6542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6547 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6549 if (!SWIG_IsOK(ecode2
)) {
6550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6552 arg2
= static_cast< int >(val2
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
= 0;
6570 wxFrame
*arg1
= (wxFrame
*) 0 ;
6571 int arg2
= (int) 1 ;
6572 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6573 int arg4
= (int) 0 ;
6574 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6575 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6576 wxStatusBar
*result
= 0 ;
6585 bool temp5
= false ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 PyObject
* obj2
= 0 ;
6589 PyObject
* obj3
= 0 ;
6590 PyObject
* obj4
= 0 ;
6591 char * kwnames
[] = {
6592 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6597 if (!SWIG_IsOK(res1
)) {
6598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6600 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6603 if (!SWIG_IsOK(ecode2
)) {
6604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6606 arg2
= static_cast< int >(val2
);
6609 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6610 if (!SWIG_IsOK(ecode3
)) {
6611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6613 arg3
= static_cast< long >(val3
);
6616 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6617 if (!SWIG_IsOK(ecode4
)) {
6618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6620 arg4
= static_cast< int >(val4
);
6624 arg5
= wxString_in_helper(obj4
);
6625 if (arg5
== NULL
) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6652 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6653 PyObject
*resultobj
= 0;
6654 wxFrame
*arg1
= (wxFrame
*) 0 ;
6655 wxStatusBar
*result
= 0 ;
6658 PyObject
*swig_obj
[1] ;
6660 if (!args
) SWIG_fail
;
6662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6663 if (!SWIG_IsOK(res1
)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6666 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6682 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
= 0;
6684 wxFrame
*arg1
= (wxFrame
*) 0 ;
6685 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6692 char * kwnames
[] = {
6693 (char *) "self",(char *) "statBar", NULL
6696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6698 if (!SWIG_IsOK(res1
)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6701 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6703 if (!SWIG_IsOK(res2
)) {
6704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6706 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 (arg1
)->SetStatusBar(arg2
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_Py_Void();
6720 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
= 0;
6722 wxFrame
*arg1
= (wxFrame
*) 0 ;
6723 wxString
*arg2
= 0 ;
6724 int arg3
= (int) 0 ;
6727 bool temp2
= false ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6732 PyObject
* obj2
= 0 ;
6733 char * kwnames
[] = {
6734 (char *) "self",(char *) "text",(char *) "number", NULL
6737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6742 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6744 arg2
= wxString_in_helper(obj1
);
6745 if (arg2
== NULL
) SWIG_fail
;
6749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6750 if (!SWIG_IsOK(ecode3
)) {
6751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6753 arg3
= static_cast< int >(val3
);
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_Py_Void();
6776 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= 0;
6778 wxFrame
*arg1
= (wxFrame
*) 0 ;
6780 int *arg3
= (int *) 0 ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 char * kwnames
[] = {
6786 (char *) "self",(char *) "widths", NULL
6789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6794 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6796 arg2
= PyList_Size(obj1
);
6797 arg3
= int_LIST_helper(obj1
);
6798 if (arg3
== NULL
) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_Py_Void();
6808 if (arg3
) delete [] arg3
;
6813 if (arg3
) delete [] arg3
;
6819 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
= 0;
6821 wxFrame
*arg1
= (wxFrame
*) 0 ;
6822 wxString
*arg2
= 0 ;
6823 int arg3
= (int) 0 ;
6826 bool temp2
= false ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6831 PyObject
* obj2
= 0 ;
6832 char * kwnames
[] = {
6833 (char *) "self",(char *) "text",(char *) "number", NULL
6836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6838 if (!SWIG_IsOK(res1
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6841 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6843 arg2
= wxString_in_helper(obj1
);
6844 if (arg2
== NULL
) SWIG_fail
;
6848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6849 if (!SWIG_IsOK(ecode3
)) {
6850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6852 arg3
= static_cast< int >(val3
);
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_Py_Void();
6875 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
= 0;
6877 wxFrame
*arg1
= (wxFrame
*) 0 ;
6878 int arg2
= (int) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6885 char * kwnames
[] = {
6886 (char *) "self",(char *) "number", NULL
6889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6891 if (!SWIG_IsOK(res1
)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6894 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6897 if (!SWIG_IsOK(ecode2
)) {
6898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6900 arg2
= static_cast< int >(val2
);
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 (arg1
)->PopStatusText(arg2
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_Py_Void();
6915 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
= 0;
6917 wxFrame
*arg1
= (wxFrame
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6925 char * kwnames
[] = {
6926 (char *) "self",(char *) "n", NULL
6929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6931 if (!SWIG_IsOK(res1
)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6934 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6936 if (!SWIG_IsOK(ecode2
)) {
6937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6939 arg2
= static_cast< int >(val2
);
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 (arg1
)->SetStatusBarPane(arg2
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= SWIG_Py_Void();
6953 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6954 PyObject
*resultobj
= 0;
6955 wxFrame
*arg1
= (wxFrame
*) 0 ;
6959 PyObject
*swig_obj
[1] ;
6961 if (!args
) SWIG_fail
;
6963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6964 if (!SWIG_IsOK(res1
)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6967 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_From_int(static_cast< int >(result
));
6981 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
= 0;
6983 wxFrame
*arg1
= (wxFrame
*) 0 ;
6984 long arg2
= (long) -1 ;
6985 int arg3
= (int) -1 ;
6986 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6987 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6988 wxToolBar
*result
= 0 ;
6995 bool temp4
= false ;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6998 PyObject
* obj2
= 0 ;
6999 PyObject
* obj3
= 0 ;
7000 char * kwnames
[] = {
7001 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7009 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7012 if (!SWIG_IsOK(ecode2
)) {
7013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7015 arg2
= static_cast< long >(val2
);
7018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7019 if (!SWIG_IsOK(ecode3
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7022 arg3
= static_cast< int >(val3
);
7026 arg4
= wxString_in_helper(obj3
);
7027 if (arg4
== NULL
) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7054 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7055 PyObject
*resultobj
= 0;
7056 wxFrame
*arg1
= (wxFrame
*) 0 ;
7057 wxToolBar
*result
= 0 ;
7060 PyObject
*swig_obj
[1] ;
7062 if (!args
) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7068 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7084 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
= 0;
7086 wxFrame
*arg1
= (wxFrame
*) 0 ;
7087 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7094 char * kwnames
[] = {
7095 (char *) "self",(char *) "toolbar", NULL
7098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7100 if (!SWIG_IsOK(res1
)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7103 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7104 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7105 if (!SWIG_IsOK(res2
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7108 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 (arg1
)->SetToolBar(arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_Py_Void();
7122 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
= 0;
7124 wxFrame
*arg1
= (wxFrame
*) 0 ;
7125 wxString
*arg2
= 0 ;
7129 bool temp2
= false ;
7132 PyObject
* obj0
= 0 ;
7133 PyObject
* obj1
= 0 ;
7134 PyObject
* obj2
= 0 ;
7135 char * kwnames
[] = {
7136 (char *) "self",(char *) "text",(char *) "show", NULL
7139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7141 if (!SWIG_IsOK(res1
)) {
7142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7144 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7146 arg2
= wxString_in_helper(obj1
);
7147 if (arg2
== NULL
) SWIG_fail
;
7150 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7151 if (!SWIG_IsOK(ecode3
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7154 arg3
= static_cast< bool >(val3
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7176 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
= 0;
7178 wxFrame
*arg1
= (wxFrame
*) 0 ;
7179 wxMenu
*arg2
= (wxMenu
*) NULL
;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7186 char * kwnames
[] = {
7187 (char *) "self",(char *) "menu", NULL
7190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7192 if (!SWIG_IsOK(res1
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7195 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7198 if (!SWIG_IsOK(res2
)) {
7199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7201 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->DoMenuUpdates(arg2
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_Py_Void();
7216 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
= 0;
7218 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7219 SwigValueWrapper
<wxVisualAttributes
> result
;
7222 PyObject
* obj0
= 0 ;
7223 char * kwnames
[] = {
7224 (char *) "variant", NULL
7227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7230 if (!SWIG_IsOK(ecode1
)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7233 arg1
= static_cast< wxWindowVariant
>(val1
);
7236 if (!wxPyCheckForApp()) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7249 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7252 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7253 return SWIG_Py_Void();
7256 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7257 return SWIG_Python_InitShadowInstance(args
);
7260 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
= 0;
7262 wxWindow
*arg1
= (wxWindow
*) 0 ;
7263 int arg2
= (int) (int)-1 ;
7264 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7266 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7267 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7268 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7269 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7270 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7271 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7272 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7273 wxDialog
*result
= 0 ;
7278 bool temp3
= false ;
7283 bool temp7
= false ;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7286 PyObject
* obj2
= 0 ;
7287 PyObject
* obj3
= 0 ;
7288 PyObject
* obj4
= 0 ;
7289 PyObject
* obj5
= 0 ;
7290 PyObject
* obj6
= 0 ;
7291 char * kwnames
[] = {
7292 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7297 if (!SWIG_IsOK(res1
)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7303 if (!SWIG_IsOK(ecode2
)) {
7304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7306 arg2
= static_cast< int >(val2
);
7310 arg3
= wxString_in_helper(obj2
);
7311 if (arg3
== NULL
) SWIG_fail
;
7318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7328 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7329 if (!SWIG_IsOK(ecode6
)) {
7330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7332 arg6
= static_cast< long >(val6
);
7336 arg7
= wxString_in_helper(obj6
);
7337 if (arg7
== NULL
) SWIG_fail
;
7342 if (!wxPyCheckForApp()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7371 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7372 PyObject
*resultobj
= 0;
7373 wxDialog
*result
= 0 ;
7375 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7377 if (!wxPyCheckForApp()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (wxDialog
*)new wxDialog();
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7390 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
= 0;
7392 wxDialog
*arg1
= (wxDialog
*) 0 ;
7393 wxWindow
*arg2
= (wxWindow
*) 0 ;
7394 int arg3
= (int) (int)-1 ;
7395 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7396 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7397 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7398 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7399 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7400 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7401 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7402 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7403 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7411 bool temp4
= false ;
7416 bool temp8
= false ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7419 PyObject
* obj2
= 0 ;
7420 PyObject
* obj3
= 0 ;
7421 PyObject
* obj4
= 0 ;
7422 PyObject
* obj5
= 0 ;
7423 PyObject
* obj6
= 0 ;
7424 PyObject
* obj7
= 0 ;
7425 char * kwnames
[] = {
7426 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7431 if (!SWIG_IsOK(res1
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7434 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7436 if (!SWIG_IsOK(res2
)) {
7437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7442 if (!SWIG_IsOK(ecode3
)) {
7443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7445 arg3
= static_cast< int >(val3
);
7449 arg4
= wxString_in_helper(obj3
);
7450 if (arg4
== NULL
) SWIG_fail
;
7457 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7463 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7467 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7468 if (!SWIG_IsOK(ecode7
)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7471 arg7
= static_cast< long >(val7
);
7475 arg8
= wxString_in_helper(obj7
);
7476 if (arg8
== NULL
) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7511 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
= 0;
7513 wxDialog
*arg1
= (wxDialog
*) 0 ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7521 char * kwnames
[] = {
7522 (char *) "self",(char *) "returnCode", NULL
7525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7527 if (!SWIG_IsOK(res1
)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7530 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7532 if (!SWIG_IsOK(ecode2
)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7535 arg2
= static_cast< int >(val2
);
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 (arg1
)->SetReturnCode(arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_Py_Void();
7549 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7550 PyObject
*resultobj
= 0;
7551 wxDialog
*arg1
= (wxDialog
*) 0 ;
7555 PyObject
*swig_obj
[1] ;
7557 if (!args
) SWIG_fail
;
7559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7560 if (!SWIG_IsOK(res1
)) {
7561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7563 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_From_int(static_cast< int >(result
));
7577 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
= 0;
7579 wxDialog
*arg1
= (wxDialog
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7586 PyObject
* obj1
= 0 ;
7587 char * kwnames
[] = {
7588 (char *) "self",(char *) "affirmativeId", NULL
7591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7593 if (!SWIG_IsOK(res1
)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7596 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7598 if (!SWIG_IsOK(ecode2
)) {
7599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7601 arg2
= static_cast< int >(val2
);
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 (arg1
)->SetAffirmativeId(arg2
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_Py_Void();
7615 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7616 PyObject
*resultobj
= 0;
7617 wxDialog
*arg1
= (wxDialog
*) 0 ;
7621 PyObject
*swig_obj
[1] ;
7623 if (!args
) SWIG_fail
;
7625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7626 if (!SWIG_IsOK(res1
)) {
7627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7629 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_From_int(static_cast< int >(result
));
7643 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
= 0;
7645 wxDialog
*arg1
= (wxDialog
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7653 char * kwnames
[] = {
7654 (char *) "self",(char *) "escapeId", NULL
7657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7659 if (!SWIG_IsOK(res1
)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7662 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7664 if (!SWIG_IsOK(ecode2
)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7667 arg2
= static_cast< int >(val2
);
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 (arg1
)->SetEscapeId(arg2
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_Py_Void();
7681 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7682 PyObject
*resultobj
= 0;
7683 wxDialog
*arg1
= (wxDialog
*) 0 ;
7687 PyObject
*swig_obj
[1] ;
7689 if (!args
) SWIG_fail
;
7691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7692 if (!SWIG_IsOK(res1
)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7695 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= SWIG_From_int(static_cast< int >(result
));
7709 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxDialog
*arg1
= (wxDialog
*) 0 ;
7712 wxString
*arg2
= 0 ;
7713 wxSizer
*result
= 0 ;
7716 bool temp2
= false ;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7719 char * kwnames
[] = {
7720 (char *) "self",(char *) "message", NULL
7723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7725 if (!SWIG_IsOK(res1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7728 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7730 arg2
= wxString_in_helper(obj1
);
7731 if (arg2
== NULL
) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7757 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= 0;
7759 wxDialog
*arg1
= (wxDialog
*) 0 ;
7761 wxSizer
*result
= 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7768 char * kwnames
[] = {
7769 (char *) "self",(char *) "flags", NULL
7772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7774 if (!SWIG_IsOK(res1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7777 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7779 if (!SWIG_IsOK(ecode2
)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7782 arg2
= static_cast< long >(val2
);
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7798 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
= 0;
7800 wxDialog
*arg1
= (wxDialog
*) 0 ;
7802 wxSizer
*result
= 0 ;
7807 PyObject
* obj0
= 0 ;
7808 PyObject
* obj1
= 0 ;
7809 char * kwnames
[] = {
7810 (char *) "self",(char *) "flags", NULL
7813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7815 if (!SWIG_IsOK(res1
)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7818 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7820 if (!SWIG_IsOK(ecode2
)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7823 arg2
= static_cast< long >(val2
);
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7839 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
= 0;
7841 wxDialog
*arg1
= (wxDialog
*) 0 ;
7843 wxStdDialogButtonSizer
*result
= 0 ;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7850 char * kwnames
[] = {
7851 (char *) "self",(char *) "flags", NULL
7854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7856 if (!SWIG_IsOK(res1
)) {
7857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7859 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7861 if (!SWIG_IsOK(ecode2
)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7864 arg2
= static_cast< long >(val2
);
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7878 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7879 PyObject
*resultobj
= 0;
7880 wxDialog
*arg1
= (wxDialog
*) 0 ;
7884 PyObject
*swig_obj
[1] ;
7886 if (!args
) SWIG_fail
;
7888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7889 if (!SWIG_IsOK(res1
)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7892 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7908 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7909 PyObject
*resultobj
= 0;
7910 wxDialog
*arg1
= (wxDialog
*) 0 ;
7914 PyObject
*swig_obj
[1] ;
7916 if (!args
) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7922 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (int)(arg1
)->ShowModal();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_From_int(static_cast< int >(result
));
7936 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxDialog
*arg1
= (wxDialog
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 char * kwnames
[] = {
7947 (char *) "self",(char *) "retCode", NULL
7950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7955 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7957 if (!SWIG_IsOK(ecode2
)) {
7958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7960 arg2
= static_cast< int >(val2
);
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->EndModal(arg2
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_Py_Void();
7974 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
= 0;
7976 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7977 SwigValueWrapper
<wxVisualAttributes
> result
;
7980 PyObject
* obj0
= 0 ;
7981 char * kwnames
[] = {
7982 (char *) "variant", NULL
7985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7987 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7988 if (!SWIG_IsOK(ecode1
)) {
7989 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7991 arg1
= static_cast< wxWindowVariant
>(val1
);
7994 if (!wxPyCheckForApp()) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8007 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8010 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8011 return SWIG_Py_Void();
8014 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8015 return SWIG_Python_InitShadowInstance(args
);
8018 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
= 0;
8020 wxWindow
*arg1
= (wxWindow
*) 0 ;
8021 int arg2
= (int) (int)-1 ;
8022 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8028 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8029 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8030 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8031 wxMiniFrame
*result
= 0 ;
8036 bool temp3
= false ;
8041 bool temp7
= false ;
8042 PyObject
* obj0
= 0 ;
8043 PyObject
* obj1
= 0 ;
8044 PyObject
* obj2
= 0 ;
8045 PyObject
* obj3
= 0 ;
8046 PyObject
* obj4
= 0 ;
8047 PyObject
* obj5
= 0 ;
8048 PyObject
* obj6
= 0 ;
8049 char * kwnames
[] = {
8050 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8055 if (!SWIG_IsOK(res1
)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8061 if (!SWIG_IsOK(ecode2
)) {
8062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8064 arg2
= static_cast< int >(val2
);
8068 arg3
= wxString_in_helper(obj2
);
8069 if (arg3
== NULL
) SWIG_fail
;
8076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8086 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8087 if (!SWIG_IsOK(ecode6
)) {
8088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8090 arg6
= static_cast< long >(val6
);
8094 arg7
= wxString_in_helper(obj6
);
8095 if (arg7
== NULL
) SWIG_fail
;
8100 if (!wxPyCheckForApp()) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8129 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8130 PyObject
*resultobj
= 0;
8131 wxMiniFrame
*result
= 0 ;
8133 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8135 if (!wxPyCheckForApp()) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (wxMiniFrame
*)new wxMiniFrame();
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8148 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
= 0;
8150 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8151 wxWindow
*arg2
= (wxWindow
*) 0 ;
8152 int arg3
= (int) (int)-1 ;
8153 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8154 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8155 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8156 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8157 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8158 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8159 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8160 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8161 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8169 bool temp4
= false ;
8174 bool temp8
= false ;
8175 PyObject
* obj0
= 0 ;
8176 PyObject
* obj1
= 0 ;
8177 PyObject
* obj2
= 0 ;
8178 PyObject
* obj3
= 0 ;
8179 PyObject
* obj4
= 0 ;
8180 PyObject
* obj5
= 0 ;
8181 PyObject
* obj6
= 0 ;
8182 PyObject
* obj7
= 0 ;
8183 char * kwnames
[] = {
8184 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8189 if (!SWIG_IsOK(res1
)) {
8190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8192 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8194 if (!SWIG_IsOK(res2
)) {
8195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8197 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8200 if (!SWIG_IsOK(ecode3
)) {
8201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8203 arg3
= static_cast< int >(val3
);
8207 arg4
= wxString_in_helper(obj3
);
8208 if (arg4
== NULL
) SWIG_fail
;
8215 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8221 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8225 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8226 if (!SWIG_IsOK(ecode7
)) {
8227 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8229 arg7
= static_cast< long >(val7
);
8233 arg8
= wxString_in_helper(obj7
);
8234 if (arg8
== NULL
) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8269 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8272 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8273 return SWIG_Py_Void();
8276 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8277 return SWIG_Python_InitShadowInstance(args
);
8280 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
= 0;
8282 wxBitmap
*arg1
= 0 ;
8283 wxWindow
*arg2
= (wxWindow
*) 0 ;
8285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8289 long arg6
= (long) wxNO_BORDER
;
8290 wxSplashScreenWindow
*result
= 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8304 PyObject
* obj3
= 0 ;
8305 PyObject
* obj4
= 0 ;
8306 PyObject
* obj5
= 0 ;
8307 char * kwnames
[] = {
8308 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8312 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8313 if (!SWIG_IsOK(res1
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8321 if (!SWIG_IsOK(res2
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8326 if (!SWIG_IsOK(ecode3
)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8329 arg3
= static_cast< int >(val3
);
8333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8343 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8344 if (!SWIG_IsOK(ecode6
)) {
8345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8347 arg6
= static_cast< long >(val6
);
8350 if (!wxPyCheckForApp()) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8363 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
= 0;
8365 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8366 wxBitmap
*arg2
= 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8373 char * kwnames
[] = {
8374 (char *) "self",(char *) "bitmap", NULL
8377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8382 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8384 if (!SWIG_IsOK(res2
)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8390 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_Py_Void();
8404 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8405 PyObject
*resultobj
= 0;
8406 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8407 wxBitmap
*result
= 0 ;
8410 PyObject
*swig_obj
[1] ;
8412 if (!args
) SWIG_fail
;
8414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8415 if (!SWIG_IsOK(res1
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8418 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8423 result
= (wxBitmap
*) &_result_ref
;
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8429 wxBitmap
* resultptr
= new wxBitmap(*result
);
8430 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8438 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8441 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8442 return SWIG_Py_Void();
8445 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8446 return SWIG_Python_InitShadowInstance(args
);
8449 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= 0;
8451 wxBitmap
*arg1
= 0 ;
8454 wxWindow
*arg4
= (wxWindow
*) 0 ;
8455 int arg5
= (int) -1 ;
8456 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8457 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8458 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8459 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8460 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8461 wxSplashScreen
*result
= 0 ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8478 PyObject
* obj2
= 0 ;
8479 PyObject
* obj3
= 0 ;
8480 PyObject
* obj4
= 0 ;
8481 PyObject
* obj5
= 0 ;
8482 PyObject
* obj6
= 0 ;
8483 PyObject
* obj7
= 0 ;
8484 char * kwnames
[] = {
8485 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8489 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8490 if (!SWIG_IsOK(res1
)) {
8491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8496 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8497 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8498 if (!SWIG_IsOK(ecode2
)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8501 arg2
= static_cast< long >(val2
);
8502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8503 if (!SWIG_IsOK(ecode3
)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8506 arg3
= static_cast< int >(val3
);
8507 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8508 if (!SWIG_IsOK(res4
)) {
8509 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8511 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8514 if (!SWIG_IsOK(ecode5
)) {
8515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8517 arg5
= static_cast< int >(val5
);
8522 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8528 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8532 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8533 if (!SWIG_IsOK(ecode8
)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8536 arg8
= static_cast< long >(val8
);
8539 if (!wxPyCheckForApp()) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8552 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8553 PyObject
*resultobj
= 0;
8554 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8558 PyObject
*swig_obj
[1] ;
8560 if (!args
) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8566 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= SWIG_From_long(static_cast< long >(result
));
8580 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8581 PyObject
*resultobj
= 0;
8582 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8583 wxSplashScreenWindow
*result
= 0 ;
8586 PyObject
*swig_obj
[1] ;
8588 if (!args
) SWIG_fail
;
8590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8591 if (!SWIG_IsOK(res1
)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8594 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8608 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8609 PyObject
*resultobj
= 0;
8610 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8614 PyObject
*swig_obj
[1] ;
8616 if (!args
) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8622 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_From_int(static_cast< int >(result
));
8636 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8639 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8640 return SWIG_Py_Void();
8643 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 return SWIG_Python_InitShadowInstance(args
);
8647 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
= 0;
8649 wxWindow
*arg1
= (wxWindow
*) 0 ;
8650 int arg2
= (int) -1 ;
8651 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8652 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8654 wxStatusBar
*result
= 0 ;
8661 bool temp4
= false ;
8662 PyObject
* obj0
= 0 ;
8663 PyObject
* obj1
= 0 ;
8664 PyObject
* obj2
= 0 ;
8665 PyObject
* obj3
= 0 ;
8666 char * kwnames
[] = {
8667 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8672 if (!SWIG_IsOK(res1
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8675 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8678 if (!SWIG_IsOK(ecode2
)) {
8679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8681 arg2
= static_cast< int >(val2
);
8684 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8685 if (!SWIG_IsOK(ecode3
)) {
8686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8688 arg3
= static_cast< long >(val3
);
8692 arg4
= wxString_in_helper(obj3
);
8693 if (arg4
== NULL
) SWIG_fail
;
8698 if (!wxPyCheckForApp()) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8719 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8720 PyObject
*resultobj
= 0;
8721 wxStatusBar
*result
= 0 ;
8723 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8725 if (!wxPyCheckForApp()) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 result
= (wxStatusBar
*)new wxStatusBar();
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8738 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
= 0;
8740 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8741 wxWindow
*arg2
= (wxWindow
*) 0 ;
8742 int arg3
= (int) -1 ;
8743 long arg4
= (long) wxST_SIZEGRIP
;
8744 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8745 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8755 bool temp5
= false ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8759 PyObject
* obj3
= 0 ;
8760 PyObject
* obj4
= 0 ;
8761 char * kwnames
[] = {
8762 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8767 if (!SWIG_IsOK(res1
)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8770 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8772 if (!SWIG_IsOK(res2
)) {
8773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8778 if (!SWIG_IsOK(ecode3
)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8781 arg3
= static_cast< int >(val3
);
8784 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8785 if (!SWIG_IsOK(ecode4
)) {
8786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8788 arg4
= static_cast< long >(val4
);
8792 arg5
= wxString_in_helper(obj4
);
8793 if (arg5
== NULL
) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8820 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
= 0;
8822 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8823 int arg2
= (int) 1 ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 char * kwnames
[] = {
8831 (char *) "self",(char *) "number", NULL
8834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8836 if (!SWIG_IsOK(res1
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8839 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8842 if (!SWIG_IsOK(ecode2
)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8845 arg2
= static_cast< int >(val2
);
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 (arg1
)->SetFieldsCount(arg2
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_Py_Void();
8860 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8861 PyObject
*resultobj
= 0;
8862 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8866 PyObject
*swig_obj
[1] ;
8868 if (!args
) SWIG_fail
;
8870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8871 if (!SWIG_IsOK(res1
)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8874 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_From_int(static_cast< int >(result
));
8888 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
= 0;
8890 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8891 wxString
*arg2
= 0 ;
8892 int arg3
= (int) 0 ;
8895 bool temp2
= false ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 PyObject
* obj2
= 0 ;
8901 char * kwnames
[] = {
8902 (char *) "self",(char *) "text",(char *) "number", NULL
8905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8907 if (!SWIG_IsOK(res1
)) {
8908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8910 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8912 arg2
= wxString_in_helper(obj1
);
8913 if (arg2
== NULL
) SWIG_fail
;
8917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8918 if (!SWIG_IsOK(ecode3
)) {
8919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8921 arg3
= static_cast< int >(val3
);
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_Py_Void();
8944 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8947 int arg2
= (int) 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 char * kwnames
[] = {
8956 (char *) "self",(char *) "number", NULL
8959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8964 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8967 if (!SWIG_IsOK(ecode2
)) {
8968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8970 arg2
= static_cast< int >(val2
);
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8991 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
= 0;
8993 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8994 wxString
*arg2
= 0 ;
8995 int arg3
= (int) 0 ;
8998 bool temp2
= false ;
9001 PyObject
* obj0
= 0 ;
9002 PyObject
* obj1
= 0 ;
9003 PyObject
* obj2
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "self",(char *) "text",(char *) "number", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9013 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9015 arg2
= wxString_in_helper(obj1
);
9016 if (arg2
== NULL
) SWIG_fail
;
9020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9021 if (!SWIG_IsOK(ecode3
)) {
9022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9024 arg3
= static_cast< int >(val3
);
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= SWIG_Py_Void();
9047 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= 0;
9049 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9050 int arg2
= (int) 0 ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 char * kwnames
[] = {
9058 (char *) "self",(char *) "number", NULL
9061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9063 if (!SWIG_IsOK(res1
)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9066 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9069 if (!SWIG_IsOK(ecode2
)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9072 arg2
= static_cast< int >(val2
);
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 (arg1
)->PopStatusText(arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_Py_Void();
9087 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9091 int *arg3
= (int *) 0 ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9096 char * kwnames
[] = {
9097 (char *) "self",(char *) "widths", NULL
9100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9102 if (!SWIG_IsOK(res1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9105 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9107 arg2
= PyList_Size(obj1
);
9108 arg3
= int_LIST_helper(obj1
);
9109 if (arg3
== NULL
) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_Py_Void();
9119 if (arg3
) delete [] arg3
;
9124 if (arg3
) delete [] arg3
;
9130 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
= 0;
9132 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9134 int *arg3
= (int *) 0 ;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9139 char * kwnames
[] = {
9140 (char *) "self",(char *) "styles", NULL
9143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9145 if (!SWIG_IsOK(res1
)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9148 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9150 arg2
= PyList_Size(obj1
);
9151 arg3
= int_LIST_helper(obj1
);
9152 if (arg3
== NULL
) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= SWIG_Py_Void();
9162 if (arg3
) delete [] arg3
;
9167 if (arg3
) delete [] arg3
;
9173 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
= 0;
9175 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 char * kwnames
[] = {
9185 (char *) "self",(char *) "i", NULL
9188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9190 if (!SWIG_IsOK(res1
)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9193 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9195 if (!SWIG_IsOK(ecode2
)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9198 arg2
= static_cast< int >(val2
);
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9212 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "height", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9231 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9233 if (!SWIG_IsOK(ecode2
)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9236 arg2
= static_cast< int >(val2
);
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 (arg1
)->SetMinHeight(arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_Py_Void();
9250 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9251 PyObject
*resultobj
= 0;
9252 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9256 PyObject
*swig_obj
[1] ;
9258 if (!args
) SWIG_fail
;
9260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9261 if (!SWIG_IsOK(res1
)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9264 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_From_int(static_cast< int >(result
));
9278 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9279 PyObject
*resultobj
= 0;
9280 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9284 PyObject
*swig_obj
[1] ;
9286 if (!args
) SWIG_fail
;
9288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9289 if (!SWIG_IsOK(res1
)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9292 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_From_int(static_cast< int >(result
));
9306 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
= 0;
9308 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9309 SwigValueWrapper
<wxVisualAttributes
> result
;
9312 PyObject
* obj0
= 0 ;
9313 char * kwnames
[] = {
9314 (char *) "variant", NULL
9317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9320 if (!SWIG_IsOK(ecode1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9323 arg1
= static_cast< wxWindowVariant
>(val1
);
9326 if (!wxPyCheckForApp()) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9339 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9342 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9343 return SWIG_Py_Void();
9346 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9347 return SWIG_Python_InitShadowInstance(args
);
9350 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9351 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9356 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9357 PyObject
*pyobj
= 0;
9361 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9363 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9370 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
= 0;
9372 wxWindow
*arg1
= (wxWindow
*) 0 ;
9373 int arg2
= (int) -1 ;
9374 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9375 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9376 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9377 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9378 long arg5
= (long) wxSP_3D
;
9379 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9380 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9381 wxSplitterWindow
*result
= 0 ;
9390 bool temp6
= false ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9394 PyObject
* obj3
= 0 ;
9395 PyObject
* obj4
= 0 ;
9396 PyObject
* obj5
= 0 ;
9397 char * kwnames
[] = {
9398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9403 if (!SWIG_IsOK(res1
)) {
9404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9409 if (!SWIG_IsOK(ecode2
)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9412 arg2
= static_cast< int >(val2
);
9417 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9423 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9427 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9428 if (!SWIG_IsOK(ecode5
)) {
9429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9431 arg5
= static_cast< long >(val5
);
9435 arg6
= wxString_in_helper(obj5
);
9436 if (arg6
== NULL
) SWIG_fail
;
9441 if (!wxPyCheckForApp()) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9462 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9463 PyObject
*resultobj
= 0;
9464 wxSplitterWindow
*result
= 0 ;
9466 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9468 if (!wxPyCheckForApp()) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9481 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
= 0;
9483 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9484 wxWindow
*arg2
= (wxWindow
*) 0 ;
9485 int arg3
= (int) -1 ;
9486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9490 long arg6
= (long) wxSP_3D
;
9491 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9504 bool temp7
= false ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 PyObject
* obj2
= 0 ;
9508 PyObject
* obj3
= 0 ;
9509 PyObject
* obj4
= 0 ;
9510 PyObject
* obj5
= 0 ;
9511 PyObject
* obj6
= 0 ;
9512 char * kwnames
[] = {
9513 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9521 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9522 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9523 if (!SWIG_IsOK(res2
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9526 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9529 if (!SWIG_IsOK(ecode3
)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9532 arg3
= static_cast< int >(val3
);
9537 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9543 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9547 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9548 if (!SWIG_IsOK(ecode6
)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9551 arg6
= static_cast< long >(val6
);
9555 arg7
= wxString_in_helper(obj6
);
9556 if (arg7
== NULL
) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9586 wxWindow
*result
= 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9597 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= wxPyMake_wxObject(result
, 0);
9613 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9614 PyObject
*resultobj
= 0;
9615 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9616 wxWindow
*result
= 0 ;
9619 PyObject
*swig_obj
[1] ;
9621 if (!args
) SWIG_fail
;
9623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9624 if (!SWIG_IsOK(res1
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9627 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= wxPyMake_wxObject(result
, 0);
9643 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
= 0;
9645 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9653 char * kwnames
[] = {
9654 (char *) "self",(char *) "mode", NULL
9657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9662 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9664 if (!SWIG_IsOK(ecode2
)) {
9665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9667 arg2
= static_cast< int >(val2
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 (arg1
)->SetSplitMode(arg2
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_Py_Void();
9681 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9682 PyObject
*resultobj
= 0;
9683 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9687 PyObject
*swig_obj
[1] ;
9689 if (!args
) SWIG_fail
;
9691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9692 if (!SWIG_IsOK(res1
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9695 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_From_int(static_cast< int >(result
));
9709 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
= 0;
9711 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9712 wxWindow
*arg2
= (wxWindow
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 char * kwnames
[] = {
9720 (char *) "self",(char *) "window", NULL
9723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9725 if (!SWIG_IsOK(res1
)) {
9726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9728 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9730 if (!SWIG_IsOK(res2
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9733 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 (arg1
)->Initialize(arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_Py_Void();
9747 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
= 0;
9749 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9750 wxWindow
*arg2
= (wxWindow
*) 0 ;
9751 wxWindow
*arg3
= (wxWindow
*) 0 ;
9752 int arg4
= (int) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9765 PyObject
* obj3
= 0 ;
9766 char * kwnames
[] = {
9767 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9775 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9777 if (!SWIG_IsOK(res2
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9780 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9781 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9782 if (!SWIG_IsOK(res3
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9785 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9788 if (!SWIG_IsOK(ecode4
)) {
9789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9791 arg4
= static_cast< int >(val4
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9808 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
= 0;
9810 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9811 wxWindow
*arg2
= (wxWindow
*) 0 ;
9812 wxWindow
*arg3
= (wxWindow
*) 0 ;
9813 int arg4
= (int) 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 char * kwnames
[] = {
9828 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9836 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9838 if (!SWIG_IsOK(res2
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9841 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9842 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9843 if (!SWIG_IsOK(res3
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9846 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9849 if (!SWIG_IsOK(ecode4
)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9852 arg4
= static_cast< int >(val4
);
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9869 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9872 wxWindow
*arg2
= (wxWindow
*) NULL
;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "self",(char *) "toRemove", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9889 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9892 if (!SWIG_IsOK(res2
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (bool)(arg1
)->Unsplit(arg2
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9912 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
= 0;
9914 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9915 wxWindow
*arg2
= (wxWindow
*) 0 ;
9916 wxWindow
*arg3
= (wxWindow
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9925 PyObject
* obj1
= 0 ;
9926 PyObject
* obj2
= 0 ;
9927 char * kwnames
[] = {
9928 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9933 if (!SWIG_IsOK(res1
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9936 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9938 if (!SWIG_IsOK(res2
)) {
9939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9942 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9943 if (!SWIG_IsOK(res3
)) {
9944 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9946 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9962 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9963 PyObject
*resultobj
= 0;
9964 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9967 PyObject
*swig_obj
[1] ;
9969 if (!args
) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9975 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 (arg1
)->UpdateSize();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_Py_Void();
9989 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9990 PyObject
*resultobj
= 0;
9991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9995 PyObject
*swig_obj
[1] ;
9997 if (!args
) SWIG_fail
;
9999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10000 if (!SWIG_IsOK(res1
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10003 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10019 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
= 0;
10021 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 char * kwnames
[] = {
10030 (char *) "self",(char *) "width", NULL
10033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10035 if (!SWIG_IsOK(res1
)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10038 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10040 if (!SWIG_IsOK(ecode2
)) {
10041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10043 arg2
= static_cast< int >(val2
);
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 (arg1
)->SetSashSize(arg2
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_Py_Void();
10057 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= 0;
10059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "self",(char *) "width", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10076 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10078 if (!SWIG_IsOK(ecode2
)) {
10079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10081 arg2
= static_cast< int >(val2
);
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 (arg1
)->SetBorderSize(arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_Py_Void();
10095 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10096 PyObject
*resultobj
= 0;
10097 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10101 PyObject
*swig_obj
[1] ;
10103 if (!args
) SWIG_fail
;
10104 swig_obj
[0] = args
;
10105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10106 if (!SWIG_IsOK(res1
)) {
10107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10109 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_From_int(static_cast< int >(result
));
10123 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10124 PyObject
*resultobj
= 0;
10125 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10129 PyObject
*swig_obj
[1] ;
10131 if (!args
) SWIG_fail
;
10132 swig_obj
[0] = args
;
10133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10134 if (!SWIG_IsOK(res1
)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10137 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_From_int(static_cast< int >(result
));
10151 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
= 0;
10153 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10155 bool arg3
= (bool) true ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 PyObject
* obj2
= 0 ;
10165 char * kwnames
[] = {
10166 (char *) "self",(char *) "position",(char *) "redraw", NULL
10169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10174 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10176 if (!SWIG_IsOK(ecode2
)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10179 arg2
= static_cast< int >(val2
);
10181 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10182 if (!SWIG_IsOK(ecode3
)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10185 arg3
= static_cast< bool >(val3
);
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 (arg1
)->SetSashPosition(arg2
,arg3
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_Py_Void();
10200 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 PyObject
*resultobj
= 0;
10202 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10206 PyObject
*swig_obj
[1] ;
10208 if (!args
) SWIG_fail
;
10209 swig_obj
[0] = args
;
10210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10214 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_From_int(static_cast< int >(result
));
10228 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10230 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 char * kwnames
[] = {
10239 (char *) "self",(char *) "gravity", NULL
10242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10244 if (!SWIG_IsOK(res1
)) {
10245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10247 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10248 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10249 if (!SWIG_IsOK(ecode2
)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10252 arg2
= static_cast< double >(val2
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 (arg1
)->SetSashGravity(arg2
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_Py_Void();
10266 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10267 PyObject
*resultobj
= 0;
10268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10272 PyObject
*swig_obj
[1] ;
10274 if (!args
) SWIG_fail
;
10275 swig_obj
[0] = args
;
10276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10277 if (!SWIG_IsOK(res1
)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10280 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_From_double(static_cast< double >(result
));
10294 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
= 0;
10296 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 char * kwnames
[] = {
10305 (char *) "self",(char *) "min", NULL
10308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10310 if (!SWIG_IsOK(res1
)) {
10311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10313 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10315 if (!SWIG_IsOK(ecode2
)) {
10316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10318 arg2
= static_cast< int >(val2
);
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 (arg1
)->SetMinimumPaneSize(arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_Py_Void();
10332 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 PyObject
*resultobj
= 0;
10334 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10338 PyObject
*swig_obj
[1] ;
10340 if (!args
) SWIG_fail
;
10341 swig_obj
[0] = args
;
10342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10346 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_From_int(static_cast< int >(result
));
10360 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
= 0;
10362 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10365 int arg4
= (int) 5 ;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 PyObject
* obj2
= 0 ;
10378 PyObject
* obj3
= 0 ;
10379 char * kwnames
[] = {
10380 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10385 if (!SWIG_IsOK(res1
)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10388 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10390 if (!SWIG_IsOK(ecode2
)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10393 arg2
= static_cast< int >(val2
);
10394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10395 if (!SWIG_IsOK(ecode3
)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10398 arg3
= static_cast< int >(val3
);
10400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10401 if (!SWIG_IsOK(ecode4
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10404 arg4
= static_cast< int >(val4
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10421 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10422 PyObject
*resultobj
= 0;
10423 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10426 PyObject
*swig_obj
[1] ;
10428 if (!args
) SWIG_fail
;
10429 swig_obj
[0] = args
;
10430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10431 if (!SWIG_IsOK(res1
)) {
10432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10434 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 (arg1
)->SizeWindows();
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_Py_Void();
10448 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
= 0;
10450 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 char * kwnames
[] = {
10459 (char *) "self",(char *) "needUpdating", NULL
10462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10464 if (!SWIG_IsOK(res1
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10467 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10468 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10469 if (!SWIG_IsOK(ecode2
)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10472 arg2
= static_cast< bool >(val2
);
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 (arg1
)->SetNeedUpdating(arg2
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_Py_Void();
10486 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10492 PyObject
*swig_obj
[1] ;
10494 if (!args
) SWIG_fail
;
10495 swig_obj
[0] = args
;
10496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10500 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10516 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
= 0;
10518 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10519 SwigValueWrapper
<wxVisualAttributes
> result
;
10522 PyObject
* obj0
= 0 ;
10523 char * kwnames
[] = {
10524 (char *) "variant", NULL
10527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10530 if (!SWIG_IsOK(ecode1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10533 arg1
= static_cast< wxWindowVariant
>(val1
);
10536 if (!wxPyCheckForApp()) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10549 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10552 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10553 return SWIG_Py_Void();
10556 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10557 return SWIG_Python_InitShadowInstance(args
);
10560 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
= 0;
10562 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10563 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10564 wxSplitterEvent
*result
= 0 ;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 char * kwnames
[] = {
10572 (char *) "type",(char *) "splitter", NULL
10575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10578 if (!SWIG_IsOK(ecode1
)) {
10579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10581 arg1
= static_cast< wxEventType
>(val1
);
10584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10585 if (!SWIG_IsOK(res2
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10588 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10603 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
= 0;
10605 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char * kwnames
[] = {
10614 (char *) "self",(char *) "pos", NULL
10617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10619 if (!SWIG_IsOK(res1
)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10622 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10624 if (!SWIG_IsOK(ecode2
)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10627 arg2
= static_cast< int >(val2
);
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 (arg1
)->SetSashPosition(arg2
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_Py_Void();
10641 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10642 PyObject
*resultobj
= 0;
10643 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10647 PyObject
*swig_obj
[1] ;
10649 if (!args
) SWIG_fail
;
10650 swig_obj
[0] = args
;
10651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10652 if (!SWIG_IsOK(res1
)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10655 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_From_int(static_cast< int >(result
));
10669 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10670 PyObject
*resultobj
= 0;
10671 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10672 wxWindow
*result
= 0 ;
10675 PyObject
*swig_obj
[1] ;
10677 if (!args
) SWIG_fail
;
10678 swig_obj
[0] = args
;
10679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10683 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= wxPyMake_wxObject(result
, 0);
10699 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10700 PyObject
*resultobj
= 0;
10701 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10705 PyObject
*swig_obj
[1] ;
10707 if (!args
) SWIG_fail
;
10708 swig_obj
[0] = args
;
10709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10713 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_From_int(static_cast< int >(result
));
10727 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10728 PyObject
*resultobj
= 0;
10729 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10733 PyObject
*swig_obj
[1] ;
10735 if (!args
) SWIG_fail
;
10736 swig_obj
[0] = args
;
10737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10738 if (!SWIG_IsOK(res1
)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10741 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= SWIG_From_int(static_cast< int >(result
));
10755 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10758 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10759 return SWIG_Py_Void();
10762 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10763 return SWIG_Python_InitShadowInstance(args
);
10766 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10767 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10772 SWIGINTERN PyObject
*SashNameStr_get(void) {
10773 PyObject
*pyobj
= 0;
10777 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10779 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10786 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10787 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10792 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10793 PyObject
*pyobj
= 0;
10797 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10799 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10806 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
= 0;
10808 wxWindow
*arg1
= (wxWindow
*) 0 ;
10809 int arg2
= (int) -1 ;
10810 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10811 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10812 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10813 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10814 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10815 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10816 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10817 wxSashWindow
*result
= 0 ;
10826 bool temp6
= false ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 PyObject
* obj2
= 0 ;
10830 PyObject
* obj3
= 0 ;
10831 PyObject
* obj4
= 0 ;
10832 PyObject
* obj5
= 0 ;
10833 char * kwnames
[] = {
10834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10839 if (!SWIG_IsOK(res1
)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10842 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10845 if (!SWIG_IsOK(ecode2
)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10848 arg2
= static_cast< int >(val2
);
10853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10859 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10863 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10864 if (!SWIG_IsOK(ecode5
)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10867 arg5
= static_cast< long >(val5
);
10871 arg6
= wxString_in_helper(obj5
);
10872 if (arg6
== NULL
) SWIG_fail
;
10877 if (!wxPyCheckForApp()) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10898 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10899 PyObject
*resultobj
= 0;
10900 wxSashWindow
*result
= 0 ;
10902 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10904 if (!wxPyCheckForApp()) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (wxSashWindow
*)new wxSashWindow();
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10917 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10920 wxWindow
*arg2
= (wxWindow
*) 0 ;
10921 int arg3
= (int) -1 ;
10922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10926 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10927 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10940 bool temp7
= false ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 PyObject
* obj2
= 0 ;
10944 PyObject
* obj3
= 0 ;
10945 PyObject
* obj4
= 0 ;
10946 PyObject
* obj5
= 0 ;
10947 PyObject
* obj6
= 0 ;
10948 char * kwnames
[] = {
10949 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10954 if (!SWIG_IsOK(res1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10957 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10959 if (!SWIG_IsOK(res2
)) {
10960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10962 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10965 if (!SWIG_IsOK(ecode3
)) {
10966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10968 arg3
= static_cast< int >(val3
);
10973 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10979 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10983 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10984 if (!SWIG_IsOK(ecode6
)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10987 arg6
= static_cast< long >(val6
);
10991 arg7
= wxString_in_helper(obj6
);
10992 if (arg7
== NULL
) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11019 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
= 0;
11021 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11022 wxSashEdgePosition arg2
;
11030 PyObject
* obj0
= 0 ;
11031 PyObject
* obj1
= 0 ;
11032 PyObject
* obj2
= 0 ;
11033 char * kwnames
[] = {
11034 (char *) "self",(char *) "edge",(char *) "sash", NULL
11037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11039 if (!SWIG_IsOK(res1
)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11042 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11044 if (!SWIG_IsOK(ecode2
)) {
11045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11047 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11048 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11049 if (!SWIG_IsOK(ecode3
)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11052 arg3
= static_cast< bool >(val3
);
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 (arg1
)->SetSashVisible(arg2
,arg3
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= SWIG_Py_Void();
11066 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
= 0;
11068 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11069 wxSashEdgePosition arg2
;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char * kwnames
[] = {
11078 (char *) "self",(char *) "edge", NULL
11081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11083 if (!SWIG_IsOK(res1
)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11086 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11088 if (!SWIG_IsOK(ecode2
)) {
11089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11091 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11107 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= 0;
11109 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11110 wxSashEdgePosition arg2
;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char * kwnames
[] = {
11119 (char *) "self",(char *) "edge", NULL
11122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11127 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11129 if (!SWIG_IsOK(ecode2
)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11132 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_From_int(static_cast< int >(result
));
11146 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char * kwnames
[] = {
11157 (char *) "self",(char *) "width", NULL
11160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11165 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11167 if (!SWIG_IsOK(ecode2
)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11170 arg2
= static_cast< int >(val2
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 (arg1
)->SetDefaultBorderSize(arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_Py_Void();
11184 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11190 PyObject
*swig_obj
[1] ;
11192 if (!args
) SWIG_fail
;
11193 swig_obj
[0] = args
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11198 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_From_int(static_cast< int >(result
));
11212 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
= 0;
11214 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char * kwnames
[] = {
11223 (char *) "self",(char *) "width", NULL
11226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11231 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11233 if (!SWIG_IsOK(ecode2
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11236 arg2
= static_cast< int >(val2
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 (arg1
)->SetExtraBorderSize(arg2
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_Py_Void();
11250 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11251 PyObject
*resultobj
= 0;
11252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11256 PyObject
*swig_obj
[1] ;
11258 if (!args
) SWIG_fail
;
11259 swig_obj
[0] = args
;
11260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11261 if (!SWIG_IsOK(res1
)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11264 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_From_int(static_cast< int >(result
));
11278 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char * kwnames
[] = {
11289 (char *) "self",(char *) "min", NULL
11292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11297 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11299 if (!SWIG_IsOK(ecode2
)) {
11300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11302 arg2
= static_cast< int >(val2
);
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->SetMinimumSizeX(arg2
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_Py_Void();
11316 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
= 0;
11318 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 char * kwnames
[] = {
11327 (char *) "self",(char *) "min", NULL
11330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11332 if (!SWIG_IsOK(res1
)) {
11333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11335 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11337 if (!SWIG_IsOK(ecode2
)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11340 arg2
= static_cast< int >(val2
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 (arg1
)->SetMinimumSizeY(arg2
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_Py_Void();
11354 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11355 PyObject
*resultobj
= 0;
11356 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11360 PyObject
*swig_obj
[1] ;
11362 if (!args
) SWIG_fail
;
11363 swig_obj
[0] = args
;
11364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11365 if (!SWIG_IsOK(res1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11368 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= SWIG_From_int(static_cast< int >(result
));
11382 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 PyObject
*resultobj
= 0;
11384 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11388 PyObject
*swig_obj
[1] ;
11390 if (!args
) SWIG_fail
;
11391 swig_obj
[0] = args
;
11392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11396 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_From_int(static_cast< int >(result
));
11410 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
= 0;
11412 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 char * kwnames
[] = {
11421 (char *) "self",(char *) "max", NULL
11424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11426 if (!SWIG_IsOK(res1
)) {
11427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11429 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11431 if (!SWIG_IsOK(ecode2
)) {
11432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11434 arg2
= static_cast< int >(val2
);
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 (arg1
)->SetMaximumSizeX(arg2
);
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= SWIG_Py_Void();
11448 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
= 0;
11450 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "self",(char *) "max", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11467 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11469 if (!SWIG_IsOK(ecode2
)) {
11470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11472 arg2
= static_cast< int >(val2
);
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 (arg1
)->SetMaximumSizeY(arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_Py_Void();
11486 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11487 PyObject
*resultobj
= 0;
11488 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11492 PyObject
*swig_obj
[1] ;
11494 if (!args
) SWIG_fail
;
11495 swig_obj
[0] = args
;
11496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11497 if (!SWIG_IsOK(res1
)) {
11498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11500 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= SWIG_From_int(static_cast< int >(result
));
11514 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11515 PyObject
*resultobj
= 0;
11516 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11520 PyObject
*swig_obj
[1] ;
11522 if (!args
) SWIG_fail
;
11523 swig_obj
[0] = args
;
11524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11525 if (!SWIG_IsOK(res1
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11528 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_From_int(static_cast< int >(result
));
11542 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= 0;
11544 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11547 int arg4
= (int) 2 ;
11548 wxSashEdgePosition result
;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 PyObject
* obj3
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11570 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11572 if (!SWIG_IsOK(ecode2
)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11575 arg2
= static_cast< int >(val2
);
11576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11577 if (!SWIG_IsOK(ecode3
)) {
11578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11580 arg3
= static_cast< int >(val3
);
11582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11583 if (!SWIG_IsOK(ecode4
)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11586 arg4
= static_cast< int >(val4
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= SWIG_From_int(static_cast< int >(result
));
11601 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 PyObject
*resultobj
= 0;
11603 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11606 PyObject
*swig_obj
[1] ;
11608 if (!args
) SWIG_fail
;
11609 swig_obj
[0] = args
;
11610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11614 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->SizeWindows();
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= SWIG_Py_Void();
11628 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11632 return SWIG_Py_Void();
11635 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11636 return SWIG_Python_InitShadowInstance(args
);
11639 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
= 0;
11641 int arg1
= (int) 0 ;
11642 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11643 wxSashEvent
*result
= 0 ;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 char * kwnames
[] = {
11651 (char *) "id",(char *) "edge", NULL
11654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11657 if (!SWIG_IsOK(ecode1
)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11660 arg1
= static_cast< int >(val1
);
11663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11664 if (!SWIG_IsOK(ecode2
)) {
11665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11667 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11682 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= 0;
11684 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11685 wxSashEdgePosition arg2
;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "edge", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11701 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11703 if (!SWIG_IsOK(ecode2
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11706 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->SetEdge(arg2
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_Py_Void();
11720 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11723 wxSashEdgePosition result
;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11734 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
= 0;
11750 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char * kwnames
[] = {
11758 (char *) "self",(char *) "rect", NULL
11761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11766 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11769 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_Py_Void();
11784 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 PyObject
*resultobj
= 0;
11786 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11798 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11812 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
= 0;
11814 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11815 wxSashDragStatus arg2
;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char * kwnames
[] = {
11823 (char *) "self",(char *) "status", NULL
11826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11828 if (!SWIG_IsOK(res1
)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11831 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11833 if (!SWIG_IsOK(ecode2
)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11836 arg2
= static_cast< wxSashDragStatus
>(val2
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 (arg1
)->SetDragStatus(arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_Py_Void();
11850 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11851 PyObject
*resultobj
= 0;
11852 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11853 wxSashDragStatus result
;
11856 PyObject
*swig_obj
[1] ;
11858 if (!args
) SWIG_fail
;
11859 swig_obj
[0] = args
;
11860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11861 if (!SWIG_IsOK(res1
)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11864 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_From_int(static_cast< int >(result
));
11878 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11881 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11882 return SWIG_Py_Void();
11885 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11886 return SWIG_Python_InitShadowInstance(args
);
11889 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 int arg1
= (int) 0 ;
11892 wxQueryLayoutInfoEvent
*result
= 0 ;
11895 PyObject
* obj0
= 0 ;
11896 char * kwnames
[] = {
11897 (char *) "id", NULL
11900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11902 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11903 if (!SWIG_IsOK(ecode1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11906 arg1
= static_cast< int >(val1
);
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11921 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
= 0;
11923 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 char * kwnames
[] = {
11932 (char *) "self",(char *) "length", NULL
11935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11942 if (!SWIG_IsOK(ecode2
)) {
11943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11945 arg2
= static_cast< int >(val2
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->SetRequestedLength(arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_Py_Void();
11959 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_int(static_cast< int >(result
));
11987 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "flags", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12006 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12008 if (!SWIG_IsOK(ecode2
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12011 arg2
= static_cast< int >(val2
);
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->SetFlags(arg2
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_Py_Void();
12025 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12026 PyObject
*resultobj
= 0;
12027 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12031 PyObject
*swig_obj
[1] ;
12033 if (!args
) SWIG_fail
;
12034 swig_obj
[0] = args
;
12035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12039 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_From_int(static_cast< int >(result
));
12053 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= 0;
12055 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 PyObject
* obj1
= 0 ;
12062 char * kwnames
[] = {
12063 (char *) "self",(char *) "size", NULL
12066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12068 if (!SWIG_IsOK(res1
)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12071 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12074 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetSize((wxSize
const &)*arg2
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12090 PyObject
*resultobj
= 0;
12091 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12095 PyObject
*swig_obj
[1] ;
12097 if (!args
) SWIG_fail
;
12098 swig_obj
[0] = args
;
12099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12117 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
= 0;
12119 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12120 wxLayoutOrientation arg2
;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char * kwnames
[] = {
12128 (char *) "self",(char *) "orient", NULL
12131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12136 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12138 if (!SWIG_IsOK(ecode2
)) {
12139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12141 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 (arg1
)->SetOrientation(arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_Py_Void();
12155 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12156 PyObject
*resultobj
= 0;
12157 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12158 wxLayoutOrientation result
;
12161 PyObject
*swig_obj
[1] ;
12163 if (!args
) SWIG_fail
;
12164 swig_obj
[0] = args
;
12165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12169 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_From_int(static_cast< int >(result
));
12183 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
= 0;
12185 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12186 wxLayoutAlignment arg2
;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 char * kwnames
[] = {
12194 (char *) "self",(char *) "align", NULL
12197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12199 if (!SWIG_IsOK(res1
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12202 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12204 if (!SWIG_IsOK(ecode2
)) {
12205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12207 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->SetAlignment(arg2
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_Py_Void();
12221 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12222 PyObject
*resultobj
= 0;
12223 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12224 wxLayoutAlignment result
;
12227 PyObject
*swig_obj
[1] ;
12229 if (!args
) SWIG_fail
;
12230 swig_obj
[0] = args
;
12231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12232 if (!SWIG_IsOK(res1
)) {
12233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12235 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= SWIG_From_int(static_cast< int >(result
));
12249 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12252 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12253 return SWIG_Py_Void();
12256 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12257 return SWIG_Python_InitShadowInstance(args
);
12260 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
= 0;
12262 int arg1
= (int) 0 ;
12263 wxCalculateLayoutEvent
*result
= 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char * kwnames
[] = {
12268 (char *) "id", NULL
12271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12273 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12274 if (!SWIG_IsOK(ecode1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12277 arg1
= static_cast< int >(val1
);
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12292 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
= 0;
12294 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char * kwnames
[] = {
12303 (char *) "self",(char *) "flags", NULL
12306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12311 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12313 if (!SWIG_IsOK(ecode2
)) {
12314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12316 arg2
= static_cast< int >(val2
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 (arg1
)->SetFlags(arg2
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_Py_Void();
12330 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12331 PyObject
*resultobj
= 0;
12332 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12336 PyObject
*swig_obj
[1] ;
12338 if (!args
) SWIG_fail
;
12339 swig_obj
[0] = args
;
12340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12344 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_From_int(static_cast< int >(result
));
12358 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
= 0;
12360 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 char * kwnames
[] = {
12368 (char *) "self",(char *) "rect", NULL
12371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12376 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetRect((wxRect
const &)*arg2
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_Py_Void();
12394 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 PyObject
*resultobj
= 0;
12396 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12400 PyObject
*swig_obj
[1] ;
12402 if (!args
) SWIG_fail
;
12403 swig_obj
[0] = args
;
12404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12408 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12422 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12425 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12426 return SWIG_Py_Void();
12429 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12430 return SWIG_Python_InitShadowInstance(args
);
12433 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 wxWindow
*arg1
= (wxWindow
*) 0 ;
12436 int arg2
= (int) -1 ;
12437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12441 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12442 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12443 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12444 wxSashLayoutWindow
*result
= 0 ;
12453 bool temp6
= false ;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 PyObject
* obj2
= 0 ;
12457 PyObject
* obj3
= 0 ;
12458 PyObject
* obj4
= 0 ;
12459 PyObject
* obj5
= 0 ;
12460 char * kwnames
[] = {
12461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12466 if (!SWIG_IsOK(res1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12472 if (!SWIG_IsOK(ecode2
)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12475 arg2
= static_cast< int >(val2
);
12480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12491 if (!SWIG_IsOK(ecode5
)) {
12492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12494 arg5
= static_cast< long >(val5
);
12498 arg6
= wxString_in_helper(obj5
);
12499 if (arg6
== NULL
) SWIG_fail
;
12504 if (!wxPyCheckForApp()) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12525 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12526 PyObject
*resultobj
= 0;
12527 wxSashLayoutWindow
*result
= 0 ;
12529 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12531 if (!wxPyCheckForApp()) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12544 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
= 0;
12546 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12547 wxWindow
*arg2
= (wxWindow
*) 0 ;
12548 int arg3
= (int) -1 ;
12549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12553 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12554 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12567 bool temp7
= false ;
12568 PyObject
* obj0
= 0 ;
12569 PyObject
* obj1
= 0 ;
12570 PyObject
* obj2
= 0 ;
12571 PyObject
* obj3
= 0 ;
12572 PyObject
* obj4
= 0 ;
12573 PyObject
* obj5
= 0 ;
12574 PyObject
* obj6
= 0 ;
12575 char * kwnames
[] = {
12576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12581 if (!SWIG_IsOK(res1
)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12584 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12586 if (!SWIG_IsOK(res2
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12592 if (!SWIG_IsOK(ecode3
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12595 arg3
= static_cast< int >(val3
);
12600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12610 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12611 if (!SWIG_IsOK(ecode6
)) {
12612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12614 arg6
= static_cast< long >(val6
);
12618 arg7
= wxString_in_helper(obj6
);
12619 if (arg7
== NULL
) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12646 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12647 PyObject
*resultobj
= 0;
12648 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12649 wxLayoutAlignment result
;
12652 PyObject
*swig_obj
[1] ;
12654 if (!args
) SWIG_fail
;
12655 swig_obj
[0] = args
;
12656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12657 if (!SWIG_IsOK(res1
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12660 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_From_int(static_cast< int >(result
));
12674 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 PyObject
*resultobj
= 0;
12676 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12677 wxLayoutOrientation result
;
12680 PyObject
*swig_obj
[1] ;
12682 if (!args
) SWIG_fail
;
12683 swig_obj
[0] = args
;
12684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12685 if (!SWIG_IsOK(res1
)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12688 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_From_int(static_cast< int >(result
));
12702 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
= 0;
12704 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12705 wxLayoutAlignment arg2
;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 char * kwnames
[] = {
12713 (char *) "self",(char *) "alignment", NULL
12716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12721 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12723 if (!SWIG_IsOK(ecode2
)) {
12724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12726 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->SetAlignment(arg2
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_Py_Void();
12740 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
= 0;
12742 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char * kwnames
[] = {
12750 (char *) "self",(char *) "size", NULL
12753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12755 if (!SWIG_IsOK(res1
)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12758 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_Py_Void();
12776 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
= 0;
12778 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12779 wxLayoutOrientation arg2
;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char * kwnames
[] = {
12787 (char *) "self",(char *) "orientation", NULL
12790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12792 if (!SWIG_IsOK(res1
)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12795 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12797 if (!SWIG_IsOK(ecode2
)) {
12798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12800 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->SetOrientation(arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_Py_Void();
12814 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12817 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12818 return SWIG_Py_Void();
12821 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12822 return SWIG_Python_InitShadowInstance(args
);
12825 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12827 wxLayoutAlgorithm
*result
= 0 ;
12829 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12843 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12844 PyObject
*resultobj
= 0;
12845 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12848 PyObject
*swig_obj
[1] ;
12850 if (!args
) SWIG_fail
;
12851 swig_obj
[0] = args
;
12852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12853 if (!SWIG_IsOK(res1
)) {
12854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12856 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= SWIG_Py_Void();
12871 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
= 0;
12873 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12874 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12875 wxRect
*arg3
= (wxRect
*) NULL
;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 PyObject
* obj2
= 0 ;
12886 char * kwnames
[] = {
12887 (char *) "self",(char *) "frame",(char *) "rect", NULL
12890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12895 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12897 if (!SWIG_IsOK(res2
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12900 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12902 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12903 if (!SWIG_IsOK(res3
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12906 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12923 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
= 0;
12925 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12926 wxFrame
*arg2
= (wxFrame
*) 0 ;
12927 wxWindow
*arg3
= (wxWindow
*) NULL
;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 PyObject
* obj2
= 0 ;
12938 char * kwnames
[] = {
12939 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12944 if (!SWIG_IsOK(res1
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12947 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12949 if (!SWIG_IsOK(res2
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12952 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12954 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12955 if (!SWIG_IsOK(res3
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12958 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12975 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
= 0;
12977 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12978 wxWindow
*arg2
= (wxWindow
*) 0 ;
12979 wxWindow
*arg3
= (wxWindow
*) NULL
;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 PyObject
* obj2
= 0 ;
12990 char * kwnames
[] = {
12991 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12996 if (!SWIG_IsOK(res1
)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12999 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13001 if (!SWIG_IsOK(res2
)) {
13002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13006 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13007 if (!SWIG_IsOK(res3
)) {
13008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13010 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13030 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13031 return SWIG_Py_Void();
13034 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13035 return SWIG_Python_InitShadowInstance(args
);
13038 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
= 0;
13040 wxWindow
*arg1
= (wxWindow
*) 0 ;
13041 int arg2
= (int) wxBORDER_NONE
;
13042 wxPopupWindow
*result
= 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char * kwnames
[] = {
13050 (char *) "parent",(char *) "flags", NULL
13053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13061 if (!SWIG_IsOK(ecode2
)) {
13062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13064 arg2
= static_cast< int >(val2
);
13067 if (!wxPyCheckForApp()) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13080 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13081 PyObject
*resultobj
= 0;
13082 wxPopupWindow
*result
= 0 ;
13084 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13086 if (!wxPyCheckForApp()) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (wxPopupWindow
*)new wxPopupWindow();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13099 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
= 0;
13101 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13102 wxWindow
*arg2
= (wxWindow
*) 0 ;
13103 int arg3
= (int) wxBORDER_NONE
;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 PyObject
* obj2
= 0 ;
13114 char * kwnames
[] = {
13115 (char *) "self",(char *) "parent",(char *) "flags", NULL
13118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13120 if (!SWIG_IsOK(res1
)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13123 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13125 if (!SWIG_IsOK(res2
)) {
13126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13131 if (!SWIG_IsOK(ecode3
)) {
13132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13134 arg3
= static_cast< int >(val3
);
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13151 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
= 0;
13153 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13154 wxPoint
*arg2
= 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 PyObject
* obj2
= 0 ;
13163 char * kwnames
[] = {
13164 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13169 if (!SWIG_IsOK(res1
)) {
13170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13172 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13179 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_Py_Void();
13194 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13198 return SWIG_Py_Void();
13201 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13202 return SWIG_Python_InitShadowInstance(args
);
13205 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
= 0;
13207 wxWindow
*arg1
= (wxWindow
*) 0 ;
13208 int arg2
= (int) wxBORDER_NONE
;
13209 wxPyPopupTransientWindow
*result
= 0 ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 char * kwnames
[] = {
13217 (char *) "parent",(char *) "style", NULL
13220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13222 if (!SWIG_IsOK(res1
)) {
13223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13228 if (!SWIG_IsOK(ecode2
)) {
13229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13231 arg2
= static_cast< int >(val2
);
13234 if (!wxPyCheckForApp()) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13247 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13248 PyObject
*resultobj
= 0;
13249 wxPyPopupTransientWindow
*result
= 0 ;
13251 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13253 if (!wxPyCheckForApp()) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13266 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13269 PyObject
*arg2
= (PyObject
*) 0 ;
13270 PyObject
*arg3
= (PyObject
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 PyObject
* obj2
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "self",(char *) "self",(char *) "_class", NULL
13280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13282 if (!SWIG_IsOK(res1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13285 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= SWIG_Py_Void();
13301 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
= 0;
13303 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13304 wxWindow
*arg2
= (wxWindow
*) NULL
;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 char * kwnames
[] = {
13312 (char *) "self",(char *) "focus", NULL
13315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13317 if (!SWIG_IsOK(res1
)) {
13318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13320 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13323 if (!SWIG_IsOK(res2
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13326 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->Popup(arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_Py_Void();
13341 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13342 PyObject
*resultobj
= 0;
13343 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13346 PyObject
*swig_obj
[1] ;
13348 if (!args
) SWIG_fail
;
13349 swig_obj
[0] = args
;
13350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13351 if (!SWIG_IsOK(res1
)) {
13352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13354 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_Py_Void();
13368 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13371 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13372 return SWIG_Py_Void();
13375 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13376 return SWIG_Python_InitShadowInstance(args
);
13379 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
= 0;
13381 wxWindow
*arg1
= (wxWindow
*) 0 ;
13382 wxString
*arg2
= 0 ;
13383 int arg3
= (int) 100 ;
13384 wxRect
*arg4
= (wxRect
*) NULL
;
13385 wxTipWindow
*result
= 0 ;
13388 bool temp2
= false ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 PyObject
* obj2
= 0 ;
13396 PyObject
* obj3
= 0 ;
13397 char * kwnames
[] = {
13398 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13403 if (!SWIG_IsOK(res1
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13408 arg2
= wxString_in_helper(obj1
);
13409 if (arg2
== NULL
) SWIG_fail
;
13413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13414 if (!SWIG_IsOK(ecode3
)) {
13415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13417 arg3
= static_cast< int >(val3
);
13420 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13421 if (!SWIG_IsOK(res4
)) {
13422 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13424 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13427 if (!wxPyCheckForApp()) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13448 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
= 0;
13450 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char * kwnames
[] = {
13458 (char *) "self",(char *) "rectBound", NULL
13461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13463 if (!SWIG_IsOK(res1
)) {
13464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13466 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13469 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_Py_Void();
13484 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13489 PyObject
*swig_obj
[1] ;
13491 if (!args
) SWIG_fail
;
13492 swig_obj
[0] = args
;
13493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13497 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_Py_Void();
13511 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13514 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13515 return SWIG_Py_Void();
13518 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13519 return SWIG_Python_InitShadowInstance(args
);
13522 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
= 0;
13524 wxWindow
*arg1
= (wxWindow
*) 0 ;
13525 int arg2
= (int) wxID_ANY
;
13526 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13527 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13528 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13529 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13530 long arg5
= (long) 0 ;
13531 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13532 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13533 wxPyVScrolledWindow
*result
= 0 ;
13542 bool temp6
= false ;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 PyObject
* obj2
= 0 ;
13546 PyObject
* obj3
= 0 ;
13547 PyObject
* obj4
= 0 ;
13548 PyObject
* obj5
= 0 ;
13549 char * kwnames
[] = {
13550 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13555 if (!SWIG_IsOK(res1
)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13558 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13561 if (!SWIG_IsOK(ecode2
)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13564 arg2
= static_cast< int >(val2
);
13569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13575 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13579 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13580 if (!SWIG_IsOK(ecode5
)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13583 arg5
= static_cast< long >(val5
);
13587 arg6
= wxString_in_helper(obj5
);
13588 if (arg6
== NULL
) SWIG_fail
;
13593 if (!wxPyCheckForApp()) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13614 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13615 PyObject
*resultobj
= 0;
13616 wxPyVScrolledWindow
*result
= 0 ;
13618 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13620 if (!wxPyCheckForApp()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13633 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
= 0;
13635 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13636 PyObject
*arg2
= (PyObject
*) 0 ;
13637 PyObject
*arg3
= (PyObject
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 PyObject
* obj2
= 0 ;
13643 char * kwnames
[] = {
13644 (char *) "self",(char *) "self",(char *) "_class", NULL
13647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13652 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_Py_Void();
13668 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13671 wxWindow
*arg2
= (wxWindow
*) 0 ;
13672 int arg3
= (int) wxID_ANY
;
13673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13677 long arg6
= (long) 0 ;
13678 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13679 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13691 bool temp7
= false ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 PyObject
* obj2
= 0 ;
13695 PyObject
* obj3
= 0 ;
13696 PyObject
* obj4
= 0 ;
13697 PyObject
* obj5
= 0 ;
13698 PyObject
* obj6
= 0 ;
13699 char * kwnames
[] = {
13700 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13705 if (!SWIG_IsOK(res1
)) {
13706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13708 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13710 if (!SWIG_IsOK(res2
)) {
13711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13716 if (!SWIG_IsOK(ecode3
)) {
13717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13719 arg3
= static_cast< int >(val3
);
13724 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13730 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13734 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13735 if (!SWIG_IsOK(ecode6
)) {
13736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13738 arg6
= static_cast< long >(val6
);
13742 arg7
= wxString_in_helper(obj6
);
13743 if (arg7
== NULL
) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13770 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= 0;
13772 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 PyObject
* obj1
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "self",(char *) "count", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13786 if (!SWIG_IsOK(res1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13789 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13790 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13791 if (!SWIG_IsOK(ecode2
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13794 arg2
= static_cast< size_t >(val2
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->SetLineCount(arg2
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_Py_Void();
13808 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= 0;
13810 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "self",(char *) "line", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13828 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13829 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13830 if (!SWIG_IsOK(ecode2
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13833 arg2
= static_cast< size_t >(val2
);
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13849 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
= 0;
13851 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 char * kwnames
[] = {
13860 (char *) "self",(char *) "line", NULL
13863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13865 if (!SWIG_IsOK(res1
)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13868 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13869 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13870 if (!SWIG_IsOK(ecode2
)) {
13871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13873 arg2
= static_cast< size_t >(val2
);
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 (arg1
)->RefreshLine(arg2
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_Py_Void();
13887 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13889 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 PyObject
* obj2
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "self",(char *) "from",(char *) "to", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13910 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13911 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13912 if (!SWIG_IsOK(ecode2
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13915 arg2
= static_cast< size_t >(val2
);
13916 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13917 if (!SWIG_IsOK(ecode3
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13920 arg3
= static_cast< size_t >(val3
);
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 (arg1
)->RefreshLines(arg2
,arg3
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_Py_Void();
13934 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13936 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 PyObject
* obj1
= 0 ;
13948 PyObject
* obj2
= 0 ;
13949 char * kwnames
[] = {
13950 (char *) "self",(char *) "x",(char *) "y", NULL
13953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13955 if (!SWIG_IsOK(res1
)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13958 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13960 if (!SWIG_IsOK(ecode2
)) {
13961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13963 arg2
= static_cast< int >(val2
);
13964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13965 if (!SWIG_IsOK(ecode3
)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13968 arg3
= static_cast< int >(val3
);
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= SWIG_From_int(static_cast< int >(result
));
13982 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
= 0;
13984 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13985 wxPoint
*arg2
= 0 ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char * kwnames
[] = {
13993 (char *) "self",(char *) "pt", NULL
13996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13998 if (!SWIG_IsOK(res1
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14001 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_From_int(static_cast< int >(result
));
14019 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14020 PyObject
*resultobj
= 0;
14021 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14024 PyObject
*swig_obj
[1] ;
14026 if (!args
) SWIG_fail
;
14027 swig_obj
[0] = args
;
14028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14029 if (!SWIG_IsOK(res1
)) {
14030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14032 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 (arg1
)->RefreshAll();
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_Py_Void();
14046 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14047 PyObject
*resultobj
= 0;
14048 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14052 PyObject
*swig_obj
[1] ;
14054 if (!args
) SWIG_fail
;
14055 swig_obj
[0] = args
;
14056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14057 if (!SWIG_IsOK(res1
)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14060 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14074 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14075 PyObject
*resultobj
= 0;
14076 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14080 PyObject
*swig_obj
[1] ;
14082 if (!args
) SWIG_fail
;
14083 swig_obj
[0] = args
;
14084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14088 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14102 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14103 PyObject
*resultobj
= 0;
14104 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14108 PyObject
*swig_obj
[1] ;
14110 if (!args
) SWIG_fail
;
14111 swig_obj
[0] = args
;
14112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14116 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14130 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
= 0;
14132 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 char * kwnames
[] = {
14142 (char *) "self",(char *) "line", NULL
14145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14147 if (!SWIG_IsOK(res1
)) {
14148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14150 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14152 if (!SWIG_IsOK(ecode2
)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14155 arg2
= static_cast< size_t >(val2
);
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14171 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14172 PyObject
*resultobj
= 0;
14173 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14177 PyObject
*swig_obj
[1] ;
14179 if (!args
) SWIG_fail
;
14180 swig_obj
[0] = args
;
14181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14182 if (!SWIG_IsOK(res1
)) {
14183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14185 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14199 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14200 PyObject
*resultobj
= 0;
14201 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14205 PyObject
*swig_obj
[1] ;
14207 if (!args
) SWIG_fail
;
14208 swig_obj
[0] = args
;
14209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14210 if (!SWIG_IsOK(res1
)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14213 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14227 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
= 0;
14229 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14231 bool arg3
= (bool) false ;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 PyObject
* obj2
= 0 ;
14242 char * kwnames
[] = {
14243 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14248 if (!SWIG_IsOK(res1
)) {
14249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14251 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14252 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14253 if (!SWIG_IsOK(ecode2
)) {
14254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14256 arg2
= static_cast< size_t >(val2
);
14258 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14259 if (!SWIG_IsOK(ecode3
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14262 arg3
= static_cast< bool >(val3
);
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14277 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
= 0;
14279 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 PyObject
* obj2
= 0 ;
14292 char * kwnames
[] = {
14293 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14301 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14303 if (!SWIG_IsOK(ecode2
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14306 arg2
= static_cast< size_t >(val2
);
14307 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14308 if (!SWIG_IsOK(ecode3
)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14311 arg3
= static_cast< size_t >(val3
);
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_From_int(static_cast< int >(result
));
14325 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14329 return SWIG_Py_Void();
14332 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14333 return SWIG_Python_InitShadowInstance(args
);
14336 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14337 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14342 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14343 PyObject
*pyobj
= 0;
14347 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14349 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14356 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14358 wxWindow
*arg1
= (wxWindow
*) 0 ;
14359 int arg2
= (int) wxID_ANY
;
14360 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14361 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14362 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14363 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14364 long arg5
= (long) 0 ;
14365 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14366 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14367 wxPyVListBox
*result
= 0 ;
14376 bool temp6
= false ;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 PyObject
* obj2
= 0 ;
14380 PyObject
* obj3
= 0 ;
14381 PyObject
* obj4
= 0 ;
14382 PyObject
* obj5
= 0 ;
14383 char * kwnames
[] = {
14384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14389 if (!SWIG_IsOK(res1
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14395 if (!SWIG_IsOK(ecode2
)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14398 arg2
= static_cast< int >(val2
);
14403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14409 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14413 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14414 if (!SWIG_IsOK(ecode5
)) {
14415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14417 arg5
= static_cast< long >(val5
);
14421 arg6
= wxString_in_helper(obj5
);
14422 if (arg6
== NULL
) SWIG_fail
;
14427 if (!wxPyCheckForApp()) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14448 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14449 PyObject
*resultobj
= 0;
14450 wxPyVListBox
*result
= 0 ;
14452 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14454 if (!wxPyCheckForApp()) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (wxPyVListBox
*)new wxPyVListBox();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14467 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
= 0;
14469 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14470 PyObject
*arg2
= (PyObject
*) 0 ;
14471 PyObject
*arg3
= (PyObject
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 char * kwnames
[] = {
14478 (char *) "self",(char *) "self",(char *) "_class", NULL
14481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14486 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_Py_Void();
14502 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
= 0;
14504 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14505 wxWindow
*arg2
= (wxWindow
*) 0 ;
14506 int arg3
= (int) wxID_ANY
;
14507 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14508 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14509 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14510 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14511 long arg6
= (long) 0 ;
14512 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14513 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14525 bool temp7
= false ;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 PyObject
* obj2
= 0 ;
14529 PyObject
* obj3
= 0 ;
14530 PyObject
* obj4
= 0 ;
14531 PyObject
* obj5
= 0 ;
14532 PyObject
* obj6
= 0 ;
14533 char * kwnames
[] = {
14534 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14539 if (!SWIG_IsOK(res1
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14542 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14544 if (!SWIG_IsOK(res2
)) {
14545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14547 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14550 if (!SWIG_IsOK(ecode3
)) {
14551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14553 arg3
= static_cast< int >(val3
);
14558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14568 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14569 if (!SWIG_IsOK(ecode6
)) {
14570 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14572 arg6
= static_cast< long >(val6
);
14576 arg7
= wxString_in_helper(obj6
);
14577 if (arg7
== NULL
) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14604 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14605 PyObject
*resultobj
= 0;
14606 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14610 PyObject
*swig_obj
[1] ;
14612 if (!args
) SWIG_fail
;
14613 swig_obj
[0] = args
;
14614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14618 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14632 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14633 PyObject
*resultobj
= 0;
14634 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14638 PyObject
*swig_obj
[1] ;
14640 if (!args
) SWIG_fail
;
14641 swig_obj
[0] = args
;
14642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14643 if (!SWIG_IsOK(res1
)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14646 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14662 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14663 PyObject
*resultobj
= 0;
14664 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14668 PyObject
*swig_obj
[1] ;
14670 if (!args
) SWIG_fail
;
14671 swig_obj
[0] = args
;
14672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14673 if (!SWIG_IsOK(res1
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14676 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_From_int(static_cast< int >(result
));
14690 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
= 0;
14692 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 PyObject
* obj1
= 0 ;
14701 char * kwnames
[] = {
14702 (char *) "self",(char *) "item", NULL
14705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14710 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14711 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14712 if (!SWIG_IsOK(ecode2
)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14715 arg2
= static_cast< size_t >(val2
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14731 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
= 0;
14733 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char * kwnames
[] = {
14743 (char *) "self",(char *) "item", NULL
14746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14751 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14752 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14753 if (!SWIG_IsOK(ecode2
)) {
14754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14756 arg2
= static_cast< size_t >(val2
);
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14772 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14773 PyObject
*resultobj
= 0;
14774 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14778 PyObject
*swig_obj
[1] ;
14780 if (!args
) SWIG_fail
;
14781 swig_obj
[0] = args
;
14782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14783 if (!SWIG_IsOK(res1
)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14786 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14800 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14801 PyObject
*resultobj
= 0;
14802 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14803 PyObject
*result
= 0 ;
14806 PyObject
*swig_obj
[1] ;
14808 if (!args
) SWIG_fail
;
14809 swig_obj
[0] = args
;
14810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14814 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= result
;
14828 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= 0;
14830 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14831 unsigned long arg2
;
14832 PyObject
*result
= 0 ;
14835 unsigned long val2
;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 char * kwnames
[] = {
14840 (char *) "self",(char *) "cookie", NULL
14843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14848 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14849 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14850 if (!SWIG_IsOK(ecode2
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14853 arg2
= static_cast< unsigned long >(val2
);
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= result
;
14867 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14868 PyObject
*resultobj
= 0;
14869 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14873 PyObject
*swig_obj
[1] ;
14875 if (!args
) SWIG_fail
;
14876 swig_obj
[0] = args
;
14877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14878 if (!SWIG_IsOK(res1
)) {
14879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14881 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14895 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14896 PyObject
*resultobj
= 0;
14897 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14898 wxColour
*result
= 0 ;
14901 PyObject
*swig_obj
[1] ;
14903 if (!args
) SWIG_fail
;
14904 swig_obj
[0] = args
;
14905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14906 if (!SWIG_IsOK(res1
)) {
14907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14909 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14914 result
= (wxColour
*) &_result_ref
;
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14926 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
= 0;
14928 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 char * kwnames
[] = {
14937 (char *) "self",(char *) "count", NULL
14940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14942 if (!SWIG_IsOK(res1
)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14945 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14946 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14947 if (!SWIG_IsOK(ecode2
)) {
14948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14950 arg2
= static_cast< size_t >(val2
);
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->SetItemCount(arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_Py_Void();
14964 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14965 PyObject
*resultobj
= 0;
14966 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14969 PyObject
*swig_obj
[1] ;
14971 if (!args
) SWIG_fail
;
14972 swig_obj
[0] = args
;
14973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14977 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_Py_Void();
14991 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
= 0;
14993 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 char * kwnames
[] = {
15002 (char *) "self",(char *) "selection", NULL
15005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15007 if (!SWIG_IsOK(res1
)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15010 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15012 if (!SWIG_IsOK(ecode2
)) {
15013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15015 arg2
= static_cast< int >(val2
);
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->SetSelection(arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 resultobj
= SWIG_Py_Void();
15029 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
= 0;
15031 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15033 bool arg3
= (bool) true ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 PyObject
* obj2
= 0 ;
15044 char * kwnames
[] = {
15045 (char *) "self",(char *) "item",(char *) "select", NULL
15048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15053 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15054 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15055 if (!SWIG_IsOK(ecode2
)) {
15056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15058 arg2
= static_cast< size_t >(val2
);
15060 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15061 if (!SWIG_IsOK(ecode3
)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15064 arg3
= static_cast< bool >(val3
);
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15081 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
= 0;
15083 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 PyObject
* obj2
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "self",(char *) "from",(char *) "to", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15105 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15106 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15107 if (!SWIG_IsOK(ecode2
)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15110 arg2
= static_cast< size_t >(val2
);
15111 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15112 if (!SWIG_IsOK(ecode3
)) {
15113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15115 arg3
= static_cast< size_t >(val3
);
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15131 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
= 0;
15133 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 char * kwnames
[] = {
15142 (char *) "self",(char *) "item", NULL
15145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15147 if (!SWIG_IsOK(res1
)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15150 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15152 if (!SWIG_IsOK(ecode2
)) {
15153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15155 arg2
= static_cast< size_t >(val2
);
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 (arg1
)->Toggle(arg2
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= SWIG_Py_Void();
15169 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15170 PyObject
*resultobj
= 0;
15171 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15175 PyObject
*swig_obj
[1] ;
15177 if (!args
) SWIG_fail
;
15178 swig_obj
[0] = args
;
15179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15180 if (!SWIG_IsOK(res1
)) {
15181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15183 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (bool)(arg1
)->SelectAll();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15199 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15200 PyObject
*resultobj
= 0;
15201 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15205 PyObject
*swig_obj
[1] ;
15207 if (!args
) SWIG_fail
;
15208 swig_obj
[0] = args
;
15209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15210 if (!SWIG_IsOK(res1
)) {
15211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15213 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (bool)(arg1
)->DeselectAll();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15229 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
= 0;
15231 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15232 wxPoint
*arg2
= 0 ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "self",(char *) "pt", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15247 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= SWIG_Py_Void();
15265 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
= 0;
15267 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 PyObject
* obj2
= 0 ;
15279 char * kwnames
[] = {
15280 (char *) "self",(char *) "x",(char *) "y", NULL
15283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15288 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15290 if (!SWIG_IsOK(ecode2
)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15293 arg2
= static_cast< int >(val2
);
15294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15295 if (!SWIG_IsOK(ecode3
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15298 arg3
= static_cast< int >(val3
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->SetMargins(arg2
,arg3
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_Py_Void();
15312 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
= 0;
15314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15315 wxColour
*arg2
= 0 ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 char * kwnames
[] = {
15322 (char *) "self",(char *) "col", NULL
15325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15330 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_Py_Void();
15348 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15349 PyObject
*resultobj
= 0;
15350 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15353 PyObject
*swig_obj
[1] ;
15355 if (!args
) SWIG_fail
;
15356 swig_obj
[0] = args
;
15357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15358 if (!SWIG_IsOK(res1
)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15361 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 (arg1
)->RefreshSelected();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_Py_Void();
15375 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
= 0;
15377 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 PyObject
* obj1
= 0 ;
15390 PyObject
* obj2
= 0 ;
15391 PyObject
* obj3
= 0 ;
15392 char * kwnames
[] = {
15393 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15398 if (!SWIG_IsOK(res1
)) {
15399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15401 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15403 if (!SWIG_IsOK(res2
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15409 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15412 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15414 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15415 if (!SWIG_IsOK(ecode4
)) {
15416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15418 arg4
= static_cast< size_t >(val4
);
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_Py_Void();
15432 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
= 0;
15434 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 PyObject
* obj2
= 0 ;
15448 PyObject
* obj3
= 0 ;
15449 char * kwnames
[] = {
15450 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15455 if (!SWIG_IsOK(res1
)) {
15456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15458 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15460 if (!SWIG_IsOK(res2
)) {
15461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15466 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15469 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15471 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15472 if (!SWIG_IsOK(ecode4
)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15475 arg4
= static_cast< size_t >(val4
);
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_Py_Void();
15489 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15493 return SWIG_Py_Void();
15496 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15497 return SWIG_Python_InitShadowInstance(args
);
15500 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
= 0;
15502 wxWindow
*arg1
= (wxWindow
*) 0 ;
15503 int arg2
= (int) wxID_ANY
;
15504 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15505 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15506 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15507 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15508 long arg5
= (long) 0 ;
15509 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15510 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15511 wxPyHtmlListBox
*result
= 0 ;
15520 bool temp6
= false ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 PyObject
* obj2
= 0 ;
15524 PyObject
* obj3
= 0 ;
15525 PyObject
* obj4
= 0 ;
15526 PyObject
* obj5
= 0 ;
15527 char * kwnames
[] = {
15528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15539 if (!SWIG_IsOK(ecode2
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15542 arg2
= static_cast< int >(val2
);
15547 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15553 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15557 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15558 if (!SWIG_IsOK(ecode5
)) {
15559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15561 arg5
= static_cast< long >(val5
);
15565 arg6
= wxString_in_helper(obj5
);
15566 if (arg6
== NULL
) SWIG_fail
;
15571 if (!wxPyCheckForApp()) SWIG_fail
;
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15592 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15593 PyObject
*resultobj
= 0;
15594 wxPyHtmlListBox
*result
= 0 ;
15596 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15598 if (!wxPyCheckForApp()) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15611 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
= 0;
15613 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15614 PyObject
*arg2
= (PyObject
*) 0 ;
15615 PyObject
*arg3
= (PyObject
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 PyObject
* obj2
= 0 ;
15621 char * kwnames
[] = {
15622 (char *) "self",(char *) "self",(char *) "_class", NULL
15625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15627 if (!SWIG_IsOK(res1
)) {
15628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15630 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_Py_Void();
15646 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
= 0;
15648 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15649 wxWindow
*arg2
= (wxWindow
*) 0 ;
15650 int arg3
= (int) wxID_ANY
;
15651 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15652 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15653 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15654 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15655 long arg6
= (long) 0 ;
15656 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15669 bool temp7
= false ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 PyObject
* obj2
= 0 ;
15673 PyObject
* obj3
= 0 ;
15674 PyObject
* obj4
= 0 ;
15675 PyObject
* obj5
= 0 ;
15676 PyObject
* obj6
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15686 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15688 if (!SWIG_IsOK(res2
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15694 if (!SWIG_IsOK(ecode3
)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15697 arg3
= static_cast< int >(val3
);
15702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15708 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15712 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15713 if (!SWIG_IsOK(ecode6
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15716 arg6
= static_cast< long >(val6
);
15720 arg7
= wxString_in_helper(obj6
);
15721 if (arg7
== NULL
) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15748 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
= 0;
15750 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char * kwnames
[] = {
15759 (char *) "self",(char *) "count", NULL
15762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15764 if (!SWIG_IsOK(res1
)) {
15765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15767 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15768 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15769 if (!SWIG_IsOK(ecode2
)) {
15770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15772 arg2
= static_cast< size_t >(val2
);
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 (arg1
)->SetItemCount(arg2
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_Py_Void();
15786 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15787 PyObject
*resultobj
= 0;
15788 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15789 wxFileSystem
*result
= 0 ;
15792 PyObject
*swig_obj
[1] ;
15794 if (!args
) SWIG_fail
;
15795 swig_obj
[0] = args
;
15796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15797 if (!SWIG_IsOK(res1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15800 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15805 result
= (wxFileSystem
*) &_result_ref
;
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15817 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
= 0;
15819 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15821 wxHtmlLinkInfo
*arg3
= 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 PyObject
* obj2
= 0 ;
15831 char * kwnames
[] = {
15832 (char *) "self",(char *) "n",(char *) "link", NULL
15835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15840 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15841 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15842 if (!SWIG_IsOK(ecode2
)) {
15843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15845 arg2
= static_cast< size_t >(val2
);
15846 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15847 if (!SWIG_IsOK(res3
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15853 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= SWIG_Py_Void();
15867 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15870 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15871 return SWIG_Py_Void();
15874 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15875 return SWIG_Python_InitShadowInstance(args
);
15878 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15879 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15884 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15885 PyObject
*pyobj
= 0;
15889 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15891 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15898 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
= 0;
15900 wxWindow
*arg1
= (wxWindow
*) 0 ;
15901 int arg2
= (int) -1 ;
15902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15906 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15907 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15908 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15909 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15910 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15911 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15912 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15913 wxSimpleHtmlListBox
*result
= 0 ;
15920 bool temp5
= false ;
15925 bool temp8
= false ;
15926 PyObject
* obj0
= 0 ;
15927 PyObject
* obj1
= 0 ;
15928 PyObject
* obj2
= 0 ;
15929 PyObject
* obj3
= 0 ;
15930 PyObject
* obj4
= 0 ;
15931 PyObject
* obj5
= 0 ;
15932 PyObject
* obj6
= 0 ;
15933 PyObject
* obj7
= 0 ;
15934 char * kwnames
[] = {
15935 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
15939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15940 if (!SWIG_IsOK(res1
)) {
15941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15943 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15946 if (!SWIG_IsOK(ecode2
)) {
15947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15949 arg2
= static_cast< int >(val2
);
15954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15960 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15965 if (! PySequence_Check(obj4
)) {
15966 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15969 arg5
= new wxArrayString
;
15971 int i
, len
=PySequence_Length(obj4
);
15972 for (i
=0; i
<len
; i
++) {
15973 PyObject
* item
= PySequence_GetItem(obj4
, i
);
15974 wxString
* s
= wxString_in_helper(item
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15983 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15984 if (!SWIG_IsOK(ecode6
)) {
15985 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15987 arg6
= static_cast< long >(val6
);
15990 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
15991 if (!SWIG_IsOK(res7
)) {
15992 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15997 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16001 arg8
= wxString_in_helper(obj7
);
16002 if (arg8
== NULL
) SWIG_fail
;
16007 if (!wxPyCheckForApp()) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
16015 if (temp5
) delete arg5
;
16024 if (temp5
) delete arg5
;
16034 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 PyObject
*resultobj
= 0;
16036 wxSimpleHtmlListBox
*result
= 0 ;
16038 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
16040 if (!wxPyCheckForApp()) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
16053 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16055 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
16056 wxWindow
*arg2
= (wxWindow
*) 0 ;
16057 int arg3
= (int) -1 ;
16058 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16059 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16060 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16061 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16062 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16063 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16064 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
16065 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16066 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16067 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16068 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16078 bool temp6
= false ;
16083 bool temp9
= false ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 PyObject
* obj2
= 0 ;
16087 PyObject
* obj3
= 0 ;
16088 PyObject
* obj4
= 0 ;
16089 PyObject
* obj5
= 0 ;
16090 PyObject
* obj6
= 0 ;
16091 PyObject
* obj7
= 0 ;
16092 PyObject
* obj8
= 0 ;
16093 char * kwnames
[] = {
16094 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16099 if (!SWIG_IsOK(res1
)) {
16100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16102 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16104 if (!SWIG_IsOK(res2
)) {
16105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16107 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16110 if (!SWIG_IsOK(ecode3
)) {
16111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16113 arg3
= static_cast< int >(val3
);
16118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16129 if (! PySequence_Check(obj5
)) {
16130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16133 arg6
= new wxArrayString
;
16135 int i
, len
=PySequence_Length(obj5
);
16136 for (i
=0; i
<len
; i
++) {
16137 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16138 wxString
* s
= wxString_in_helper(item
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16147 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16148 if (!SWIG_IsOK(ecode7
)) {
16149 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16151 arg7
= static_cast< long >(val7
);
16154 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16155 if (!SWIG_IsOK(res8
)) {
16156 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16161 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16165 arg9
= wxString_in_helper(obj8
);
16166 if (arg9
== NULL
) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16180 if (temp6
) delete arg6
;
16189 if (temp6
) delete arg6
;
16199 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16202 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16203 return SWIG_Py_Void();
16206 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16207 return SWIG_Python_InitShadowInstance(args
);
16210 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16211 PyObject
*resultobj
= 0;
16212 wxPyTaskBarIcon
*result
= 0 ;
16214 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16216 if (!wxPyCheckForApp()) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16229 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 PyObject
*resultobj
= 0;
16231 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16234 PyObject
*swig_obj
[1] ;
16236 if (!args
) SWIG_fail
;
16237 swig_obj
[0] = args
;
16238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16242 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_Py_Void();
16257 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
= 0;
16259 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16260 PyObject
*arg2
= (PyObject
*) 0 ;
16261 PyObject
*arg3
= (PyObject
*) 0 ;
16262 int arg4
= (int) 0 ;
16267 PyObject
* obj0
= 0 ;
16268 PyObject
* obj1
= 0 ;
16269 PyObject
* obj2
= 0 ;
16270 PyObject
* obj3
= 0 ;
16271 char * kwnames
[] = {
16272 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16277 if (!SWIG_IsOK(res1
)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16280 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16285 if (!SWIG_IsOK(ecode4
)) {
16286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16288 arg4
= static_cast< int >(val4
);
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_Py_Void();
16303 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16304 PyObject
*resultobj
= 0;
16305 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16308 PyObject
*swig_obj
[1] ;
16310 if (!args
) SWIG_fail
;
16311 swig_obj
[0] = args
;
16312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16313 if (!SWIG_IsOK(res1
)) {
16314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16316 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 wxPyTaskBarIcon_Destroy(arg1
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= SWIG_Py_Void();
16330 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16331 PyObject
*resultobj
= 0;
16332 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16336 PyObject
*swig_obj
[1] ;
16338 if (!args
) SWIG_fail
;
16339 swig_obj
[0] = args
;
16340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16341 if (!SWIG_IsOK(res1
)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16344 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16360 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16361 PyObject
*resultobj
= 0;
16362 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16366 PyObject
*swig_obj
[1] ;
16368 if (!args
) SWIG_fail
;
16369 swig_obj
[0] = args
;
16370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16371 if (!SWIG_IsOK(res1
)) {
16372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16374 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16390 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
= 0;
16392 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16401 bool temp3
= false ;
16402 PyObject
* obj0
= 0 ;
16403 PyObject
* obj1
= 0 ;
16404 PyObject
* obj2
= 0 ;
16405 char * kwnames
[] = {
16406 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16411 if (!SWIG_IsOK(res1
)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16414 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16416 if (!SWIG_IsOK(res2
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16422 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16425 arg3
= wxString_in_helper(obj2
);
16426 if (arg3
== NULL
) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16453 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16454 PyObject
*resultobj
= 0;
16455 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16459 PyObject
*swig_obj
[1] ;
16461 if (!args
) SWIG_fail
;
16462 swig_obj
[0] = args
;
16463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16464 if (!SWIG_IsOK(res1
)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16467 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (bool)(arg1
)->RemoveIcon();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16483 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
= 0;
16485 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16486 wxMenu
*arg2
= (wxMenu
*) 0 ;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 char * kwnames
[] = {
16495 (char *) "self",(char *) "menu", NULL
16498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16500 if (!SWIG_IsOK(res1
)) {
16501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16503 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16505 if (!SWIG_IsOK(res2
)) {
16506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16508 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (bool)(arg1
)->PopupMenu(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16524 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16527 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16528 return SWIG_Py_Void();
16531 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16532 return SWIG_Python_InitShadowInstance(args
);
16535 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
= 0;
16538 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16539 wxTaskBarIconEvent
*result
= 0 ;
16544 PyObject
* obj0
= 0 ;
16545 PyObject
* obj1
= 0 ;
16546 char * kwnames
[] = {
16547 (char *) "evtType",(char *) "tbIcon", NULL
16550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16551 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16552 if (!SWIG_IsOK(ecode1
)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16555 arg1
= static_cast< wxEventType
>(val1
);
16556 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16557 if (!SWIG_IsOK(res2
)) {
16558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16560 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16574 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16577 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16578 return SWIG_Py_Void();
16581 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16582 return SWIG_Python_InitShadowInstance(args
);
16585 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16586 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16591 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16592 PyObject
*pyobj
= 0;
16596 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16598 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16605 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16606 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16611 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16612 PyObject
*pyobj
= 0;
16616 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16618 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16625 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16626 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16631 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16632 PyObject
*pyobj
= 0;
16636 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16638 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16645 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16646 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16651 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16652 PyObject
*pyobj
= 0;
16656 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16658 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16665 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16666 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16671 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16672 PyObject
*pyobj
= 0;
16676 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16678 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16685 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16686 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16691 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16692 PyObject
*pyobj
= 0;
16696 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16698 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16705 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16706 PyObject
*resultobj
= 0;
16707 wxColourData
*result
= 0 ;
16709 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (wxColourData
*)new wxColourData();
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16723 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16724 PyObject
*resultobj
= 0;
16725 wxColourData
*arg1
= (wxColourData
*) 0 ;
16728 PyObject
*swig_obj
[1] ;
16730 if (!args
) SWIG_fail
;
16731 swig_obj
[0] = args
;
16732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16736 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= SWIG_Py_Void();
16751 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 PyObject
*resultobj
= 0;
16753 wxColourData
*arg1
= (wxColourData
*) 0 ;
16757 PyObject
*swig_obj
[1] ;
16759 if (!args
) SWIG_fail
;
16760 swig_obj
[0] = args
;
16761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16762 if (!SWIG_IsOK(res1
)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16765 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (bool)(arg1
)->GetChooseFull();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16782 PyObject
*resultobj
= 0;
16783 wxColourData
*arg1
= (wxColourData
*) 0 ;
16787 PyObject
*swig_obj
[1] ;
16789 if (!args
) SWIG_fail
;
16790 swig_obj
[0] = args
;
16791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16792 if (!SWIG_IsOK(res1
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16795 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (arg1
)->GetColour();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16809 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
= 0;
16811 wxColourData
*arg1
= (wxColourData
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 char * kwnames
[] = {
16821 (char *) "self",(char *) "i", NULL
16824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16826 if (!SWIG_IsOK(res1
)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16829 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16831 if (!SWIG_IsOK(ecode2
)) {
16832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16834 arg2
= static_cast< int >(val2
);
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (arg1
)->GetCustomColour(arg2
);
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16848 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
= 0;
16850 wxColourData
*arg1
= (wxColourData
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 char * kwnames
[] = {
16859 (char *) "self",(char *) "flag", NULL
16862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16864 if (!SWIG_IsOK(res1
)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16867 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16869 if (!SWIG_IsOK(ecode2
)) {
16870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16872 arg2
= static_cast< int >(val2
);
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->SetChooseFull(arg2
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_Py_Void();
16886 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxColourData
*arg1
= (wxColourData
*) 0 ;
16889 wxColour
*arg2
= 0 ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 char * kwnames
[] = {
16896 (char *) "self",(char *) "colour", NULL
16899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16901 if (!SWIG_IsOK(res1
)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16904 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16907 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->SetColour((wxColour
const &)*arg2
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= SWIG_Py_Void();
16922 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
= 0;
16924 wxColourData
*arg1
= (wxColourData
*) 0 ;
16926 wxColour
*arg3
= 0 ;
16932 PyObject
* obj0
= 0 ;
16933 PyObject
* obj1
= 0 ;
16934 PyObject
* obj2
= 0 ;
16935 char * kwnames
[] = {
16936 (char *) "self",(char *) "i",(char *) "colour", NULL
16939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16941 if (!SWIG_IsOK(res1
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16944 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16946 if (!SWIG_IsOK(ecode2
)) {
16947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16949 arg2
= static_cast< int >(val2
);
16952 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= SWIG_Py_Void();
16967 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16970 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16971 return SWIG_Py_Void();
16974 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16975 return SWIG_Python_InitShadowInstance(args
);
16978 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
= 0;
16980 wxWindow
*arg1
= (wxWindow
*) 0 ;
16981 wxColourData
*arg2
= (wxColourData
*) NULL
;
16982 wxColourDialog
*result
= 0 ;
16987 PyObject
* obj0
= 0 ;
16988 PyObject
* obj1
= 0 ;
16989 char * kwnames
[] = {
16990 (char *) "parent",(char *) "data", NULL
16993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16995 if (!SWIG_IsOK(res1
)) {
16996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17001 if (!SWIG_IsOK(res2
)) {
17002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17004 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
17007 if (!wxPyCheckForApp()) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
17020 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17021 PyObject
*resultobj
= 0;
17022 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
17023 wxColourData
*result
= 0 ;
17026 PyObject
*swig_obj
[1] ;
17028 if (!args
) SWIG_fail
;
17029 swig_obj
[0] = args
;
17030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17034 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 wxColourData
&_result_ref
= (arg1
)->GetColourData();
17039 result
= (wxColourData
*) &_result_ref
;
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
17051 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17054 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
17055 return SWIG_Py_Void();
17058 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17059 return SWIG_Python_InitShadowInstance(args
);
17062 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
= 0;
17064 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
17065 wxColour
const &arg2_defvalue
= wxNullColour
;
17066 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17073 bool temp3
= false ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 PyObject
* obj2
= 0 ;
17077 char * kwnames
[] = {
17078 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17084 if (!SWIG_IsOK(res1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17097 arg3
= wxString_in_helper(obj2
);
17098 if (arg3
== NULL
) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17123 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
= 0;
17125 wxWindow
*arg1
= (wxWindow
*) 0 ;
17126 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17127 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17130 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17131 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17132 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17133 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17134 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17135 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17136 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17137 wxDirDialog
*result
= 0 ;
17140 bool temp2
= false ;
17141 bool temp3
= false ;
17146 bool temp7
= false ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 PyObject
* obj3
= 0 ;
17151 PyObject
* obj4
= 0 ;
17152 PyObject
* obj5
= 0 ;
17153 PyObject
* obj6
= 0 ;
17154 char * kwnames
[] = {
17155 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17160 if (!SWIG_IsOK(res1
)) {
17161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17166 arg2
= wxString_in_helper(obj1
);
17167 if (arg2
== NULL
) SWIG_fail
;
17173 arg3
= wxString_in_helper(obj2
);
17174 if (arg3
== NULL
) SWIG_fail
;
17179 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17180 if (!SWIG_IsOK(ecode4
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17183 arg4
= static_cast< long >(val4
);
17188 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17194 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17199 arg7
= wxString_in_helper(obj6
);
17200 if (arg7
== NULL
) SWIG_fail
;
17205 if (!wxPyCheckForApp()) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17242 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17243 PyObject
*resultobj
= 0;
17244 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17248 PyObject
*swig_obj
[1] ;
17250 if (!args
) SWIG_fail
;
17251 swig_obj
[0] = args
;
17252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17253 if (!SWIG_IsOK(res1
)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17256 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= (arg1
)->GetPath();
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17276 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17277 PyObject
*resultobj
= 0;
17278 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17282 PyObject
*swig_obj
[1] ;
17284 if (!args
) SWIG_fail
;
17285 swig_obj
[0] = args
;
17286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17287 if (!SWIG_IsOK(res1
)) {
17288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17290 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (arg1
)->GetMessage();
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17310 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
= 0;
17312 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17313 wxString
*arg2
= 0 ;
17316 bool temp2
= false ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char * kwnames
[] = {
17320 (char *) "self",(char *) "message", NULL
17323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17325 if (!SWIG_IsOK(res1
)) {
17326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17328 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17330 arg2
= wxString_in_helper(obj1
);
17331 if (arg2
== NULL
) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 (arg1
)->SetMessage((wxString
const &)*arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_Py_Void();
17355 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
= 0;
17357 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17358 wxString
*arg2
= 0 ;
17361 bool temp2
= false ;
17362 PyObject
* obj0
= 0 ;
17363 PyObject
* obj1
= 0 ;
17364 char * kwnames
[] = {
17365 (char *) "self",(char *) "path", NULL
17368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17373 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17375 arg2
= wxString_in_helper(obj1
);
17376 if (arg2
== NULL
) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 (arg1
)->SetPath((wxString
const &)*arg2
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= SWIG_Py_Void();
17400 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17403 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17404 return SWIG_Py_Void();
17407 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17408 return SWIG_Python_InitShadowInstance(args
);
17411 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
= 0;
17413 wxWindow
*arg1
= (wxWindow
*) 0 ;
17414 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17415 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17416 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17417 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17418 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17419 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17420 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17421 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17422 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17423 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17424 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17425 wxFileDialog
*result
= 0 ;
17428 bool temp2
= false ;
17429 bool temp3
= false ;
17430 bool temp4
= false ;
17431 bool temp5
= false ;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 PyObject
* obj2
= 0 ;
17438 PyObject
* obj3
= 0 ;
17439 PyObject
* obj4
= 0 ;
17440 PyObject
* obj5
= 0 ;
17441 PyObject
* obj6
= 0 ;
17442 char * kwnames
[] = {
17443 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17448 if (!SWIG_IsOK(res1
)) {
17449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17454 arg2
= wxString_in_helper(obj1
);
17455 if (arg2
== NULL
) SWIG_fail
;
17461 arg3
= wxString_in_helper(obj2
);
17462 if (arg3
== NULL
) SWIG_fail
;
17468 arg4
= wxString_in_helper(obj3
);
17469 if (arg4
== NULL
) SWIG_fail
;
17475 arg5
= wxString_in_helper(obj4
);
17476 if (arg5
== NULL
) SWIG_fail
;
17481 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17482 if (!SWIG_IsOK(ecode6
)) {
17483 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17485 arg6
= static_cast< long >(val6
);
17490 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17494 if (!wxPyCheckForApp()) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17539 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
= 0;
17541 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17542 wxString
*arg2
= 0 ;
17545 bool temp2
= false ;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 char * kwnames
[] = {
17549 (char *) "self",(char *) "message", NULL
17552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17554 if (!SWIG_IsOK(res1
)) {
17555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17557 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17559 arg2
= wxString_in_helper(obj1
);
17560 if (arg2
== NULL
) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 (arg1
)->SetMessage((wxString
const &)*arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_Py_Void();
17584 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= 0;
17586 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17587 wxString
*arg2
= 0 ;
17590 bool temp2
= false ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char * kwnames
[] = {
17594 (char *) "self",(char *) "path", NULL
17597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17599 if (!SWIG_IsOK(res1
)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17602 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17604 arg2
= wxString_in_helper(obj1
);
17605 if (arg2
== NULL
) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->SetPath((wxString
const &)*arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_Py_Void();
17629 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
= 0;
17631 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17632 wxString
*arg2
= 0 ;
17635 bool temp2
= false ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char * kwnames
[] = {
17639 (char *) "self",(char *) "dir", NULL
17642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17644 if (!SWIG_IsOK(res1
)) {
17645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17647 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17649 arg2
= wxString_in_helper(obj1
);
17650 if (arg2
== NULL
) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_Py_Void();
17674 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
= 0;
17676 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17677 wxString
*arg2
= 0 ;
17680 bool temp2
= false ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 char * kwnames
[] = {
17684 (char *) "self",(char *) "name", NULL
17687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17689 if (!SWIG_IsOK(res1
)) {
17690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17692 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17694 arg2
= wxString_in_helper(obj1
);
17695 if (arg2
== NULL
) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 (arg1
)->SetFilename((wxString
const &)*arg2
);
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_Py_Void();
17719 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17722 wxString
*arg2
= 0 ;
17725 bool temp2
= false ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char * kwnames
[] = {
17729 (char *) "self",(char *) "wildCard", NULL
17732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17737 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17739 arg2
= wxString_in_helper(obj1
);
17740 if (arg2
== NULL
) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_Py_Void();
17764 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
= 0;
17766 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 char * kwnames
[] = {
17775 (char *) "self",(char *) "filterIndex", NULL
17778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17780 if (!SWIG_IsOK(res1
)) {
17781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17783 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17785 if (!SWIG_IsOK(ecode2
)) {
17786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17788 arg2
= static_cast< int >(val2
);
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 (arg1
)->SetFilterIndex(arg2
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= SWIG_Py_Void();
17802 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17803 PyObject
*resultobj
= 0;
17804 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17808 PyObject
*swig_obj
[1] ;
17810 if (!args
) SWIG_fail
;
17811 swig_obj
[0] = args
;
17812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17816 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17836 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17837 PyObject
*resultobj
= 0;
17838 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17842 PyObject
*swig_obj
[1] ;
17844 if (!args
) SWIG_fail
;
17845 swig_obj
[0] = args
;
17846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17847 if (!SWIG_IsOK(res1
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17850 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17870 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17871 PyObject
*resultobj
= 0;
17872 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17876 PyObject
*swig_obj
[1] ;
17878 if (!args
) SWIG_fail
;
17879 swig_obj
[0] = args
;
17880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17881 if (!SWIG_IsOK(res1
)) {
17882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17884 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17904 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17905 PyObject
*resultobj
= 0;
17906 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17910 PyObject
*swig_obj
[1] ;
17912 if (!args
) SWIG_fail
;
17913 swig_obj
[0] = args
;
17914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17915 if (!SWIG_IsOK(res1
)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17918 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17938 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17939 PyObject
*resultobj
= 0;
17940 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17944 PyObject
*swig_obj
[1] ;
17946 if (!args
) SWIG_fail
;
17947 swig_obj
[0] = args
;
17948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17952 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17972 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17973 PyObject
*resultobj
= 0;
17974 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17978 PyObject
*swig_obj
[1] ;
17980 if (!args
) SWIG_fail
;
17981 swig_obj
[0] = args
;
17982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17983 if (!SWIG_IsOK(res1
)) {
17984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17986 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_From_int(static_cast< int >(result
));
18000 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18001 PyObject
*resultobj
= 0;
18002 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18003 PyObject
*result
= 0 ;
18006 PyObject
*swig_obj
[1] ;
18008 if (!args
) SWIG_fail
;
18009 swig_obj
[0] = args
;
18010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18014 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= result
;
18028 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18029 PyObject
*resultobj
= 0;
18030 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18031 PyObject
*result
= 0 ;
18034 PyObject
*swig_obj
[1] ;
18036 if (!args
) SWIG_fail
;
18037 swig_obj
[0] = args
;
18038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18039 if (!SWIG_IsOK(res1
)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18042 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= result
;
18056 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18059 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
18060 return SWIG_Py_Void();
18063 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18064 return SWIG_Python_InitShadowInstance(args
);
18067 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
= 0;
18069 wxWindow
*arg1
= (wxWindow
*) 0 ;
18070 wxString
*arg2
= 0 ;
18071 wxString
*arg3
= 0 ;
18072 int arg4
= (int) 0 ;
18073 wxString
*arg5
= (wxString
*) NULL
;
18074 long arg6
= (long) wxCHOICEDLG_STYLE
;
18075 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18076 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18077 wxMultiChoiceDialog
*result
= 0 ;
18080 bool temp2
= false ;
18081 bool temp3
= false ;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 PyObject
* obj2
= 0 ;
18088 PyObject
* obj3
= 0 ;
18089 PyObject
* obj4
= 0 ;
18090 PyObject
* obj5
= 0 ;
18091 char * kwnames
[] = {
18092 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18102 arg2
= wxString_in_helper(obj1
);
18103 if (arg2
== NULL
) SWIG_fail
;
18107 arg3
= wxString_in_helper(obj2
);
18108 if (arg3
== NULL
) SWIG_fail
;
18113 arg4
= PyList_Size(obj3
);
18114 arg5
= wxString_LIST_helper(obj3
);
18115 if (arg5
== NULL
) SWIG_fail
;
18119 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18120 if (!SWIG_IsOK(ecode6
)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18123 arg6
= static_cast< long >(val6
);
18128 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18132 if (!wxPyCheckForApp()) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18148 if (arg5
) delete [] arg5
;
18161 if (arg5
) delete [] arg5
;
18167 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
= 0;
18169 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18170 wxArrayInt
*arg2
= 0 ;
18173 bool temp2
= false ;
18174 PyObject
* obj0
= 0 ;
18175 PyObject
* obj1
= 0 ;
18176 char * kwnames
[] = {
18177 (char *) "self",(char *) "selections", NULL
18180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18182 if (!SWIG_IsOK(res1
)) {
18183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18185 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18187 if (! PySequence_Check(obj1
)) {
18188 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18191 arg2
= new wxArrayInt
;
18193 int i
, len
=PySequence_Length(obj1
);
18194 for (i
=0; i
<len
; i
++) {
18195 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18196 PyObject
* number
= PyNumber_Int(item
);
18198 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18201 arg2
->Add(PyInt_AS_LONG(number
));
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_Py_Void();
18214 if (temp2
) delete arg2
;
18219 if (temp2
) delete arg2
;
18225 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18226 PyObject
*resultobj
= 0;
18227 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18228 PyObject
*result
= 0 ;
18231 PyObject
*swig_obj
[1] ;
18233 if (!args
) SWIG_fail
;
18234 swig_obj
[0] = args
;
18235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18236 if (!SWIG_IsOK(res1
)) {
18237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18239 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= result
;
18253 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18256 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18257 return SWIG_Py_Void();
18260 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18261 return SWIG_Python_InitShadowInstance(args
);
18264 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
= 0;
18266 wxWindow
*arg1
= (wxWindow
*) 0 ;
18267 wxString
*arg2
= 0 ;
18268 wxString
*arg3
= 0 ;
18270 wxString
*arg5
= (wxString
*) 0 ;
18271 long arg6
= (long) wxCHOICEDLG_STYLE
;
18272 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18273 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18274 wxSingleChoiceDialog
*result
= 0 ;
18277 bool temp2
= false ;
18278 bool temp3
= false ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 PyObject
* obj2
= 0 ;
18285 PyObject
* obj3
= 0 ;
18286 PyObject
* obj4
= 0 ;
18287 PyObject
* obj5
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18299 arg2
= wxString_in_helper(obj1
);
18300 if (arg2
== NULL
) SWIG_fail
;
18304 arg3
= wxString_in_helper(obj2
);
18305 if (arg3
== NULL
) SWIG_fail
;
18309 arg4
= PyList_Size(obj3
);
18310 arg5
= wxString_LIST_helper(obj3
);
18311 if (arg5
== NULL
) SWIG_fail
;
18314 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18315 if (!SWIG_IsOK(ecode6
)) {
18316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18318 arg6
= static_cast< long >(val6
);
18323 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18327 if (!wxPyCheckForApp()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18343 if (arg5
) delete [] arg5
;
18356 if (arg5
) delete [] arg5
;
18362 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18363 PyObject
*resultobj
= 0;
18364 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18368 PyObject
*swig_obj
[1] ;
18370 if (!args
) SWIG_fail
;
18371 swig_obj
[0] = args
;
18372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18376 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (int)(arg1
)->GetSelection();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_From_int(static_cast< int >(result
));
18390 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18391 PyObject
*resultobj
= 0;
18392 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18396 PyObject
*swig_obj
[1] ;
18398 if (!args
) SWIG_fail
;
18399 swig_obj
[0] = args
;
18400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18401 if (!SWIG_IsOK(res1
)) {
18402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18404 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (arg1
)->GetStringSelection();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18424 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
= 0;
18426 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "sel", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18443 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18445 if (!SWIG_IsOK(ecode2
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18448 arg2
= static_cast< int >(val2
);
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetSelection(arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_Py_Void();
18462 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18465 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18466 return SWIG_Py_Void();
18469 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18470 return SWIG_Python_InitShadowInstance(args
);
18473 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
= 0;
18475 wxWindow
*arg1
= (wxWindow
*) 0 ;
18476 wxString
*arg2
= 0 ;
18477 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18478 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18479 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18480 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18481 long arg5
= (long) wxTextEntryDialogStyle
;
18482 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18483 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18484 wxTextEntryDialog
*result
= 0 ;
18487 bool temp2
= false ;
18488 bool temp3
= false ;
18489 bool temp4
= false ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 PyObject
* obj2
= 0 ;
18496 PyObject
* obj3
= 0 ;
18497 PyObject
* obj4
= 0 ;
18498 PyObject
* obj5
= 0 ;
18499 char * kwnames
[] = {
18500 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18505 if (!SWIG_IsOK(res1
)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18510 arg2
= wxString_in_helper(obj1
);
18511 if (arg2
== NULL
) SWIG_fail
;
18516 arg3
= wxString_in_helper(obj2
);
18517 if (arg3
== NULL
) SWIG_fail
;
18523 arg4
= wxString_in_helper(obj3
);
18524 if (arg4
== NULL
) SWIG_fail
;
18529 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18530 if (!SWIG_IsOK(ecode5
)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18533 arg5
= static_cast< long >(val5
);
18538 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18542 if (!wxPyCheckForApp()) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18579 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18580 PyObject
*resultobj
= 0;
18581 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18585 PyObject
*swig_obj
[1] ;
18587 if (!args
) SWIG_fail
;
18588 swig_obj
[0] = args
;
18589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18590 if (!SWIG_IsOK(res1
)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18593 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (arg1
)->GetValue();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18613 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
= 0;
18615 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18616 wxString
*arg2
= 0 ;
18619 bool temp2
= false ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char * kwnames
[] = {
18623 (char *) "self",(char *) "value", NULL
18626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18628 if (!SWIG_IsOK(res1
)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18631 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18633 arg2
= wxString_in_helper(obj1
);
18634 if (arg2
== NULL
) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->SetValue((wxString
const &)*arg2
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_Py_Void();
18658 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18661 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18662 return SWIG_Py_Void();
18665 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18666 return SWIG_Python_InitShadowInstance(args
);
18669 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18670 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18675 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18676 PyObject
*pyobj
= 0;
18680 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18682 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18689 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxWindow
*arg1
= (wxWindow
*) 0 ;
18692 wxString
*arg2
= 0 ;
18693 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18695 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18696 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18697 long arg5
= (long) wxTextEntryDialogStyle
;
18698 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18699 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18700 wxPasswordEntryDialog
*result
= 0 ;
18703 bool temp2
= false ;
18704 bool temp3
= false ;
18705 bool temp4
= false ;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 PyObject
* obj2
= 0 ;
18712 PyObject
* obj3
= 0 ;
18713 PyObject
* obj4
= 0 ;
18714 PyObject
* obj5
= 0 ;
18715 char * kwnames
[] = {
18716 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18721 if (!SWIG_IsOK(res1
)) {
18722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18724 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18726 arg2
= wxString_in_helper(obj1
);
18727 if (arg2
== NULL
) SWIG_fail
;
18732 arg3
= wxString_in_helper(obj2
);
18733 if (arg3
== NULL
) SWIG_fail
;
18739 arg4
= wxString_in_helper(obj3
);
18740 if (arg4
== NULL
) SWIG_fail
;
18745 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18746 if (!SWIG_IsOK(ecode5
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18749 arg5
= static_cast< long >(val5
);
18754 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18794 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18797 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18798 return SWIG_Py_Void();
18801 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18802 return SWIG_Python_InitShadowInstance(args
);
18805 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
= 0;
18807 wxWindow
*arg1
= (wxWindow
*) 0 ;
18808 wxString
*arg2
= 0 ;
18809 wxString
*arg3
= 0 ;
18810 wxString
*arg4
= 0 ;
18814 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18815 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18816 wxNumberEntryDialog
*result
= 0 ;
18819 bool temp2
= false ;
18820 bool temp3
= false ;
18821 bool temp4
= false ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 PyObject
* obj2
= 0 ;
18832 PyObject
* obj3
= 0 ;
18833 PyObject
* obj4
= 0 ;
18834 PyObject
* obj5
= 0 ;
18835 PyObject
* obj6
= 0 ;
18836 PyObject
* obj7
= 0 ;
18837 char * kwnames
[] = {
18838 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18843 if (!SWIG_IsOK(res1
)) {
18844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18846 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18848 arg2
= wxString_in_helper(obj1
);
18849 if (arg2
== NULL
) SWIG_fail
;
18853 arg3
= wxString_in_helper(obj2
);
18854 if (arg3
== NULL
) SWIG_fail
;
18858 arg4
= wxString_in_helper(obj3
);
18859 if (arg4
== NULL
) SWIG_fail
;
18862 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18863 if (!SWIG_IsOK(ecode5
)) {
18864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18866 arg5
= static_cast< long >(val5
);
18867 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18868 if (!SWIG_IsOK(ecode6
)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18871 arg6
= static_cast< long >(val6
);
18872 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18873 if (!SWIG_IsOK(ecode7
)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18876 arg7
= static_cast< long >(val7
);
18880 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18884 if (!wxPyCheckForApp()) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18921 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18922 PyObject
*resultobj
= 0;
18923 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18927 PyObject
*swig_obj
[1] ;
18929 if (!args
) SWIG_fail
;
18930 swig_obj
[0] = args
;
18931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18935 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (long)(arg1
)->GetValue();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_From_long(static_cast< long >(result
));
18949 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18952 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18953 return SWIG_Py_Void();
18956 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18957 return SWIG_Python_InitShadowInstance(args
);
18960 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18961 PyObject
*resultobj
= 0;
18962 wxFontData
*result
= 0 ;
18964 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (wxFontData
*)new wxFontData();
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18978 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18979 PyObject
*resultobj
= 0;
18980 wxFontData
*arg1
= (wxFontData
*) 0 ;
18983 PyObject
*swig_obj
[1] ;
18985 if (!args
) SWIG_fail
;
18986 swig_obj
[0] = args
;
18987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18988 if (!SWIG_IsOK(res1
)) {
18989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18991 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_Py_Void();
19006 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
= 0;
19008 wxFontData
*arg1
= (wxFontData
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char * kwnames
[] = {
19017 (char *) "self",(char *) "enable", NULL
19020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19022 if (!SWIG_IsOK(res1
)) {
19023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19025 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19027 if (!SWIG_IsOK(ecode2
)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19030 arg2
= static_cast< bool >(val2
);
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 (arg1
)->EnableEffects(arg2
);
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= SWIG_Py_Void();
19044 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19045 PyObject
*resultobj
= 0;
19046 wxFontData
*arg1
= (wxFontData
*) 0 ;
19050 PyObject
*swig_obj
[1] ;
19052 if (!args
) SWIG_fail
;
19053 swig_obj
[0] = args
;
19054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19055 if (!SWIG_IsOK(res1
)) {
19056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19058 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 result
= (bool)(arg1
)->GetAllowSymbols();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19074 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19075 PyObject
*resultobj
= 0;
19076 wxFontData
*arg1
= (wxFontData
*) 0 ;
19080 PyObject
*swig_obj
[1] ;
19082 if (!args
) SWIG_fail
;
19083 swig_obj
[0] = args
;
19084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19088 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (arg1
)->GetColour();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19102 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19103 PyObject
*resultobj
= 0;
19104 wxFontData
*arg1
= (wxFontData
*) 0 ;
19108 PyObject
*swig_obj
[1] ;
19110 if (!args
) SWIG_fail
;
19111 swig_obj
[0] = args
;
19112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19113 if (!SWIG_IsOK(res1
)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19116 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (arg1
)->GetChosenFont();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19130 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19131 PyObject
*resultobj
= 0;
19132 wxFontData
*arg1
= (wxFontData
*) 0 ;
19136 PyObject
*swig_obj
[1] ;
19138 if (!args
) SWIG_fail
;
19139 swig_obj
[0] = args
;
19140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19141 if (!SWIG_IsOK(res1
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19144 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (bool)(arg1
)->GetEnableEffects();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19160 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19161 PyObject
*resultobj
= 0;
19162 wxFontData
*arg1
= (wxFontData
*) 0 ;
19166 PyObject
*swig_obj
[1] ;
19168 if (!args
) SWIG_fail
;
19169 swig_obj
[0] = args
;
19170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19174 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (arg1
)->GetInitialFont();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19188 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19189 PyObject
*resultobj
= 0;
19190 wxFontData
*arg1
= (wxFontData
*) 0 ;
19194 PyObject
*swig_obj
[1] ;
19196 if (!args
) SWIG_fail
;
19197 swig_obj
[0] = args
;
19198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19199 if (!SWIG_IsOK(res1
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19202 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (bool)(arg1
)->GetShowHelp();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19218 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
= 0;
19220 wxFontData
*arg1
= (wxFontData
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 char * kwnames
[] = {
19229 (char *) "self",(char *) "allowSymbols", NULL
19232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",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_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19237 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19238 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19239 if (!SWIG_IsOK(ecode2
)) {
19240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19242 arg2
= static_cast< bool >(val2
);
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetAllowSymbols(arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= SWIG_Py_Void();
19256 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
= 0;
19258 wxFontData
*arg1
= (wxFontData
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char * kwnames
[] = {
19267 (char *) "self",(char *) "font", NULL
19270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19272 if (!SWIG_IsOK(res1
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19275 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19277 if (!SWIG_IsOK(res2
)) {
19278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19283 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_Py_Void();
19297 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
= 0;
19299 wxFontData
*arg1
= (wxFontData
*) 0 ;
19300 wxColour
*arg2
= 0 ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "self",(char *) "colour", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19315 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 (arg1
)->SetColour((wxColour
const &)*arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_Py_Void();
19333 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxFontData
*arg1
= (wxFontData
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "self",(char *) "font", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19352 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19354 if (!SWIG_IsOK(res2
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19360 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_Py_Void();
19374 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
= 0;
19376 wxFontData
*arg1
= (wxFontData
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 PyObject
* obj2
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "min",(char *) "max", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19394 if (!SWIG_IsOK(res1
)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19397 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19399 if (!SWIG_IsOK(ecode2
)) {
19400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19402 arg2
= static_cast< int >(val2
);
19403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19404 if (!SWIG_IsOK(ecode3
)) {
19405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19407 arg3
= static_cast< int >(val3
);
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->SetRange(arg2
,arg3
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_Py_Void();
19421 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= 0;
19423 wxFontData
*arg1
= (wxFontData
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "self",(char *) "showHelp", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19440 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19441 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19442 if (!SWIG_IsOK(ecode2
)) {
19443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19445 arg2
= static_cast< bool >(val2
);
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 (arg1
)->SetShowHelp(arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_Py_Void();
19459 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19462 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19463 return SWIG_Py_Void();
19466 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19467 return SWIG_Python_InitShadowInstance(args
);
19470 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
= 0;
19472 wxWindow
*arg1
= (wxWindow
*) 0 ;
19473 wxFontData
*arg2
= 0 ;
19474 wxFontDialog
*result
= 0 ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char * kwnames
[] = {
19482 (char *) "parent",(char *) "data", NULL
19485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19490 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19492 if (!SWIG_IsOK(res2
)) {
19493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19498 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19500 if (!wxPyCheckForApp()) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19513 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19514 PyObject
*resultobj
= 0;
19515 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19516 wxFontData
*result
= 0 ;
19519 PyObject
*swig_obj
[1] ;
19521 if (!args
) SWIG_fail
;
19522 swig_obj
[0] = args
;
19523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19524 if (!SWIG_IsOK(res1
)) {
19525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19527 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19532 result
= (wxFontData
*) &_result_ref
;
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19544 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19547 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19548 return SWIG_Py_Void();
19551 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19552 return SWIG_Python_InitShadowInstance(args
);
19555 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxWindow
*arg1
= (wxWindow
*) NULL
;
19558 wxFont
const &arg2_defvalue
= wxNullFont
;
19559 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19567 bool temp3
= false ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 PyObject
* obj2
= 0 ;
19571 char * kwnames
[] = {
19572 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19585 if (!SWIG_IsOK(res2
)) {
19586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19591 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19595 arg3
= wxString_in_helper(obj2
);
19596 if (arg3
== NULL
) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19621 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
= 0;
19623 wxWindow
*arg1
= (wxWindow
*) 0 ;
19624 wxString
*arg2
= 0 ;
19625 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19627 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19628 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19629 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19630 wxMessageDialog
*result
= 0 ;
19633 bool temp2
= false ;
19634 bool temp3
= false ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 PyObject
* obj2
= 0 ;
19641 PyObject
* obj3
= 0 ;
19642 PyObject
* obj4
= 0 ;
19643 char * kwnames
[] = {
19644 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19649 if (!SWIG_IsOK(res1
)) {
19650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19654 arg2
= wxString_in_helper(obj1
);
19655 if (arg2
== NULL
) SWIG_fail
;
19660 arg3
= wxString_in_helper(obj2
);
19661 if (arg3
== NULL
) SWIG_fail
;
19666 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19667 if (!SWIG_IsOK(ecode4
)) {
19668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19670 arg4
= static_cast< long >(val4
);
19675 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19679 if (!wxPyCheckForApp()) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19708 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19711 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19712 return SWIG_Py_Void();
19715 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19716 return SWIG_Python_InitShadowInstance(args
);
19719 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
= 0;
19721 wxString
*arg1
= 0 ;
19722 wxString
*arg2
= 0 ;
19723 int arg3
= (int) 100 ;
19724 wxWindow
*arg4
= (wxWindow
*) NULL
;
19725 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19726 wxProgressDialog
*result
= 0 ;
19727 bool temp1
= false ;
19728 bool temp2
= false ;
19735 PyObject
* obj0
= 0 ;
19736 PyObject
* obj1
= 0 ;
19737 PyObject
* obj2
= 0 ;
19738 PyObject
* obj3
= 0 ;
19739 PyObject
* obj4
= 0 ;
19740 char * kwnames
[] = {
19741 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19746 arg1
= wxString_in_helper(obj0
);
19747 if (arg1
== NULL
) SWIG_fail
;
19751 arg2
= wxString_in_helper(obj1
);
19752 if (arg2
== NULL
) SWIG_fail
;
19756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19757 if (!SWIG_IsOK(ecode3
)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19760 arg3
= static_cast< int >(val3
);
19763 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19764 if (!SWIG_IsOK(res4
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19767 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19770 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19771 if (!SWIG_IsOK(ecode5
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19774 arg5
= static_cast< int >(val5
);
19777 if (!wxPyCheckForApp()) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19806 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
= 0;
19808 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19810 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19811 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19812 bool *arg4
= (bool *) 0 ;
19818 bool temp3
= false ;
19820 int res4
= SWIG_TMPOBJ
;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 PyObject
* obj2
= 0 ;
19824 char * kwnames
[] = {
19825 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19834 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19836 if (!SWIG_IsOK(ecode2
)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19839 arg2
= static_cast< int >(val2
);
19842 arg3
= wxString_in_helper(obj2
);
19843 if (arg3
== NULL
) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19856 if (SWIG_IsTmpObj(res4
)) {
19857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19859 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19876 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
= 0;
19878 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19879 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19880 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19881 bool *arg3
= (bool *) 0 ;
19885 bool temp2
= false ;
19887 int res3
= SWIG_TMPOBJ
;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char * kwnames
[] = {
19891 (char *) "self",(char *) "newmsg", NULL
19895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19897 if (!SWIG_IsOK(res1
)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19900 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19903 arg2
= wxString_in_helper(obj1
);
19904 if (arg2
== NULL
) SWIG_fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 if (SWIG_IsTmpObj(res3
)) {
19918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19920 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19937 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19938 PyObject
*resultobj
= 0;
19939 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19942 PyObject
*swig_obj
[1] ;
19944 if (!args
) SWIG_fail
;
19945 swig_obj
[0] = args
;
19946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19947 if (!SWIG_IsOK(res1
)) {
19948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19950 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_Py_Void();
19964 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19967 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19968 return SWIG_Py_Void();
19971 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19972 return SWIG_Python_InitShadowInstance(args
);
19975 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= 0;
19977 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19978 int arg2
= (int) 0 ;
19979 wxFindDialogEvent
*result
= 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char * kwnames
[] = {
19987 (char *) "commandType",(char *) "id", NULL
19990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19993 if (!SWIG_IsOK(ecode1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19996 arg1
= static_cast< wxEventType
>(val1
);
19999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20000 if (!SWIG_IsOK(ecode2
)) {
20001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20003 arg2
= static_cast< int >(val2
);
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
20018 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20019 PyObject
*resultobj
= 0;
20020 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20024 PyObject
*swig_obj
[1] ;
20026 if (!args
) SWIG_fail
;
20027 swig_obj
[0] = args
;
20028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20029 if (!SWIG_IsOK(res1
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20032 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (int)(arg1
)->GetFlags();
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= SWIG_From_int(static_cast< int >(result
));
20046 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20047 PyObject
*resultobj
= 0;
20048 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20049 wxString
*result
= 0 ;
20052 PyObject
*swig_obj
[1] ;
20054 if (!args
) SWIG_fail
;
20055 swig_obj
[0] = args
;
20056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20060 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 wxString
const &_result_ref
= (arg1
)->GetFindString();
20065 result
= (wxString
*) &_result_ref
;
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20083 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20084 PyObject
*resultobj
= 0;
20085 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20086 wxString
*result
= 0 ;
20089 PyObject
*swig_obj
[1] ;
20091 if (!args
) SWIG_fail
;
20092 swig_obj
[0] = args
;
20093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20097 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20102 result
= (wxString
*) &_result_ref
;
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20111 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20120 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20121 PyObject
*resultobj
= 0;
20122 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20123 wxFindReplaceDialog
*result
= 0 ;
20126 PyObject
*swig_obj
[1] ;
20128 if (!args
) SWIG_fail
;
20129 swig_obj
[0] = args
;
20130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20131 if (!SWIG_IsOK(res1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20134 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20148 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
= 0;
20150 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20158 char * kwnames
[] = {
20159 (char *) "self",(char *) "flags", NULL
20162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20164 if (!SWIG_IsOK(res1
)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20167 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20169 if (!SWIG_IsOK(ecode2
)) {
20170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20172 arg2
= static_cast< int >(val2
);
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 (arg1
)->SetFlags(arg2
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_Py_Void();
20186 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
= 0;
20188 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20189 wxString
*arg2
= 0 ;
20192 bool temp2
= false ;
20193 PyObject
* obj0
= 0 ;
20194 PyObject
* obj1
= 0 ;
20195 char * kwnames
[] = {
20196 (char *) "self",(char *) "str", NULL
20199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20201 if (!SWIG_IsOK(res1
)) {
20202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20204 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20206 arg2
= wxString_in_helper(obj1
);
20207 if (arg2
== NULL
) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 (arg1
)->SetFindString((wxString
const &)*arg2
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_Py_Void();
20231 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
= 0;
20233 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20234 wxString
*arg2
= 0 ;
20237 bool temp2
= false ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char * kwnames
[] = {
20241 (char *) "self",(char *) "str", NULL
20244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20246 if (!SWIG_IsOK(res1
)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20249 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20251 arg2
= wxString_in_helper(obj1
);
20252 if (arg2
== NULL
) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_Py_Void();
20276 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20279 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20280 return SWIG_Py_Void();
20283 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20284 return SWIG_Python_InitShadowInstance(args
);
20287 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
= 0;
20289 int arg1
= (int) 0 ;
20290 wxFindReplaceData
*result
= 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char * kwnames
[] = {
20295 (char *) "flags", NULL
20298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20300 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20301 if (!SWIG_IsOK(ecode1
)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20304 arg1
= static_cast< int >(val1
);
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20319 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20320 PyObject
*resultobj
= 0;
20321 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20324 PyObject
*swig_obj
[1] ;
20326 if (!args
) SWIG_fail
;
20327 swig_obj
[0] = args
;
20328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20329 if (!SWIG_IsOK(res1
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20332 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_Py_Void();
20347 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20348 PyObject
*resultobj
= 0;
20349 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20350 wxString
*result
= 0 ;
20353 PyObject
*swig_obj
[1] ;
20355 if (!args
) SWIG_fail
;
20356 swig_obj
[0] = args
;
20357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20358 if (!SWIG_IsOK(res1
)) {
20359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20361 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 wxString
const &_result_ref
= (arg1
)->GetFindString();
20366 result
= (wxString
*) &_result_ref
;
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20375 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20384 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20385 PyObject
*resultobj
= 0;
20386 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20387 wxString
*result
= 0 ;
20390 PyObject
*swig_obj
[1] ;
20392 if (!args
) SWIG_fail
;
20393 swig_obj
[0] = args
;
20394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20395 if (!SWIG_IsOK(res1
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20398 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20403 result
= (wxString
*) &_result_ref
;
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20412 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20421 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20422 PyObject
*resultobj
= 0;
20423 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20427 PyObject
*swig_obj
[1] ;
20429 if (!args
) SWIG_fail
;
20430 swig_obj
[0] = args
;
20431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20432 if (!SWIG_IsOK(res1
)) {
20433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20435 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (int)(arg1
)->GetFlags();
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_From_int(static_cast< int >(result
));
20449 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
= 0;
20451 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 char * kwnames
[] = {
20460 (char *) "self",(char *) "flags", NULL
20463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20465 if (!SWIG_IsOK(res1
)) {
20466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20468 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20470 if (!SWIG_IsOK(ecode2
)) {
20471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20473 arg2
= static_cast< int >(val2
);
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->SetFlags(arg2
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= SWIG_Py_Void();
20487 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
= 0;
20489 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20490 wxString
*arg2
= 0 ;
20493 bool temp2
= false ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char * kwnames
[] = {
20497 (char *) "self",(char *) "str", NULL
20500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20505 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20507 arg2
= wxString_in_helper(obj1
);
20508 if (arg2
== NULL
) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 (arg1
)->SetFindString((wxString
const &)*arg2
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_Py_Void();
20532 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
= 0;
20534 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20535 wxString
*arg2
= 0 ;
20538 bool temp2
= false ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 char * kwnames
[] = {
20542 (char *) "self",(char *) "str", NULL
20545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20550 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20552 arg2
= wxString_in_helper(obj1
);
20553 if (arg2
== NULL
) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_Py_Void();
20577 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20580 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20581 return SWIG_Py_Void();
20584 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20585 return SWIG_Python_InitShadowInstance(args
);
20588 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
= 0;
20590 wxWindow
*arg1
= (wxWindow
*) 0 ;
20591 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20592 wxString
*arg3
= 0 ;
20593 int arg4
= (int) 0 ;
20594 wxFindReplaceDialog
*result
= 0 ;
20599 bool temp3
= false ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 PyObject
* obj2
= 0 ;
20605 PyObject
* obj3
= 0 ;
20606 char * kwnames
[] = {
20607 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20612 if (!SWIG_IsOK(res1
)) {
20613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20615 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20617 if (!SWIG_IsOK(res2
)) {
20618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20620 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20622 arg3
= wxString_in_helper(obj2
);
20623 if (arg3
== NULL
) SWIG_fail
;
20627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20628 if (!SWIG_IsOK(ecode4
)) {
20629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20631 arg4
= static_cast< int >(val4
);
20634 if (!wxPyCheckForApp()) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20655 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20656 PyObject
*resultobj
= 0;
20657 wxFindReplaceDialog
*result
= 0 ;
20659 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20661 if (!wxPyCheckForApp()) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20674 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
= 0;
20676 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20677 wxWindow
*arg2
= (wxWindow
*) 0 ;
20678 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20679 wxString
*arg4
= 0 ;
20680 int arg5
= (int) 0 ;
20688 bool temp4
= false ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 PyObject
* obj2
= 0 ;
20694 PyObject
* obj3
= 0 ;
20695 PyObject
* obj4
= 0 ;
20696 char * kwnames
[] = {
20697 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20702 if (!SWIG_IsOK(res1
)) {
20703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20705 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20707 if (!SWIG_IsOK(res2
)) {
20708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20711 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20712 if (!SWIG_IsOK(res3
)) {
20713 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20715 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20717 arg4
= wxString_in_helper(obj3
);
20718 if (arg4
== NULL
) SWIG_fail
;
20722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20723 if (!SWIG_IsOK(ecode5
)) {
20724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20726 arg5
= static_cast< int >(val5
);
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20751 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20752 PyObject
*resultobj
= 0;
20753 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20754 wxFindReplaceData
*result
= 0 ;
20757 PyObject
*swig_obj
[1] ;
20759 if (!args
) SWIG_fail
;
20760 swig_obj
[0] = args
;
20761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20762 if (!SWIG_IsOK(res1
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20765 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20779 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
= 0;
20781 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20782 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char * kwnames
[] = {
20790 (char *) "self",(char *) "data", NULL
20793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20795 if (!SWIG_IsOK(res1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20798 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20800 if (!SWIG_IsOK(res2
)) {
20801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20803 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetData(arg2
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_Py_Void();
20817 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20820 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20821 return SWIG_Py_Void();
20824 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20825 return SWIG_Python_InitShadowInstance(args
);
20828 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
= 0;
20830 wxWindow
*arg1
= (wxWindow
*) 0 ;
20831 int arg2
= (int) (int)-1 ;
20832 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20833 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20834 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20835 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20836 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20837 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20838 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20839 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20840 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20841 wxMDIParentFrame
*result
= 0 ;
20846 bool temp3
= false ;
20851 bool temp7
= false ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 PyObject
* obj2
= 0 ;
20855 PyObject
* obj3
= 0 ;
20856 PyObject
* obj4
= 0 ;
20857 PyObject
* obj5
= 0 ;
20858 PyObject
* obj6
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20871 if (!SWIG_IsOK(ecode2
)) {
20872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20874 arg2
= static_cast< int >(val2
);
20878 arg3
= wxString_in_helper(obj2
);
20879 if (arg3
== NULL
) SWIG_fail
;
20886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20896 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20897 if (!SWIG_IsOK(ecode6
)) {
20898 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20900 arg6
= static_cast< long >(val6
);
20904 arg7
= wxString_in_helper(obj6
);
20905 if (arg7
== NULL
) SWIG_fail
;
20910 if (!wxPyCheckForApp()) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20939 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20940 PyObject
*resultobj
= 0;
20941 wxMDIParentFrame
*result
= 0 ;
20943 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20945 if (!wxPyCheckForApp()) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20958 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
= 0;
20960 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20961 wxWindow
*arg2
= (wxWindow
*) 0 ;
20962 int arg3
= (int) (int)-1 ;
20963 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20964 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20965 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20966 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20967 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20968 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20969 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20970 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20971 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20979 bool temp4
= false ;
20984 bool temp8
= false ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 PyObject
* obj2
= 0 ;
20988 PyObject
* obj3
= 0 ;
20989 PyObject
* obj4
= 0 ;
20990 PyObject
* obj5
= 0 ;
20991 PyObject
* obj6
= 0 ;
20992 PyObject
* obj7
= 0 ;
20993 char * kwnames
[] = {
20994 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20999 if (!SWIG_IsOK(res1
)) {
21000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21002 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21003 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21004 if (!SWIG_IsOK(res2
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21007 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21010 if (!SWIG_IsOK(ecode3
)) {
21011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21013 arg3
= static_cast< int >(val3
);
21017 arg4
= wxString_in_helper(obj3
);
21018 if (arg4
== NULL
) SWIG_fail
;
21025 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21031 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21035 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21036 if (!SWIG_IsOK(ecode7
)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21039 arg7
= static_cast< long >(val7
);
21043 arg8
= wxString_in_helper(obj7
);
21044 if (arg8
== NULL
) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21079 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21080 PyObject
*resultobj
= 0;
21081 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21084 PyObject
*swig_obj
[1] ;
21086 if (!args
) SWIG_fail
;
21087 swig_obj
[0] = args
;
21088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21089 if (!SWIG_IsOK(res1
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21092 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 (arg1
)->ActivateNext();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_Py_Void();
21106 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21107 PyObject
*resultobj
= 0;
21108 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21111 PyObject
*swig_obj
[1] ;
21113 if (!args
) SWIG_fail
;
21114 swig_obj
[0] = args
;
21115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21116 if (!SWIG_IsOK(res1
)) {
21117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21119 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->ActivatePrevious();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_Py_Void();
21133 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21134 PyObject
*resultobj
= 0;
21135 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21138 PyObject
*swig_obj
[1] ;
21140 if (!args
) SWIG_fail
;
21141 swig_obj
[0] = args
;
21142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21143 if (!SWIG_IsOK(res1
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21146 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 (arg1
)->ArrangeIcons();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_Py_Void();
21160 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21161 PyObject
*resultobj
= 0;
21162 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21165 PyObject
*swig_obj
[1] ;
21167 if (!args
) SWIG_fail
;
21168 swig_obj
[0] = args
;
21169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21170 if (!SWIG_IsOK(res1
)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21173 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_Py_Void();
21187 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21188 PyObject
*resultobj
= 0;
21189 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21190 wxMDIChildFrame
*result
= 0 ;
21193 PyObject
*swig_obj
[1] ;
21195 if (!args
) SWIG_fail
;
21196 swig_obj
[0] = args
;
21197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21198 if (!SWIG_IsOK(res1
)) {
21199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21201 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21217 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21218 PyObject
*resultobj
= 0;
21219 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21220 wxMDIClientWindow
*result
= 0 ;
21223 PyObject
*swig_obj
[1] ;
21225 if (!args
) SWIG_fail
;
21226 swig_obj
[0] = args
;
21227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21228 if (!SWIG_IsOK(res1
)) {
21229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21231 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21247 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
= 0;
21249 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21250 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 char * kwnames
[] = {
21258 (char *) "self",(char *) "orient", NULL
21261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21263 if (!SWIG_IsOK(res1
)) {
21264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21266 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21269 if (!SWIG_IsOK(ecode2
)) {
21270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21272 arg2
= static_cast< wxOrientation
>(val2
);
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 (arg1
)->Tile(arg2
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_Py_Void();
21287 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21290 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21291 return SWIG_Py_Void();
21294 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 return SWIG_Python_InitShadowInstance(args
);
21298 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
= 0;
21300 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21301 int arg2
= (int) (int)-1 ;
21302 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21303 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21308 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21309 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21310 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21311 wxMDIChildFrame
*result
= 0 ;
21316 bool temp3
= false ;
21321 bool temp7
= false ;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 PyObject
* obj2
= 0 ;
21325 PyObject
* obj3
= 0 ;
21326 PyObject
* obj4
= 0 ;
21327 PyObject
* obj5
= 0 ;
21328 PyObject
* obj6
= 0 ;
21329 char * kwnames
[] = {
21330 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21335 if (!SWIG_IsOK(res1
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21338 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21341 if (!SWIG_IsOK(ecode2
)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21344 arg2
= static_cast< int >(val2
);
21348 arg3
= wxString_in_helper(obj2
);
21349 if (arg3
== NULL
) SWIG_fail
;
21356 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21362 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21366 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21367 if (!SWIG_IsOK(ecode6
)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21370 arg6
= static_cast< long >(val6
);
21374 arg7
= wxString_in_helper(obj6
);
21375 if (arg7
== NULL
) SWIG_fail
;
21380 if (!wxPyCheckForApp()) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21409 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21410 PyObject
*resultobj
= 0;
21411 wxMDIChildFrame
*result
= 0 ;
21413 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21415 if (!wxPyCheckForApp()) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21428 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
= 0;
21430 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21431 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21432 int arg3
= (int) (int)-1 ;
21433 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21434 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21435 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21436 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21437 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21438 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21439 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21440 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21441 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21449 bool temp4
= false ;
21454 bool temp8
= false ;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 PyObject
* obj2
= 0 ;
21458 PyObject
* obj3
= 0 ;
21459 PyObject
* obj4
= 0 ;
21460 PyObject
* obj5
= 0 ;
21461 PyObject
* obj6
= 0 ;
21462 PyObject
* obj7
= 0 ;
21463 char * kwnames
[] = {
21464 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21469 if (!SWIG_IsOK(res1
)) {
21470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21472 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21474 if (!SWIG_IsOK(res2
)) {
21475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21477 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21480 if (!SWIG_IsOK(ecode3
)) {
21481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21483 arg3
= static_cast< int >(val3
);
21487 arg4
= wxString_in_helper(obj3
);
21488 if (arg4
== NULL
) SWIG_fail
;
21495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21505 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21506 if (!SWIG_IsOK(ecode7
)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21509 arg7
= static_cast< long >(val7
);
21513 arg8
= wxString_in_helper(obj7
);
21514 if (arg8
== NULL
) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21549 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21550 PyObject
*resultobj
= 0;
21551 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21554 PyObject
*swig_obj
[1] ;
21556 if (!args
) SWIG_fail
;
21557 swig_obj
[0] = args
;
21558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21562 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 (arg1
)->Activate();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_Py_Void();
21576 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21579 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21580 return SWIG_Py_Void();
21583 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21584 return SWIG_Python_InitShadowInstance(args
);
21587 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
= 0;
21589 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21590 long arg2
= (long) 0 ;
21591 wxMDIClientWindow
*result
= 0 ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 char * kwnames
[] = {
21599 (char *) "parent",(char *) "style", NULL
21602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21604 if (!SWIG_IsOK(res1
)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21607 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21609 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21610 if (!SWIG_IsOK(ecode2
)) {
21611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21613 arg2
= static_cast< long >(val2
);
21616 if (!wxPyCheckForApp()) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21629 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 PyObject
*resultobj
= 0;
21631 wxMDIClientWindow
*result
= 0 ;
21633 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21635 if (!wxPyCheckForApp()) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21648 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
= 0;
21650 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21651 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21652 long arg3
= (long) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 PyObject
* obj2
= 0 ;
21663 char * kwnames
[] = {
21664 (char *) "self",(char *) "parent",(char *) "style", NULL
21667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21669 if (!SWIG_IsOK(res1
)) {
21670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21672 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21674 if (!SWIG_IsOK(res2
)) {
21675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21677 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21679 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21680 if (!SWIG_IsOK(ecode3
)) {
21681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21683 arg3
= static_cast< long >(val3
);
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21700 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21703 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21704 return SWIG_Py_Void();
21707 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21708 return SWIG_Python_InitShadowInstance(args
);
21711 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
= 0;
21713 wxWindow
*arg1
= (wxWindow
*) 0 ;
21714 int arg2
= (int) (int)-1 ;
21715 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21716 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21717 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21718 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21719 long arg5
= (long) 0 ;
21720 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21721 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21722 wxPyWindow
*result
= 0 ;
21731 bool temp6
= false ;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 PyObject
* obj2
= 0 ;
21735 PyObject
* obj3
= 0 ;
21736 PyObject
* obj4
= 0 ;
21737 PyObject
* obj5
= 0 ;
21738 char * kwnames
[] = {
21739 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21744 if (!SWIG_IsOK(res1
)) {
21745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21750 if (!SWIG_IsOK(ecode2
)) {
21751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21753 arg2
= static_cast< int >(val2
);
21758 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21764 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21768 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21769 if (!SWIG_IsOK(ecode5
)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21772 arg5
= static_cast< long >(val5
);
21776 arg6
= wxString_in_helper(obj5
);
21777 if (arg6
== NULL
) SWIG_fail
;
21782 if (!wxPyCheckForApp()) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21803 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21804 PyObject
*resultobj
= 0;
21805 wxPyWindow
*result
= 0 ;
21807 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21809 if (!wxPyCheckForApp()) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (wxPyWindow
*)new wxPyWindow();
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21822 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
= 0;
21824 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21825 PyObject
*arg2
= (PyObject
*) 0 ;
21826 PyObject
*arg3
= (PyObject
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 PyObject
* obj1
= 0 ;
21831 PyObject
* obj2
= 0 ;
21832 char * kwnames
[] = {
21833 (char *) "self",(char *) "self",(char *) "_class", NULL
21836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21841 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= SWIG_Py_Void();
21857 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
= 0;
21859 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21860 wxDC
*arg2
= (wxDC
*) 0 ;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 char * kwnames
[] = {
21869 (char *) "self",(char *) "dc", NULL
21872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21874 if (!SWIG_IsOK(res1
)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21877 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21879 if (!SWIG_IsOK(res2
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21882 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
= 0;
21900 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 PyObject
* obj2
= 0 ;
21918 PyObject
* obj3
= 0 ;
21919 PyObject
* obj4
= 0 ;
21920 char * kwnames
[] = {
21921 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21929 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21931 if (!SWIG_IsOK(ecode2
)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21934 arg2
= static_cast< int >(val2
);
21935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21936 if (!SWIG_IsOK(ecode3
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21939 arg3
= static_cast< int >(val3
);
21940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21941 if (!SWIG_IsOK(ecode4
)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21944 arg4
= static_cast< int >(val4
);
21945 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21946 if (!SWIG_IsOK(ecode5
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21949 arg5
= static_cast< int >(val5
);
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_Py_Void();
21963 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
= 0;
21965 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21970 int arg6
= (int) wxSIZE_AUTO
;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 PyObject
* obj3
= 0 ;
21987 PyObject
* obj4
= 0 ;
21988 PyObject
* obj5
= 0 ;
21989 char * kwnames
[] = {
21990 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21998 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22000 if (!SWIG_IsOK(ecode2
)) {
22001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22003 arg2
= static_cast< int >(val2
);
22004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22005 if (!SWIG_IsOK(ecode3
)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22008 arg3
= static_cast< int >(val3
);
22009 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22010 if (!SWIG_IsOK(ecode4
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22013 arg4
= static_cast< int >(val4
);
22014 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22015 if (!SWIG_IsOK(ecode5
)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22018 arg5
= static_cast< int >(val5
);
22020 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22021 if (!SWIG_IsOK(ecode6
)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22024 arg6
= static_cast< int >(val6
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_Py_Void();
22039 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
= 0;
22041 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 PyObject
* obj2
= 0 ;
22053 char * kwnames
[] = {
22054 (char *) "self",(char *) "width",(char *) "height", NULL
22057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22059 if (!SWIG_IsOK(res1
)) {
22060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22062 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22064 if (!SWIG_IsOK(ecode2
)) {
22065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22067 arg2
= static_cast< int >(val2
);
22068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22069 if (!SWIG_IsOK(ecode3
)) {
22070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22072 arg3
= static_cast< int >(val3
);
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 (arg1
)->DoSetClientSize(arg2
,arg3
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_Py_Void();
22086 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
= 0;
22088 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 PyObject
* obj2
= 0 ;
22100 char * kwnames
[] = {
22101 (char *) "self",(char *) "x",(char *) "y", NULL
22104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22106 if (!SWIG_IsOK(res1
)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22109 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22111 if (!SWIG_IsOK(ecode2
)) {
22112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22114 arg2
= static_cast< int >(val2
);
22115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22116 if (!SWIG_IsOK(ecode3
)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22119 arg3
= static_cast< int >(val3
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= SWIG_Py_Void();
22133 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 PyObject
*resultobj
= 0;
22135 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22136 int *arg2
= (int *) 0 ;
22137 int *arg3
= (int *) 0 ;
22141 int res2
= SWIG_TMPOBJ
;
22143 int res3
= SWIG_TMPOBJ
;
22144 PyObject
*swig_obj
[1] ;
22148 if (!args
) SWIG_fail
;
22149 swig_obj
[0] = args
;
22150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22154 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= SWIG_Py_Void();
22162 if (SWIG_IsTmpObj(res2
)) {
22163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22165 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22168 if (SWIG_IsTmpObj(res3
)) {
22169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22171 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22180 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22181 PyObject
*resultobj
= 0;
22182 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22183 int *arg2
= (int *) 0 ;
22184 int *arg3
= (int *) 0 ;
22188 int res2
= SWIG_TMPOBJ
;
22190 int res3
= SWIG_TMPOBJ
;
22191 PyObject
*swig_obj
[1] ;
22195 if (!args
) SWIG_fail
;
22196 swig_obj
[0] = args
;
22197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22198 if (!SWIG_IsOK(res1
)) {
22199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22201 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_Py_Void();
22209 if (SWIG_IsTmpObj(res2
)) {
22210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22212 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22215 if (SWIG_IsTmpObj(res3
)) {
22216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22218 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22227 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22228 PyObject
*resultobj
= 0;
22229 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22230 int *arg2
= (int *) 0 ;
22231 int *arg3
= (int *) 0 ;
22235 int res2
= SWIG_TMPOBJ
;
22237 int res3
= SWIG_TMPOBJ
;
22238 PyObject
*swig_obj
[1] ;
22242 if (!args
) SWIG_fail
;
22243 swig_obj
[0] = args
;
22244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22245 if (!SWIG_IsOK(res1
)) {
22246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22248 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_Py_Void();
22256 if (SWIG_IsTmpObj(res2
)) {
22257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22259 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22262 if (SWIG_IsTmpObj(res3
)) {
22263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22265 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22274 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22275 PyObject
*resultobj
= 0;
22276 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22280 PyObject
*swig_obj
[1] ;
22282 if (!args
) SWIG_fail
;
22283 swig_obj
[0] = args
;
22284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22288 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22302 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22303 PyObject
*resultobj
= 0;
22304 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22308 PyObject
*swig_obj
[1] ;
22310 if (!args
) SWIG_fail
;
22311 swig_obj
[0] = args
;
22312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22313 if (!SWIG_IsOK(res1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22316 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22330 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22331 PyObject
*resultobj
= 0;
22332 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22333 SwigValueWrapper
<wxVisualAttributes
> result
;
22336 PyObject
*swig_obj
[1] ;
22338 if (!args
) SWIG_fail
;
22339 swig_obj
[0] = args
;
22340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22341 if (!SWIG_IsOK(res1
)) {
22342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22344 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (arg1
)->GetDefaultAttributes();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22358 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22359 PyObject
*resultobj
= 0;
22360 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22363 PyObject
*swig_obj
[1] ;
22365 if (!args
) SWIG_fail
;
22366 swig_obj
[0] = args
;
22367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22368 if (!SWIG_IsOK(res1
)) {
22369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22371 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 (arg1
)->OnInternalIdle();
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 resultobj
= SWIG_Py_Void();
22385 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22388 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22389 return SWIG_Py_Void();
22392 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 return SWIG_Python_InitShadowInstance(args
);
22396 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
= 0;
22398 wxWindow
*arg1
= (wxWindow
*) 0 ;
22399 int arg2
= (int) (int)-1 ;
22400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22404 long arg5
= (long) 0 ;
22405 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22406 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22407 wxPyPanel
*result
= 0 ;
22416 bool temp6
= false ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 PyObject
* obj3
= 0 ;
22421 PyObject
* obj4
= 0 ;
22422 PyObject
* obj5
= 0 ;
22423 char * kwnames
[] = {
22424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22429 if (!SWIG_IsOK(res1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22435 if (!SWIG_IsOK(ecode2
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22438 arg2
= static_cast< int >(val2
);
22443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22449 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22453 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22454 if (!SWIG_IsOK(ecode5
)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22457 arg5
= static_cast< long >(val5
);
22461 arg6
= wxString_in_helper(obj5
);
22462 if (arg6
== NULL
) SWIG_fail
;
22467 if (!wxPyCheckForApp()) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22488 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22489 PyObject
*resultobj
= 0;
22490 wxPyPanel
*result
= 0 ;
22492 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22494 if (!wxPyCheckForApp()) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (wxPyPanel
*)new wxPyPanel();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22507 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
= 0;
22509 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22510 PyObject
*arg2
= (PyObject
*) 0 ;
22511 PyObject
*arg3
= (PyObject
*) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 char * kwnames
[] = {
22518 (char *) "self",(char *) "self",(char *) "_class", NULL
22521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22523 if (!SWIG_IsOK(res1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22526 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_Py_Void();
22542 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
= 0;
22544 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22545 wxDC
*arg2
= (wxDC
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char * kwnames
[] = {
22554 (char *) "self",(char *) "dc", NULL
22557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22559 if (!SWIG_IsOK(res1
)) {
22560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22562 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22564 if (!SWIG_IsOK(res2
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22567 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22583 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
= 0;
22585 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 PyObject
* obj2
= 0 ;
22603 PyObject
* obj3
= 0 ;
22604 PyObject
* obj4
= 0 ;
22605 char * kwnames
[] = {
22606 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22611 if (!SWIG_IsOK(res1
)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22614 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22616 if (!SWIG_IsOK(ecode2
)) {
22617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22619 arg2
= static_cast< int >(val2
);
22620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22621 if (!SWIG_IsOK(ecode3
)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22624 arg3
= static_cast< int >(val3
);
22625 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22626 if (!SWIG_IsOK(ecode4
)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22629 arg4
= static_cast< int >(val4
);
22630 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22631 if (!SWIG_IsOK(ecode5
)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22634 arg5
= static_cast< int >(val5
);
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 resultobj
= SWIG_Py_Void();
22648 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
= 0;
22650 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22655 int arg6
= (int) wxSIZE_AUTO
;
22668 PyObject
* obj0
= 0 ;
22669 PyObject
* obj1
= 0 ;
22670 PyObject
* obj2
= 0 ;
22671 PyObject
* obj3
= 0 ;
22672 PyObject
* obj4
= 0 ;
22673 PyObject
* obj5
= 0 ;
22674 char * kwnames
[] = {
22675 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22680 if (!SWIG_IsOK(res1
)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22683 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22685 if (!SWIG_IsOK(ecode2
)) {
22686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22688 arg2
= static_cast< int >(val2
);
22689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22690 if (!SWIG_IsOK(ecode3
)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22693 arg3
= static_cast< int >(val3
);
22694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22695 if (!SWIG_IsOK(ecode4
)) {
22696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22698 arg4
= static_cast< int >(val4
);
22699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22700 if (!SWIG_IsOK(ecode5
)) {
22701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22703 arg5
= static_cast< int >(val5
);
22705 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22706 if (!SWIG_IsOK(ecode6
)) {
22707 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22709 arg6
= static_cast< int >(val6
);
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= SWIG_Py_Void();
22724 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
= 0;
22726 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 PyObject
* obj1
= 0 ;
22737 PyObject
* obj2
= 0 ;
22738 char * kwnames
[] = {
22739 (char *) "self",(char *) "width",(char *) "height", NULL
22742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22744 if (!SWIG_IsOK(res1
)) {
22745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22747 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22749 if (!SWIG_IsOK(ecode2
)) {
22750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22752 arg2
= static_cast< int >(val2
);
22753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22754 if (!SWIG_IsOK(ecode3
)) {
22755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22757 arg3
= static_cast< int >(val3
);
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 (arg1
)->DoSetClientSize(arg2
,arg3
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_Py_Void();
22771 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
= 0;
22773 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 PyObject
* obj2
= 0 ;
22785 char * kwnames
[] = {
22786 (char *) "self",(char *) "x",(char *) "y", NULL
22789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22791 if (!SWIG_IsOK(res1
)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22794 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22796 if (!SWIG_IsOK(ecode2
)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22799 arg2
= static_cast< int >(val2
);
22800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22801 if (!SWIG_IsOK(ecode3
)) {
22802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22804 arg3
= static_cast< int >(val3
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_Py_Void();
22818 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 PyObject
*resultobj
= 0;
22820 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22821 int *arg2
= (int *) 0 ;
22822 int *arg3
= (int *) 0 ;
22826 int res2
= SWIG_TMPOBJ
;
22828 int res3
= SWIG_TMPOBJ
;
22829 PyObject
*swig_obj
[1] ;
22833 if (!args
) SWIG_fail
;
22834 swig_obj
[0] = args
;
22835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22839 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_Py_Void();
22847 if (SWIG_IsTmpObj(res2
)) {
22848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22850 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22853 if (SWIG_IsTmpObj(res3
)) {
22854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22856 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22865 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22866 PyObject
*resultobj
= 0;
22867 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22868 int *arg2
= (int *) 0 ;
22869 int *arg3
= (int *) 0 ;
22873 int res2
= SWIG_TMPOBJ
;
22875 int res3
= SWIG_TMPOBJ
;
22876 PyObject
*swig_obj
[1] ;
22880 if (!args
) SWIG_fail
;
22881 swig_obj
[0] = args
;
22882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22883 if (!SWIG_IsOK(res1
)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22886 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_Py_Void();
22894 if (SWIG_IsTmpObj(res2
)) {
22895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22897 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22900 if (SWIG_IsTmpObj(res3
)) {
22901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22903 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22912 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22913 PyObject
*resultobj
= 0;
22914 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22915 int *arg2
= (int *) 0 ;
22916 int *arg3
= (int *) 0 ;
22920 int res2
= SWIG_TMPOBJ
;
22922 int res3
= SWIG_TMPOBJ
;
22923 PyObject
*swig_obj
[1] ;
22927 if (!args
) SWIG_fail
;
22928 swig_obj
[0] = args
;
22929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22930 if (!SWIG_IsOK(res1
)) {
22931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22933 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 resultobj
= SWIG_Py_Void();
22941 if (SWIG_IsTmpObj(res2
)) {
22942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22944 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22947 if (SWIG_IsTmpObj(res3
)) {
22948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22959 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22960 PyObject
*resultobj
= 0;
22961 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22965 PyObject
*swig_obj
[1] ;
22967 if (!args
) SWIG_fail
;
22968 swig_obj
[0] = args
;
22969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22973 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22987 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22988 PyObject
*resultobj
= 0;
22989 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22993 PyObject
*swig_obj
[1] ;
22995 if (!args
) SWIG_fail
;
22996 swig_obj
[0] = args
;
22997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22998 if (!SWIG_IsOK(res1
)) {
22999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23001 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23015 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23016 PyObject
*resultobj
= 0;
23017 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23018 SwigValueWrapper
<wxVisualAttributes
> result
;
23021 PyObject
*swig_obj
[1] ;
23023 if (!args
) SWIG_fail
;
23024 swig_obj
[0] = args
;
23025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23026 if (!SWIG_IsOK(res1
)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23029 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (arg1
)->GetDefaultAttributes();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23043 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23044 PyObject
*resultobj
= 0;
23045 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23048 PyObject
*swig_obj
[1] ;
23050 if (!args
) SWIG_fail
;
23051 swig_obj
[0] = args
;
23052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23053 if (!SWIG_IsOK(res1
)) {
23054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23056 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->OnInternalIdle();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_Py_Void();
23070 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23073 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23074 return SWIG_Py_Void();
23077 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23078 return SWIG_Python_InitShadowInstance(args
);
23081 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
= 0;
23083 wxWindow
*arg1
= (wxWindow
*) 0 ;
23084 int arg2
= (int) (int)-1 ;
23085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23089 long arg5
= (long) 0 ;
23090 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23091 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23092 wxPyScrolledWindow
*result
= 0 ;
23101 bool temp6
= false ;
23102 PyObject
* obj0
= 0 ;
23103 PyObject
* obj1
= 0 ;
23104 PyObject
* obj2
= 0 ;
23105 PyObject
* obj3
= 0 ;
23106 PyObject
* obj4
= 0 ;
23107 PyObject
* obj5
= 0 ;
23108 char * kwnames
[] = {
23109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23120 if (!SWIG_IsOK(ecode2
)) {
23121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23123 arg2
= static_cast< int >(val2
);
23128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23138 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23139 if (!SWIG_IsOK(ecode5
)) {
23140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23142 arg5
= static_cast< long >(val5
);
23146 arg6
= wxString_in_helper(obj5
);
23147 if (arg6
== NULL
) SWIG_fail
;
23152 if (!wxPyCheckForApp()) SWIG_fail
;
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23173 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 PyObject
*resultobj
= 0;
23175 wxPyScrolledWindow
*result
= 0 ;
23177 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23179 if (!wxPyCheckForApp()) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23192 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= 0;
23194 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23195 PyObject
*arg2
= (PyObject
*) 0 ;
23196 PyObject
*arg3
= (PyObject
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 PyObject
* obj2
= 0 ;
23202 char * kwnames
[] = {
23203 (char *) "self",(char *) "self",(char *) "_class", NULL
23206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23211 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_Py_Void();
23227 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
= 0;
23229 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23230 wxDC
*arg2
= (wxDC
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 char * kwnames
[] = {
23239 (char *) "self",(char *) "dc", NULL
23242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23244 if (!SWIG_IsOK(res1
)) {
23245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23247 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23249 if (!SWIG_IsOK(res2
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23252 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23268 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
= 0;
23270 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 PyObject
* obj2
= 0 ;
23288 PyObject
* obj3
= 0 ;
23289 PyObject
* obj4
= 0 ;
23290 char * kwnames
[] = {
23291 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23299 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23301 if (!SWIG_IsOK(ecode2
)) {
23302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23304 arg2
= static_cast< int >(val2
);
23305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23306 if (!SWIG_IsOK(ecode3
)) {
23307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23309 arg3
= static_cast< int >(val3
);
23310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23311 if (!SWIG_IsOK(ecode4
)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23314 arg4
= static_cast< int >(val4
);
23315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23316 if (!SWIG_IsOK(ecode5
)) {
23317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23319 arg5
= static_cast< int >(val5
);
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_Py_Void();
23333 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
= 0;
23335 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23340 int arg6
= (int) wxSIZE_AUTO
;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 PyObject
* obj2
= 0 ;
23356 PyObject
* obj3
= 0 ;
23357 PyObject
* obj4
= 0 ;
23358 PyObject
* obj5
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23368 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23370 if (!SWIG_IsOK(ecode2
)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23373 arg2
= static_cast< int >(val2
);
23374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23375 if (!SWIG_IsOK(ecode3
)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23378 arg3
= static_cast< int >(val3
);
23379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23380 if (!SWIG_IsOK(ecode4
)) {
23381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23383 arg4
= static_cast< int >(val4
);
23384 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23385 if (!SWIG_IsOK(ecode5
)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23388 arg5
= static_cast< int >(val5
);
23390 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23391 if (!SWIG_IsOK(ecode6
)) {
23392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23394 arg6
= static_cast< int >(val6
);
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= SWIG_Py_Void();
23409 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
= 0;
23411 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 PyObject
* obj2
= 0 ;
23423 char * kwnames
[] = {
23424 (char *) "self",(char *) "width",(char *) "height", NULL
23427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23429 if (!SWIG_IsOK(res1
)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23432 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23434 if (!SWIG_IsOK(ecode2
)) {
23435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23437 arg2
= static_cast< int >(val2
);
23438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23439 if (!SWIG_IsOK(ecode3
)) {
23440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23442 arg3
= static_cast< int >(val3
);
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 (arg1
)->DoSetClientSize(arg2
,arg3
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_Py_Void();
23456 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
= 0;
23458 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 PyObject
* obj2
= 0 ;
23470 char * kwnames
[] = {
23471 (char *) "self",(char *) "x",(char *) "y", NULL
23474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23479 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23481 if (!SWIG_IsOK(ecode2
)) {
23482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23484 arg2
= static_cast< int >(val2
);
23485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23486 if (!SWIG_IsOK(ecode3
)) {
23487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23489 arg3
= static_cast< int >(val3
);
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= SWIG_Py_Void();
23503 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23504 PyObject
*resultobj
= 0;
23505 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23506 int *arg2
= (int *) 0 ;
23507 int *arg3
= (int *) 0 ;
23511 int res2
= SWIG_TMPOBJ
;
23513 int res3
= SWIG_TMPOBJ
;
23514 PyObject
*swig_obj
[1] ;
23518 if (!args
) SWIG_fail
;
23519 swig_obj
[0] = args
;
23520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23521 if (!SWIG_IsOK(res1
)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23524 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_Py_Void();
23532 if (SWIG_IsTmpObj(res2
)) {
23533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23535 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23538 if (SWIG_IsTmpObj(res3
)) {
23539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23541 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23550 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23551 PyObject
*resultobj
= 0;
23552 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23553 int *arg2
= (int *) 0 ;
23554 int *arg3
= (int *) 0 ;
23558 int res2
= SWIG_TMPOBJ
;
23560 int res3
= SWIG_TMPOBJ
;
23561 PyObject
*swig_obj
[1] ;
23565 if (!args
) SWIG_fail
;
23566 swig_obj
[0] = args
;
23567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23568 if (!SWIG_IsOK(res1
)) {
23569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23571 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= SWIG_Py_Void();
23579 if (SWIG_IsTmpObj(res2
)) {
23580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23582 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23583 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23585 if (SWIG_IsTmpObj(res3
)) {
23586 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23588 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23589 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23597 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23598 PyObject
*resultobj
= 0;
23599 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23600 int *arg2
= (int *) 0 ;
23601 int *arg3
= (int *) 0 ;
23605 int res2
= SWIG_TMPOBJ
;
23607 int res3
= SWIG_TMPOBJ
;
23608 PyObject
*swig_obj
[1] ;
23612 if (!args
) SWIG_fail
;
23613 swig_obj
[0] = args
;
23614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23615 if (!SWIG_IsOK(res1
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23618 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_Py_Void();
23626 if (SWIG_IsTmpObj(res2
)) {
23627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23629 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23632 if (SWIG_IsTmpObj(res3
)) {
23633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23635 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23644 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 PyObject
*resultobj
= 0;
23646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23650 PyObject
*swig_obj
[1] ;
23652 if (!args
) SWIG_fail
;
23653 swig_obj
[0] = args
;
23654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23658 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23672 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23673 PyObject
*resultobj
= 0;
23674 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23678 PyObject
*swig_obj
[1] ;
23680 if (!args
) SWIG_fail
;
23681 swig_obj
[0] = args
;
23682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23686 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23700 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23701 PyObject
*resultobj
= 0;
23702 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23703 SwigValueWrapper
<wxVisualAttributes
> result
;
23706 PyObject
*swig_obj
[1] ;
23708 if (!args
) SWIG_fail
;
23709 swig_obj
[0] = args
;
23710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23711 if (!SWIG_IsOK(res1
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23714 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= (arg1
)->GetDefaultAttributes();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23728 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23729 PyObject
*resultobj
= 0;
23730 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23733 PyObject
*swig_obj
[1] ;
23735 if (!args
) SWIG_fail
;
23736 swig_obj
[0] = args
;
23737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23738 if (!SWIG_IsOK(res1
)) {
23739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23741 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 (arg1
)->OnInternalIdle();
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= SWIG_Py_Void();
23755 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23759 return SWIG_Py_Void();
23762 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23763 return SWIG_Python_InitShadowInstance(args
);
23766 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23767 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23772 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23773 PyObject
*pyobj
= 0;
23777 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23779 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23786 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23787 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23792 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23793 PyObject
*pyobj
= 0;
23797 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23799 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23806 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23807 PyObject
*resultobj
= 0;
23808 wxPrintData
*result
= 0 ;
23810 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (wxPrintData
*)new wxPrintData();
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23824 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23825 PyObject
*resultobj
= 0;
23826 wxPrintData
*arg1
= 0 ;
23827 wxPrintData
*result
= 0 ;
23831 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
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 '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23839 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23853 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23857 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23860 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23863 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23867 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23872 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23873 PyObject
*resultobj
= 0;
23874 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23877 PyObject
*swig_obj
[1] ;
23879 if (!args
) SWIG_fail
;
23880 swig_obj
[0] = args
;
23881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23882 if (!SWIG_IsOK(res1
)) {
23883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23885 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_Py_Void();
23900 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23901 PyObject
*resultobj
= 0;
23902 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23906 PyObject
*swig_obj
[1] ;
23908 if (!args
) SWIG_fail
;
23909 swig_obj
[0] = args
;
23910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23911 if (!SWIG_IsOK(res1
)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23914 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (int)(arg1
)->GetNoCopies();
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= SWIG_From_int(static_cast< int >(result
));
23928 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23929 PyObject
*resultobj
= 0;
23930 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23934 PyObject
*swig_obj
[1] ;
23936 if (!args
) SWIG_fail
;
23937 swig_obj
[0] = args
;
23938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23939 if (!SWIG_IsOK(res1
)) {
23940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23942 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= (bool)(arg1
)->GetCollate();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23958 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23959 PyObject
*resultobj
= 0;
23960 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23964 PyObject
*swig_obj
[1] ;
23966 if (!args
) SWIG_fail
;
23967 swig_obj
[0] = args
;
23968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23972 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (int)(arg1
)->GetOrientation();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= SWIG_From_int(static_cast< int >(result
));
23986 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23987 PyObject
*resultobj
= 0;
23988 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23992 PyObject
*swig_obj
[1] ;
23994 if (!args
) SWIG_fail
;
23995 swig_obj
[0] = args
;
23996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24000 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24016 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24017 PyObject
*resultobj
= 0;
24018 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24022 PyObject
*swig_obj
[1] ;
24024 if (!args
) SWIG_fail
;
24025 swig_obj
[0] = args
;
24026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24027 if (!SWIG_IsOK(res1
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24030 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (bool)(arg1
)->IsOk();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24046 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24047 PyObject
*resultobj
= 0;
24048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24049 wxString
*result
= 0 ;
24052 PyObject
*swig_obj
[1] ;
24054 if (!args
) SWIG_fail
;
24055 swig_obj
[0] = args
;
24056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24060 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24065 result
= (wxString
*) &_result_ref
;
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24083 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24084 PyObject
*resultobj
= 0;
24085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24089 PyObject
*swig_obj
[1] ;
24091 if (!args
) SWIG_fail
;
24092 swig_obj
[0] = args
;
24093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24094 if (!SWIG_IsOK(res1
)) {
24095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24097 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 result
= (bool)(arg1
)->GetColour();
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24113 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24114 PyObject
*resultobj
= 0;
24115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24116 wxDuplexMode result
;
24119 PyObject
*swig_obj
[1] ;
24121 if (!args
) SWIG_fail
;
24122 swig_obj
[0] = args
;
24123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24124 if (!SWIG_IsOK(res1
)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24127 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= SWIG_From_int(static_cast< int >(result
));
24141 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24142 PyObject
*resultobj
= 0;
24143 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24144 wxPaperSize result
;
24147 PyObject
*swig_obj
[1] ;
24149 if (!args
) SWIG_fail
;
24150 swig_obj
[0] = args
;
24151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24152 if (!SWIG_IsOK(res1
)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24155 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_From_int(static_cast< int >(result
));
24169 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24170 PyObject
*resultobj
= 0;
24171 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24172 wxSize
*result
= 0 ;
24175 PyObject
*swig_obj
[1] ;
24177 if (!args
) SWIG_fail
;
24178 swig_obj
[0] = args
;
24179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24180 if (!SWIG_IsOK(res1
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24183 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24188 result
= (wxSize
*) &_result_ref
;
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24200 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24201 PyObject
*resultobj
= 0;
24202 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24206 PyObject
*swig_obj
[1] ;
24208 if (!args
) SWIG_fail
;
24209 swig_obj
[0] = args
;
24210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24214 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= (int)(arg1
)->GetQuality();
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= SWIG_From_int(static_cast< int >(result
));
24228 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24229 PyObject
*resultobj
= 0;
24230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24234 PyObject
*swig_obj
[1] ;
24236 if (!args
) SWIG_fail
;
24237 swig_obj
[0] = args
;
24238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24239 if (!SWIG_IsOK(res1
)) {
24240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24242 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (wxPrintBin
)(arg1
)->GetBin();
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= SWIG_From_int(static_cast< int >(result
));
24256 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24257 PyObject
*resultobj
= 0;
24258 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24259 wxPrintMode result
;
24262 PyObject
*swig_obj
[1] ;
24264 if (!args
) SWIG_fail
;
24265 swig_obj
[0] = args
;
24266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24267 if (!SWIG_IsOK(res1
)) {
24268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24270 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_From_int(static_cast< int >(result
));
24284 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24285 PyObject
*resultobj
= 0;
24286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24290 PyObject
*swig_obj
[1] ;
24292 if (!args
) SWIG_fail
;
24293 swig_obj
[0] = args
;
24294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24295 if (!SWIG_IsOK(res1
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24298 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= SWIG_From_int(static_cast< int >(result
));
24312 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
= 0;
24314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 char * kwnames
[] = {
24323 (char *) "self",(char *) "v", NULL
24326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24331 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24333 if (!SWIG_IsOK(ecode2
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24336 arg2
= static_cast< int >(val2
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->SetNoCopies(arg2
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_Py_Void();
24350 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 char * kwnames
[] = {
24361 (char *) "self",(char *) "flag", NULL
24364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24366 if (!SWIG_IsOK(res1
)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24369 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24371 if (!SWIG_IsOK(ecode2
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24374 arg2
= static_cast< bool >(val2
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 (arg1
)->SetCollate(arg2
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char * kwnames
[] = {
24399 (char *) "self",(char *) "orient", NULL
24402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24407 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24409 if (!SWIG_IsOK(ecode2
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24412 arg2
= static_cast< int >(val2
);
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 (arg1
)->SetOrientation(arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_Py_Void();
24426 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
= 0;
24428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char * kwnames
[] = {
24437 (char *) "self",(char *) "reversed", NULL
24440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24445 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24447 if (!SWIG_IsOK(ecode2
)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24450 arg2
= static_cast< bool >(val2
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 (arg1
)->SetOrientationReversed(arg2
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_Py_Void();
24464 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
= 0;
24466 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24467 wxString
*arg2
= 0 ;
24470 bool temp2
= false ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char * kwnames
[] = {
24474 (char *) "self",(char *) "name", NULL
24477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24479 if (!SWIG_IsOK(res1
)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24482 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24484 arg2
= wxString_in_helper(obj1
);
24485 if (arg2
== NULL
) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_Py_Void();
24509 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24511 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 char * kwnames
[] = {
24520 (char *) "self",(char *) "colour", NULL
24523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24528 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24530 if (!SWIG_IsOK(ecode2
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24533 arg2
= static_cast< bool >(val2
);
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->SetColour(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_Py_Void();
24547 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
= 0;
24549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24550 wxDuplexMode arg2
;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char * kwnames
[] = {
24558 (char *) "self",(char *) "duplex", NULL
24561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24566 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24568 if (!SWIG_IsOK(ecode2
)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24571 arg2
= static_cast< wxDuplexMode
>(val2
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 (arg1
)->SetDuplex(arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= SWIG_Py_Void();
24585 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= 0;
24587 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char * kwnames
[] = {
24596 (char *) "self",(char *) "sizeId", NULL
24599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24604 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24606 if (!SWIG_IsOK(ecode2
)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24609 arg2
= static_cast< wxPaperSize
>(val2
);
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 (arg1
)->SetPaperId(arg2
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= SWIG_Py_Void();
24623 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
= 0;
24625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "self",(char *) "sz", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24641 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24644 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_Py_Void();
24659 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
= 0;
24661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 char * kwnames
[] = {
24670 (char *) "self",(char *) "quality", NULL
24673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24675 if (!SWIG_IsOK(res1
)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24678 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24680 if (!SWIG_IsOK(ecode2
)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24683 arg2
= static_cast< int >(val2
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 (arg1
)->SetQuality(arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_Py_Void();
24697 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
= 0;
24699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24705 PyObject
* obj0
= 0 ;
24706 PyObject
* obj1
= 0 ;
24707 char * kwnames
[] = {
24708 (char *) "self",(char *) "bin", NULL
24711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24713 if (!SWIG_IsOK(res1
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24716 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24718 if (!SWIG_IsOK(ecode2
)) {
24719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24721 arg2
= static_cast< wxPrintBin
>(val2
);
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 (arg1
)->SetBin(arg2
);
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= SWIG_Py_Void();
24735 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
= 0;
24737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 char * kwnames
[] = {
24746 (char *) "self",(char *) "printMode", NULL
24749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24751 if (!SWIG_IsOK(res1
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24754 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24756 if (!SWIG_IsOK(ecode2
)) {
24757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24759 arg2
= static_cast< wxPrintMode
>(val2
);
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 (arg1
)->SetPrintMode(arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_Py_Void();
24773 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24775 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char * kwnames
[] = {
24784 (char *) "self",(char *) "media", NULL
24787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24789 if (!SWIG_IsOK(res1
)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24792 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24794 if (!SWIG_IsOK(ecode2
)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24797 arg2
= static_cast< int >(val2
);
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->SetMedia(arg2
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= SWIG_Py_Void();
24811 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24812 PyObject
*resultobj
= 0;
24813 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24817 PyObject
*swig_obj
[1] ;
24819 if (!args
) SWIG_fail
;
24820 swig_obj
[0] = args
;
24821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24822 if (!SWIG_IsOK(res1
)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24825 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24845 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
= 0;
24847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24848 wxString
*arg2
= 0 ;
24851 bool temp2
= false ;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 char * kwnames
[] = {
24855 (char *) "self",(char *) "filename", NULL
24858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24863 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24865 arg2
= wxString_in_helper(obj1
);
24866 if (arg2
== NULL
) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 (arg1
)->SetFilename((wxString
const &)*arg2
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= SWIG_Py_Void();
24890 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24891 PyObject
*resultobj
= 0;
24892 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24893 PyObject
*result
= 0 ;
24896 PyObject
*swig_obj
[1] ;
24898 if (!args
) SWIG_fail
;
24899 swig_obj
[0] = args
;
24900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24901 if (!SWIG_IsOK(res1
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24904 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= result
;
24918 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
= 0;
24920 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24921 PyObject
*arg2
= (PyObject
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 char * kwnames
[] = {
24927 (char *) "self",(char *) "data", NULL
24930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24935 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 wxPrintData_SetPrivData(arg1
,arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24953 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24954 return SWIG_Py_Void();
24957 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24958 return SWIG_Python_InitShadowInstance(args
);
24961 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24962 PyObject
*resultobj
= 0;
24963 wxPageSetupDialogData
*result
= 0 ;
24965 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24979 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24980 PyObject
*resultobj
= 0;
24981 wxPageSetupDialogData
*arg1
= 0 ;
24982 wxPageSetupDialogData
*result
= 0 ;
24986 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24988 if (!SWIG_IsOK(res1
)) {
24989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24994 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25008 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25009 PyObject
*resultobj
= 0;
25010 wxPrintData
*arg1
= 0 ;
25011 wxPageSetupDialogData
*result
= 0 ;
25015 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25017 if (!SWIG_IsOK(res1
)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25023 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25037 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
25041 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
25044 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
25049 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
25050 _v
= SWIG_CheckState(res
);
25052 if (!_v
) goto check_2
;
25053 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
25058 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
25062 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
25067 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25068 PyObject
*resultobj
= 0;
25069 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25072 PyObject
*swig_obj
[1] ;
25074 if (!args
) SWIG_fail
;
25075 swig_obj
[0] = args
;
25076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25080 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_Py_Void();
25095 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
= 0;
25097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char * kwnames
[] = {
25106 (char *) "self",(char *) "flag", NULL
25109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25114 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25115 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25116 if (!SWIG_IsOK(ecode2
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25119 arg2
= static_cast< bool >(val2
);
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->EnableHelp(arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= SWIG_Py_Void();
25133 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
= 0;
25135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 char * kwnames
[] = {
25144 (char *) "self",(char *) "flag", NULL
25147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25152 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25153 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25154 if (!SWIG_IsOK(ecode2
)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25157 arg2
= static_cast< bool >(val2
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 (arg1
)->EnableMargins(arg2
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_Py_Void();
25171 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
= 0;
25173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 char * kwnames
[] = {
25182 (char *) "self",(char *) "flag", NULL
25185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25187 if (!SWIG_IsOK(res1
)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25190 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25191 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25192 if (!SWIG_IsOK(ecode2
)) {
25193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25195 arg2
= static_cast< bool >(val2
);
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->EnableOrientation(arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_Py_Void();
25209 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
= 0;
25211 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char * kwnames
[] = {
25220 (char *) "self",(char *) "flag", NULL
25223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25225 if (!SWIG_IsOK(res1
)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25228 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25229 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25230 if (!SWIG_IsOK(ecode2
)) {
25231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25233 arg2
= static_cast< bool >(val2
);
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 (arg1
)->EnablePaper(arg2
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_Py_Void();
25247 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
= 0;
25249 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 char * kwnames
[] = {
25258 (char *) "self",(char *) "flag", NULL
25261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25263 if (!SWIG_IsOK(res1
)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25266 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25267 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25268 if (!SWIG_IsOK(ecode2
)) {
25269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25271 arg2
= static_cast< bool >(val2
);
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 (arg1
)->EnablePrinter(arg2
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= SWIG_Py_Void();
25285 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 PyObject
*resultobj
= 0;
25287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25291 PyObject
*swig_obj
[1] ;
25293 if (!args
) SWIG_fail
;
25294 swig_obj
[0] = args
;
25295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25299 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (bool)(arg1
)->GetDefaultMinMargins();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25315 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25316 PyObject
*resultobj
= 0;
25317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25321 PyObject
*swig_obj
[1] ;
25323 if (!args
) SWIG_fail
;
25324 swig_obj
[0] = args
;
25325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25329 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (bool)(arg1
)->GetEnableMargins();
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25345 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25346 PyObject
*resultobj
= 0;
25347 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25351 PyObject
*swig_obj
[1] ;
25353 if (!args
) SWIG_fail
;
25354 swig_obj
[0] = args
;
25355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (bool)(arg1
)->GetEnableOrientation();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25375 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25376 PyObject
*resultobj
= 0;
25377 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25381 PyObject
*swig_obj
[1] ;
25383 if (!args
) SWIG_fail
;
25384 swig_obj
[0] = args
;
25385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25386 if (!SWIG_IsOK(res1
)) {
25387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25389 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (bool)(arg1
)->GetEnablePaper();
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25405 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25406 PyObject
*resultobj
= 0;
25407 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25411 PyObject
*swig_obj
[1] ;
25413 if (!args
) SWIG_fail
;
25414 swig_obj
[0] = args
;
25415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25416 if (!SWIG_IsOK(res1
)) {
25417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25419 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (bool)(arg1
)->GetEnablePrinter();
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25435 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 PyObject
*resultobj
= 0;
25437 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25441 PyObject
*swig_obj
[1] ;
25443 if (!args
) SWIG_fail
;
25444 swig_obj
[0] = args
;
25445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25446 if (!SWIG_IsOK(res1
)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25449 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (bool)(arg1
)->GetEnableHelp();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25465 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 PyObject
*resultobj
= 0;
25467 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25471 PyObject
*swig_obj
[1] ;
25473 if (!args
) SWIG_fail
;
25474 swig_obj
[0] = args
;
25475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25476 if (!SWIG_IsOK(res1
)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25479 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (bool)(arg1
)->GetDefaultInfo();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25495 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25496 PyObject
*resultobj
= 0;
25497 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25501 PyObject
*swig_obj
[1] ;
25503 if (!args
) SWIG_fail
;
25504 swig_obj
[0] = args
;
25505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25509 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= (arg1
)->GetMarginTopLeft();
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25523 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25524 PyObject
*resultobj
= 0;
25525 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25529 PyObject
*swig_obj
[1] ;
25531 if (!args
) SWIG_fail
;
25532 swig_obj
[0] = args
;
25533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25537 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 result
= (arg1
)->GetMarginBottomRight();
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25551 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25552 PyObject
*resultobj
= 0;
25553 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25557 PyObject
*swig_obj
[1] ;
25559 if (!args
) SWIG_fail
;
25560 swig_obj
[0] = args
;
25561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25562 if (!SWIG_IsOK(res1
)) {
25563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25565 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (arg1
)->GetMinMarginTopLeft();
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25579 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25580 PyObject
*resultobj
= 0;
25581 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25585 PyObject
*swig_obj
[1] ;
25587 if (!args
) SWIG_fail
;
25588 swig_obj
[0] = args
;
25589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25590 if (!SWIG_IsOK(res1
)) {
25591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25593 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (arg1
)->GetMinMarginBottomRight();
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25607 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25608 PyObject
*resultobj
= 0;
25609 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25610 wxPaperSize result
;
25613 PyObject
*swig_obj
[1] ;
25615 if (!args
) SWIG_fail
;
25616 swig_obj
[0] = args
;
25617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25618 if (!SWIG_IsOK(res1
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25621 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_From_int(static_cast< int >(result
));
25635 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25636 PyObject
*resultobj
= 0;
25637 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25641 PyObject
*swig_obj
[1] ;
25643 if (!args
) SWIG_fail
;
25644 swig_obj
[0] = args
;
25645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25646 if (!SWIG_IsOK(res1
)) {
25647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25649 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (arg1
)->GetPaperSize();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25663 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 PyObject
*resultobj
= 0;
25665 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25666 wxPrintData
*result
= 0 ;
25669 PyObject
*swig_obj
[1] ;
25671 if (!args
) SWIG_fail
;
25672 swig_obj
[0] = args
;
25673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25674 if (!SWIG_IsOK(res1
)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25677 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25682 result
= (wxPrintData
*) &_result_ref
;
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25694 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25695 PyObject
*resultobj
= 0;
25696 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25700 PyObject
*swig_obj
[1] ;
25702 if (!args
) SWIG_fail
;
25703 swig_obj
[0] = args
;
25704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25705 if (!SWIG_IsOK(res1
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25708 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 result
= (bool)(arg1
)->IsOk();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25724 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
= 0;
25726 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char * kwnames
[] = {
25735 (char *) "self",(char *) "flag", NULL
25738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25743 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25744 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25745 if (!SWIG_IsOK(ecode2
)) {
25746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25748 arg2
= static_cast< bool >(val2
);
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 (arg1
)->SetDefaultInfo(arg2
);
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
= 0;
25764 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25770 PyObject
* obj0
= 0 ;
25771 PyObject
* obj1
= 0 ;
25772 char * kwnames
[] = {
25773 (char *) "self",(char *) "flag", NULL
25776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25781 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25782 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25783 if (!SWIG_IsOK(ecode2
)) {
25784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25786 arg2
= static_cast< bool >(val2
);
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 (arg1
)->SetDefaultMinMargins(arg2
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_Py_Void();
25800 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
= 0;
25802 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25803 wxPoint
*arg2
= 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 char * kwnames
[] = {
25810 (char *) "self",(char *) "pt", NULL
25813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25815 if (!SWIG_IsOK(res1
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25818 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_Py_Void();
25836 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
= 0;
25838 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25839 wxPoint
*arg2
= 0 ;
25843 PyObject
* obj0
= 0 ;
25844 PyObject
* obj1
= 0 ;
25845 char * kwnames
[] = {
25846 (char *) "self",(char *) "pt", NULL
25849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25851 if (!SWIG_IsOK(res1
)) {
25852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25854 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_Py_Void();
25872 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
= 0;
25874 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25875 wxPoint
*arg2
= 0 ;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 char * kwnames
[] = {
25882 (char *) "self",(char *) "pt", NULL
25885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25890 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25893 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_Py_Void();
25908 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
= 0;
25910 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25911 wxPoint
*arg2
= 0 ;
25915 PyObject
* obj0
= 0 ;
25916 PyObject
* obj1
= 0 ;
25917 char * kwnames
[] = {
25918 (char *) "self",(char *) "pt", NULL
25921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25923 if (!SWIG_IsOK(res1
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25926 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_Py_Void();
25944 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
= 0;
25946 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj1
= 0 ;
25954 char * kwnames
[] = {
25955 (char *) "self",(char *) "id", NULL
25958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25960 if (!SWIG_IsOK(res1
)) {
25961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25963 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25965 if (!SWIG_IsOK(ecode2
)) {
25966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25968 arg2
= static_cast< wxPaperSize
>(val2
);
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 (arg1
)->SetPaperId(arg2
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_Py_Void();
25982 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= 0;
25984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char * kwnames
[] = {
25992 (char *) "self",(char *) "size", NULL
25995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25997 if (!SWIG_IsOK(res1
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26000 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26003 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_Py_Void();
26018 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
= 0;
26020 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26021 wxPrintData
*arg2
= 0 ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 char * kwnames
[] = {
26029 (char *) "self",(char *) "printData", NULL
26032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26034 if (!SWIG_IsOK(res1
)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26037 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26039 if (!SWIG_IsOK(res2
)) {
26040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26045 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_Py_Void();
26059 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26060 PyObject
*resultobj
= 0;
26061 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26064 PyObject
*swig_obj
[1] ;
26066 if (!args
) SWIG_fail
;
26067 swig_obj
[0] = args
;
26068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26069 if (!SWIG_IsOK(res1
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26072 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 (arg1
)->CalculateIdFromPaperSize();
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_Py_Void();
26086 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26087 PyObject
*resultobj
= 0;
26088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26091 PyObject
*swig_obj
[1] ;
26093 if (!args
) SWIG_fail
;
26094 swig_obj
[0] = args
;
26095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26096 if (!SWIG_IsOK(res1
)) {
26097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26099 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 (arg1
)->CalculatePaperSizeFromId();
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= SWIG_Py_Void();
26113 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26116 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26117 return SWIG_Py_Void();
26120 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 return SWIG_Python_InitShadowInstance(args
);
26124 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
= 0;
26126 wxWindow
*arg1
= (wxWindow
*) 0 ;
26127 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26128 wxPageSetupDialog
*result
= 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 char * kwnames
[] = {
26136 (char *) "parent",(char *) "data", NULL
26139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26141 if (!SWIG_IsOK(res1
)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26147 if (!SWIG_IsOK(res2
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26150 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26153 if (!wxPyCheckForApp()) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26166 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26167 PyObject
*resultobj
= 0;
26168 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26171 PyObject
*swig_obj
[1] ;
26173 if (!args
) SWIG_fail
;
26174 swig_obj
[0] = args
;
26175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26179 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= SWIG_Py_Void();
26194 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26195 PyObject
*resultobj
= 0;
26196 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26197 wxPageSetupDialogData
*result
= 0 ;
26200 PyObject
*swig_obj
[1] ;
26202 if (!args
) SWIG_fail
;
26203 swig_obj
[0] = args
;
26204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26205 if (!SWIG_IsOK(res1
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26208 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26213 result
= (wxPageSetupDialogData
*) &_result_ref
;
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26225 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26226 PyObject
*resultobj
= 0;
26227 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26228 wxPageSetupDialogData
*result
= 0 ;
26231 PyObject
*swig_obj
[1] ;
26233 if (!args
) SWIG_fail
;
26234 swig_obj
[0] = args
;
26235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26236 if (!SWIG_IsOK(res1
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26239 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26244 result
= (wxPageSetupDialogData
*) &_result_ref
;
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26256 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26257 PyObject
*resultobj
= 0;
26258 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26262 PyObject
*swig_obj
[1] ;
26264 if (!args
) SWIG_fail
;
26265 swig_obj
[0] = args
;
26266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26267 if (!SWIG_IsOK(res1
)) {
26268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26270 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 result
= (int)(arg1
)->ShowModal();
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= SWIG_From_int(static_cast< int >(result
));
26284 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26287 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26288 return SWIG_Py_Void();
26291 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26292 return SWIG_Python_InitShadowInstance(args
);
26295 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26296 PyObject
*resultobj
= 0;
26297 wxPrintDialogData
*result
= 0 ;
26299 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26313 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26314 PyObject
*resultobj
= 0;
26315 wxPrintData
*arg1
= 0 ;
26316 wxPrintDialogData
*result
= 0 ;
26320 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26322 if (!SWIG_IsOK(res1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26328 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26342 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26343 PyObject
*resultobj
= 0;
26344 wxPrintDialogData
*arg1
= 0 ;
26345 wxPrintDialogData
*result
= 0 ;
26349 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26351 if (!SWIG_IsOK(res1
)) {
26352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26357 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26371 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26375 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26378 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26383 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26384 _v
= SWIG_CheckState(res
);
26386 if (!_v
) goto check_2
;
26387 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26392 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26396 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26401 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26402 PyObject
*resultobj
= 0;
26403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26406 PyObject
*swig_obj
[1] ;
26408 if (!args
) SWIG_fail
;
26409 swig_obj
[0] = args
;
26410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26414 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= SWIG_Py_Void();
26429 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26430 PyObject
*resultobj
= 0;
26431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26435 PyObject
*swig_obj
[1] ;
26437 if (!args
) SWIG_fail
;
26438 swig_obj
[0] = args
;
26439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26440 if (!SWIG_IsOK(res1
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26443 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_From_int(static_cast< int >(result
));
26457 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26463 PyObject
*swig_obj
[1] ;
26465 if (!args
) SWIG_fail
;
26466 swig_obj
[0] = args
;
26467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26471 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_From_int(static_cast< int >(result
));
26485 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26486 PyObject
*resultobj
= 0;
26487 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26491 PyObject
*swig_obj
[1] ;
26493 if (!args
) SWIG_fail
;
26494 swig_obj
[0] = args
;
26495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26496 if (!SWIG_IsOK(res1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26499 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_From_int(static_cast< int >(result
));
26513 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26514 PyObject
*resultobj
= 0;
26515 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26519 PyObject
*swig_obj
[1] ;
26521 if (!args
) SWIG_fail
;
26522 swig_obj
[0] = args
;
26523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26524 if (!SWIG_IsOK(res1
)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26527 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_From_int(static_cast< int >(result
));
26541 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 PyObject
*resultobj
= 0;
26543 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26547 PyObject
*swig_obj
[1] ;
26549 if (!args
) SWIG_fail
;
26550 swig_obj
[0] = args
;
26551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26555 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= SWIG_From_int(static_cast< int >(result
));
26569 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26570 PyObject
*resultobj
= 0;
26571 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26575 PyObject
*swig_obj
[1] ;
26577 if (!args
) SWIG_fail
;
26578 swig_obj
[0] = args
;
26579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26583 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26599 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26600 PyObject
*resultobj
= 0;
26601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26605 PyObject
*swig_obj
[1] ;
26607 if (!args
) SWIG_fail
;
26608 swig_obj
[0] = args
;
26609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26613 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26629 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26630 PyObject
*resultobj
= 0;
26631 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26635 PyObject
*swig_obj
[1] ;
26637 if (!args
) SWIG_fail
;
26638 swig_obj
[0] = args
;
26639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26643 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26659 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26660 PyObject
*resultobj
= 0;
26661 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26665 PyObject
*swig_obj
[1] ;
26667 if (!args
) SWIG_fail
;
26668 swig_obj
[0] = args
;
26669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26673 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
= 0;
26691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 char * kwnames
[] = {
26700 (char *) "self",(char *) "v", NULL
26703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26708 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26710 if (!SWIG_IsOK(ecode2
)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26713 arg2
= static_cast< int >(val2
);
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 (arg1
)->SetFromPage(arg2
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= SWIG_Py_Void();
26727 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
= 0;
26729 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 char * kwnames
[] = {
26738 (char *) "self",(char *) "v", NULL
26741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26746 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26748 if (!SWIG_IsOK(ecode2
)) {
26749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26751 arg2
= static_cast< int >(val2
);
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 (arg1
)->SetToPage(arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_Py_Void();
26765 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
= 0;
26767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char * kwnames
[] = {
26776 (char *) "self",(char *) "v", NULL
26779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26781 if (!SWIG_IsOK(res1
)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26784 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26786 if (!SWIG_IsOK(ecode2
)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26789 arg2
= static_cast< int >(val2
);
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 (arg1
)->SetMinPage(arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_Py_Void();
26803 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= 0;
26805 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 char * kwnames
[] = {
26814 (char *) "self",(char *) "v", NULL
26817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26819 if (!SWIG_IsOK(res1
)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26822 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26824 if (!SWIG_IsOK(ecode2
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26827 arg2
= static_cast< int >(val2
);
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 (arg1
)->SetMaxPage(arg2
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= SWIG_Py_Void();
26841 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
= 0;
26843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char * kwnames
[] = {
26852 (char *) "self",(char *) "v", NULL
26855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26860 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26862 if (!SWIG_IsOK(ecode2
)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26865 arg2
= static_cast< int >(val2
);
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 (arg1
)->SetNoCopies(arg2
);
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= SWIG_Py_Void();
26879 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
= 0;
26881 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char * kwnames
[] = {
26890 (char *) "self",(char *) "flag", NULL
26893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26898 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26899 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26900 if (!SWIG_IsOK(ecode2
)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26903 arg2
= static_cast< bool >(val2
);
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 (arg1
)->SetAllPages(arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_Py_Void();
26917 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
= 0;
26919 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 char * kwnames
[] = {
26928 (char *) "self",(char *) "flag", NULL
26931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26933 if (!SWIG_IsOK(res1
)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26936 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26938 if (!SWIG_IsOK(ecode2
)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26941 arg2
= static_cast< bool >(val2
);
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 (arg1
)->SetSelection(arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= SWIG_Py_Void();
26955 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
= 0;
26957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char * kwnames
[] = {
26966 (char *) "self",(char *) "flag", NULL
26969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26971 if (!SWIG_IsOK(res1
)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26974 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26975 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26976 if (!SWIG_IsOK(ecode2
)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26979 arg2
= static_cast< bool >(val2
);
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 (arg1
)->SetCollate(arg2
);
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= SWIG_Py_Void();
26993 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
= 0;
26995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char * kwnames
[] = {
27004 (char *) "self",(char *) "flag", NULL
27007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27009 if (!SWIG_IsOK(res1
)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27012 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27013 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27014 if (!SWIG_IsOK(ecode2
)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27017 arg2
= static_cast< bool >(val2
);
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 (arg1
)->SetPrintToFile(arg2
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_Py_Void();
27031 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
= 0;
27033 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char * kwnames
[] = {
27042 (char *) "self",(char *) "flag", NULL
27045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27047 if (!SWIG_IsOK(res1
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27050 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27052 if (!SWIG_IsOK(ecode2
)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27055 arg2
= static_cast< bool >(val2
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 (arg1
)->EnablePrintToFile(arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_Py_Void();
27069 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
= 0;
27071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 char * kwnames
[] = {
27080 (char *) "self",(char *) "flag", NULL
27083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27085 if (!SWIG_IsOK(res1
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27088 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27090 if (!SWIG_IsOK(ecode2
)) {
27091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27093 arg2
= static_cast< bool >(val2
);
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 (arg1
)->EnableSelection(arg2
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= SWIG_Py_Void();
27107 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
= 0;
27109 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 char * kwnames
[] = {
27118 (char *) "self",(char *) "flag", NULL
27121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27126 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27127 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27128 if (!SWIG_IsOK(ecode2
)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27131 arg2
= static_cast< bool >(val2
);
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 (arg1
)->EnablePageNumbers(arg2
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_Py_Void();
27145 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
= 0;
27147 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 char * kwnames
[] = {
27156 (char *) "self",(char *) "flag", NULL
27159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27161 if (!SWIG_IsOK(res1
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27164 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27166 if (!SWIG_IsOK(ecode2
)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27169 arg2
= static_cast< bool >(val2
);
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 (arg1
)->EnableHelp(arg2
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_Py_Void();
27183 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27184 PyObject
*resultobj
= 0;
27185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27189 PyObject
*swig_obj
[1] ;
27191 if (!args
) SWIG_fail
;
27192 swig_obj
[0] = args
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27197 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27213 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 PyObject
*resultobj
= 0;
27215 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27219 PyObject
*swig_obj
[1] ;
27221 if (!args
) SWIG_fail
;
27222 swig_obj
[0] = args
;
27223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27224 if (!SWIG_IsOK(res1
)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27227 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27243 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27244 PyObject
*resultobj
= 0;
27245 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27249 PyObject
*swig_obj
[1] ;
27251 if (!args
) SWIG_fail
;
27252 swig_obj
[0] = args
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27257 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27273 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27274 PyObject
*resultobj
= 0;
27275 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27279 PyObject
*swig_obj
[1] ;
27281 if (!args
) SWIG_fail
;
27282 swig_obj
[0] = args
;
27283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27284 if (!SWIG_IsOK(res1
)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27287 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27303 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27317 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27333 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27336 wxPrintData
*result
= 0 ;
27339 PyObject
*swig_obj
[1] ;
27341 if (!args
) SWIG_fail
;
27342 swig_obj
[0] = args
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27347 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27352 result
= (wxPrintData
*) &_result_ref
;
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27364 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
= 0;
27366 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27367 wxPrintData
*arg2
= 0 ;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 char * kwnames
[] = {
27375 (char *) "self",(char *) "printData", NULL
27378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27380 if (!SWIG_IsOK(res1
)) {
27381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27383 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27384 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27385 if (!SWIG_IsOK(res2
)) {
27386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27391 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27394 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27395 wxPyEndAllowThreads(__tstate
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= SWIG_Py_Void();
27405 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27409 return SWIG_Py_Void();
27412 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27413 return SWIG_Python_InitShadowInstance(args
);
27416 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
= 0;
27418 wxWindow
*arg1
= (wxWindow
*) 0 ;
27419 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27420 wxPrintDialog
*result
= 0 ;
27425 PyObject
* obj0
= 0 ;
27426 PyObject
* obj1
= 0 ;
27427 char * kwnames
[] = {
27428 (char *) "parent",(char *) "data", NULL
27431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27433 if (!SWIG_IsOK(res1
)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27439 if (!SWIG_IsOK(res2
)) {
27440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27442 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27445 if (!wxPyCheckForApp()) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27458 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27459 PyObject
*resultobj
= 0;
27460 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27463 PyObject
*swig_obj
[1] ;
27465 if (!args
) SWIG_fail
;
27466 swig_obj
[0] = args
;
27467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27471 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= SWIG_Py_Void();
27486 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27487 PyObject
*resultobj
= 0;
27488 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27492 PyObject
*swig_obj
[1] ;
27494 if (!args
) SWIG_fail
;
27495 swig_obj
[0] = args
;
27496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27497 if (!SWIG_IsOK(res1
)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27500 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (int)(arg1
)->ShowModal();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_From_int(static_cast< int >(result
));
27514 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27515 PyObject
*resultobj
= 0;
27516 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27517 wxPrintDialogData
*result
= 0 ;
27520 PyObject
*swig_obj
[1] ;
27522 if (!args
) SWIG_fail
;
27523 swig_obj
[0] = args
;
27524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27525 if (!SWIG_IsOK(res1
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27528 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27533 result
= (wxPrintDialogData
*) &_result_ref
;
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27545 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27546 PyObject
*resultobj
= 0;
27547 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27548 wxPrintData
*result
= 0 ;
27551 PyObject
*swig_obj
[1] ;
27553 if (!args
) SWIG_fail
;
27554 swig_obj
[0] = args
;
27555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27559 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27564 result
= (wxPrintData
*) &_result_ref
;
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27576 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27577 PyObject
*resultobj
= 0;
27578 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27582 PyObject
*swig_obj
[1] ;
27584 if (!args
) SWIG_fail
;
27585 swig_obj
[0] = args
;
27586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27587 if (!SWIG_IsOK(res1
)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27590 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 result
= (wxDC
*)(arg1
)->GetPrintDC();
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27598 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27606 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27610 return SWIG_Py_Void();
27613 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27614 return SWIG_Python_InitShadowInstance(args
);
27617 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
= 0;
27619 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27620 wxPrinter
*result
= 0 ;
27623 PyObject
* obj0
= 0 ;
27624 char * kwnames
[] = {
27625 (char *) "data", NULL
27628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27631 if (!SWIG_IsOK(res1
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27634 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27637 if (!wxPyCheckForApp()) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (wxPrinter
*)new wxPrinter(arg1
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27650 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 PyObject
*resultobj
= 0;
27652 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27655 PyObject
*swig_obj
[1] ;
27657 if (!args
) SWIG_fail
;
27658 swig_obj
[0] = args
;
27659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27663 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 wxPyEndAllowThreads(__tstate
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 resultobj
= SWIG_Py_Void();
27678 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
= 0;
27680 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27681 wxWindow
*arg2
= (wxWindow
*) 0 ;
27682 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27683 wxWindow
*result
= 0 ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 PyObject
* obj2
= 0 ;
27693 char * kwnames
[] = {
27694 (char *) "self",(char *) "parent",(char *) "printout", NULL
27697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27702 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27704 if (!SWIG_IsOK(res2
)) {
27705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27708 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27709 if (!SWIG_IsOK(res3
)) {
27710 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27712 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= wxPyMake_wxObject(result
, 0);
27728 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
= 0;
27730 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27731 wxWindow
*arg2
= (wxWindow
*) 0 ;
27732 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27733 wxString
*arg4
= 0 ;
27740 bool temp4
= false ;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 PyObject
* obj2
= 0 ;
27744 PyObject
* obj3
= 0 ;
27745 char * kwnames
[] = {
27746 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27754 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27756 if (!SWIG_IsOK(res2
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27759 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27760 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27761 if (!SWIG_IsOK(res3
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27764 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27766 arg4
= wxString_in_helper(obj3
);
27767 if (arg4
== NULL
) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= SWIG_Py_Void();
27791 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
= 0;
27793 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27794 wxWindow
*arg2
= (wxWindow
*) 0 ;
27800 PyObject
* obj0
= 0 ;
27801 PyObject
* obj1
= 0 ;
27802 char * kwnames
[] = {
27803 (char *) "self",(char *) "parent", NULL
27806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27808 if (!SWIG_IsOK(res1
)) {
27809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27811 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27813 if (!SWIG_IsOK(res2
)) {
27814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27816 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 result
= (bool)(arg1
)->Setup(arg2
);
27820 wxPyEndAllowThreads(__tstate
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27832 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
= 0;
27834 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27835 wxWindow
*arg2
= (wxWindow
*) 0 ;
27836 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27837 bool arg4
= (bool) true ;
27847 PyObject
* obj0
= 0 ;
27848 PyObject
* obj1
= 0 ;
27849 PyObject
* obj2
= 0 ;
27850 PyObject
* obj3
= 0 ;
27851 char * kwnames
[] = {
27852 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27857 if (!SWIG_IsOK(res1
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27860 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27862 if (!SWIG_IsOK(res2
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27866 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27867 if (!SWIG_IsOK(res3
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27870 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27872 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27873 if (!SWIG_IsOK(ecode4
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27876 arg4
= static_cast< bool >(val4
);
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27893 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
= 0;
27895 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27896 wxWindow
*arg2
= (wxWindow
*) 0 ;
27902 PyObject
* obj0
= 0 ;
27903 PyObject
* obj1
= 0 ;
27904 char * kwnames
[] = {
27905 (char *) "self",(char *) "parent", NULL
27908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27910 if (!SWIG_IsOK(res1
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27913 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27915 if (!SWIG_IsOK(res2
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27918 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27934 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27935 PyObject
*resultobj
= 0;
27936 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27937 wxPrintDialogData
*result
= 0 ;
27940 PyObject
*swig_obj
[1] ;
27942 if (!args
) SWIG_fail
;
27943 swig_obj
[0] = args
;
27944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27948 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27953 result
= (wxPrintDialogData
*) &_result_ref
;
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27965 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27979 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (bool)(arg1
)->GetAbort();
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27995 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27996 PyObject
*resultobj
= 0;
27997 wxPrinterError result
;
27999 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 result
= (wxPrinterError
)wxPrinter::GetLastError();
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 resultobj
= SWIG_From_int(static_cast< int >(result
));
28013 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
28017 return SWIG_Py_Void();
28020 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28021 return SWIG_Python_InitShadowInstance(args
);
28024 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
= 0;
28026 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
28027 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28028 wxPyPrintout
*result
= 0 ;
28029 bool temp1
= false ;
28030 PyObject
* obj0
= 0 ;
28031 char * kwnames
[] = {
28032 (char *) "title", NULL
28035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
28038 arg1
= wxString_in_helper(obj0
);
28039 if (arg1
== NULL
) SWIG_fail
;
28044 if (!wxPyCheckForApp()) SWIG_fail
;
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
28065 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28066 PyObject
*resultobj
= 0;
28067 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28070 PyObject
*swig_obj
[1] ;
28072 if (!args
) SWIG_fail
;
28073 swig_obj
[0] = args
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28078 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= SWIG_Py_Void();
28093 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
= 0;
28095 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28096 PyObject
*arg2
= (PyObject
*) 0 ;
28097 PyObject
*arg3
= (PyObject
*) 0 ;
28100 PyObject
* obj0
= 0 ;
28101 PyObject
* obj1
= 0 ;
28102 PyObject
* obj2
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "self",(char *) "_class", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28112 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= SWIG_Py_Void();
28128 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28129 PyObject
*resultobj
= 0;
28130 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28134 PyObject
*swig_obj
[1] ;
28136 if (!args
) SWIG_fail
;
28137 swig_obj
[0] = args
;
28138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28142 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28162 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28163 PyObject
*resultobj
= 0;
28164 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28168 PyObject
*swig_obj
[1] ;
28170 if (!args
) SWIG_fail
;
28171 swig_obj
[0] = args
;
28172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28173 if (!SWIG_IsOK(res1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28176 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxDC
*)(arg1
)->GetDC();
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28192 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
= 0;
28194 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28195 wxDC
*arg2
= (wxDC
*) 0 ;
28200 PyObject
* obj0
= 0 ;
28201 PyObject
* obj1
= 0 ;
28202 char * kwnames
[] = {
28203 (char *) "self",(char *) "dc", NULL
28206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28208 if (!SWIG_IsOK(res1
)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28211 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28213 if (!SWIG_IsOK(res2
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28216 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 (arg1
)->SetDC(arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_Py_Void();
28230 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
= 0;
28232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28237 PyObject
* obj0
= 0 ;
28238 PyObject
* obj1
= 0 ;
28239 char * kwnames
[] = {
28240 (char *) "self",(char *) "imageSize", NULL
28243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28248 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28251 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= SWIG_Py_Void();
28266 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
= 0;
28268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28273 PyObject
* obj0
= 0 ;
28274 PyObject
* obj1
= 0 ;
28275 char * kwnames
[] = {
28276 (char *) "self",(char *) "imageSize", NULL
28279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28284 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28287 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= SWIG_Py_Void();
28302 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
= 0;
28304 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28306 wxPageSetupDialogData
*arg3
= 0 ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 PyObject
* obj2
= 0 ;
28315 char * kwnames
[] = {
28316 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28321 if (!SWIG_IsOK(res1
)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28324 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28327 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28329 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28330 if (!SWIG_IsOK(res3
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28336 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_Py_Void();
28350 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28351 PyObject
*resultobj
= 0;
28352 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28355 PyObject
*swig_obj
[1] ;
28357 if (!args
) SWIG_fail
;
28358 swig_obj
[0] = args
;
28359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28363 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 (arg1
)->MapScreenSizeToPaper();
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= SWIG_Py_Void();
28377 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28378 PyObject
*resultobj
= 0;
28379 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28382 PyObject
*swig_obj
[1] ;
28384 if (!args
) SWIG_fail
;
28385 swig_obj
[0] = args
;
28386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28387 if (!SWIG_IsOK(res1
)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28390 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 (arg1
)->MapScreenSizeToPage();
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= SWIG_Py_Void();
28404 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
= 0;
28406 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28407 wxPageSetupDialogData
*arg2
= 0 ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 char * kwnames
[] = {
28415 (char *) "self",(char *) "pageSetupData", NULL
28418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28423 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28425 if (!SWIG_IsOK(res2
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28431 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_Py_Void();
28445 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28446 PyObject
*resultobj
= 0;
28447 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28450 PyObject
*swig_obj
[1] ;
28452 if (!args
) SWIG_fail
;
28453 swig_obj
[0] = args
;
28454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28455 if (!SWIG_IsOK(res1
)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28458 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 (arg1
)->MapScreenSizeToDevice();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_Py_Void();
28472 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28473 PyObject
*resultobj
= 0;
28474 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28478 PyObject
*swig_obj
[1] ;
28480 if (!args
) SWIG_fail
;
28481 swig_obj
[0] = args
;
28482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28486 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28500 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 PyObject
*resultobj
= 0;
28502 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28506 PyObject
*swig_obj
[1] ;
28508 if (!args
) SWIG_fail
;
28509 swig_obj
[0] = args
;
28510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28514 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28528 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
= 0;
28530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28531 wxPageSetupDialogData
*arg2
= 0 ;
28537 PyObject
* obj0
= 0 ;
28538 PyObject
* obj1
= 0 ;
28539 char * kwnames
[] = {
28540 (char *) "self",(char *) "pageSetupData", NULL
28543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28548 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28550 if (!SWIG_IsOK(res2
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28556 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28570 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
= 0;
28572 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 PyObject
* obj2
= 0 ;
28584 char * kwnames
[] = {
28585 (char *) "self",(char *) "x",(char *) "y", NULL
28588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28593 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28595 if (!SWIG_IsOK(ecode2
)) {
28596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28598 arg2
= static_cast< int >(val2
);
28599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28600 if (!SWIG_IsOK(ecode3
)) {
28601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28603 arg3
= static_cast< int >(val3
);
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= SWIG_Py_Void();
28617 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
= 0;
28619 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28628 PyObject
* obj0
= 0 ;
28629 PyObject
* obj1
= 0 ;
28630 PyObject
* obj2
= 0 ;
28631 char * kwnames
[] = {
28632 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28637 if (!SWIG_IsOK(res1
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28640 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28642 if (!SWIG_IsOK(ecode2
)) {
28643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28645 arg2
= static_cast< int >(val2
);
28646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28647 if (!SWIG_IsOK(ecode3
)) {
28648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28650 arg3
= static_cast< int >(val3
);
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 resultobj
= SWIG_Py_Void();
28664 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
= 0;
28666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 PyObject
* obj1
= 0 ;
28677 PyObject
* obj2
= 0 ;
28678 char * kwnames
[] = {
28679 (char *) "self",(char *) "w",(char *) "h", NULL
28682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28684 if (!SWIG_IsOK(res1
)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28687 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28689 if (!SWIG_IsOK(ecode2
)) {
28690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28692 arg2
= static_cast< int >(val2
);
28693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28694 if (!SWIG_IsOK(ecode3
)) {
28695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28697 arg3
= static_cast< int >(val3
);
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= SWIG_Py_Void();
28711 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28712 PyObject
*resultobj
= 0;
28713 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28714 int *arg2
= (int *) 0 ;
28715 int *arg3
= (int *) 0 ;
28719 int res2
= SWIG_TMPOBJ
;
28721 int res3
= SWIG_TMPOBJ
;
28722 PyObject
*swig_obj
[1] ;
28726 if (!args
) SWIG_fail
;
28727 swig_obj
[0] = args
;
28728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28729 if (!SWIG_IsOK(res1
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28732 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= SWIG_Py_Void();
28740 if (SWIG_IsTmpObj(res2
)) {
28741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28743 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28746 if (SWIG_IsTmpObj(res3
)) {
28747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28749 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28758 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
= 0;
28760 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 PyObject
* obj2
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "w",(char *) "h", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28781 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28783 if (!SWIG_IsOK(ecode2
)) {
28784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28786 arg2
= static_cast< int >(val2
);
28787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28788 if (!SWIG_IsOK(ecode3
)) {
28789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28791 arg3
= static_cast< int >(val3
);
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28798 resultobj
= SWIG_Py_Void();
28805 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28806 PyObject
*resultobj
= 0;
28807 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28808 int *arg2
= (int *) 0 ;
28809 int *arg3
= (int *) 0 ;
28813 int res2
= SWIG_TMPOBJ
;
28815 int res3
= SWIG_TMPOBJ
;
28816 PyObject
*swig_obj
[1] ;
28820 if (!args
) SWIG_fail
;
28821 swig_obj
[0] = args
;
28822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28823 if (!SWIG_IsOK(res1
)) {
28824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28826 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28833 resultobj
= SWIG_Py_Void();
28834 if (SWIG_IsTmpObj(res2
)) {
28835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28837 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28840 if (SWIG_IsTmpObj(res3
)) {
28841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28843 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28852 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
= 0;
28854 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28863 PyObject
* obj0
= 0 ;
28864 PyObject
* obj1
= 0 ;
28865 PyObject
* obj2
= 0 ;
28866 char * kwnames
[] = {
28867 (char *) "self",(char *) "x",(char *) "y", NULL
28870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28872 if (!SWIG_IsOK(res1
)) {
28873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28875 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28877 if (!SWIG_IsOK(ecode2
)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28880 arg2
= static_cast< int >(val2
);
28881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28882 if (!SWIG_IsOK(ecode3
)) {
28883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28885 arg3
= static_cast< int >(val3
);
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 (arg1
)->SetPPIScreen(arg2
,arg3
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 resultobj
= SWIG_Py_Void();
28899 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28900 PyObject
*resultobj
= 0;
28901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28902 int *arg2
= (int *) 0 ;
28903 int *arg3
= (int *) 0 ;
28907 int res2
= SWIG_TMPOBJ
;
28909 int res3
= SWIG_TMPOBJ
;
28910 PyObject
*swig_obj
[1] ;
28914 if (!args
) SWIG_fail
;
28915 swig_obj
[0] = args
;
28916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28917 if (!SWIG_IsOK(res1
)) {
28918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28920 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 (arg1
)->GetPPIScreen(arg2
,arg3
);
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= SWIG_Py_Void();
28928 if (SWIG_IsTmpObj(res2
)) {
28929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28931 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28934 if (SWIG_IsTmpObj(res3
)) {
28935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28937 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28946 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
= 0;
28948 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28957 PyObject
* obj0
= 0 ;
28958 PyObject
* obj1
= 0 ;
28959 PyObject
* obj2
= 0 ;
28960 char * kwnames
[] = {
28961 (char *) "self",(char *) "x",(char *) "y", NULL
28964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28969 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28971 if (!SWIG_IsOK(ecode2
)) {
28972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28974 arg2
= static_cast< int >(val2
);
28975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28976 if (!SWIG_IsOK(ecode3
)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28979 arg3
= static_cast< int >(val3
);
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 resultobj
= SWIG_Py_Void();
28993 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28994 PyObject
*resultobj
= 0;
28995 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28996 int *arg2
= (int *) 0 ;
28997 int *arg3
= (int *) 0 ;
29001 int res2
= SWIG_TMPOBJ
;
29003 int res3
= SWIG_TMPOBJ
;
29004 PyObject
*swig_obj
[1] ;
29008 if (!args
) SWIG_fail
;
29009 swig_obj
[0] = args
;
29010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29014 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 (arg1
)->GetPPIPrinter(arg2
,arg3
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_Py_Void();
29022 if (SWIG_IsTmpObj(res2
)) {
29023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29025 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29028 if (SWIG_IsTmpObj(res3
)) {
29029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29031 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29040 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
= 0;
29042 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29047 PyObject
* obj0
= 0 ;
29048 PyObject
* obj1
= 0 ;
29049 char * kwnames
[] = {
29050 (char *) "self",(char *) "paperRectPixels", NULL
29053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29055 if (!SWIG_IsOK(res1
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29058 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29061 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= SWIG_Py_Void();
29076 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29077 PyObject
*resultobj
= 0;
29078 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29082 PyObject
*swig_obj
[1] ;
29084 if (!args
) SWIG_fail
;
29085 swig_obj
[0] = args
;
29086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29087 if (!SWIG_IsOK(res1
)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29090 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29104 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29105 PyObject
*resultobj
= 0;
29106 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29110 PyObject
*swig_obj
[1] ;
29112 if (!args
) SWIG_fail
;
29113 swig_obj
[0] = args
;
29114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29118 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 result
= (bool)(arg1
)->IsPreview();
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29134 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
= 0;
29136 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29142 PyObject
* obj0
= 0 ;
29143 PyObject
* obj1
= 0 ;
29144 char * kwnames
[] = {
29145 (char *) "self",(char *) "p", NULL
29148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29150 if (!SWIG_IsOK(res1
)) {
29151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29153 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29154 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29155 if (!SWIG_IsOK(ecode2
)) {
29156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29158 arg2
= static_cast< bool >(val2
);
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 (arg1
)->SetIsPreview(arg2
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= SWIG_Py_Void();
29172 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
= 0;
29174 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 PyObject
* obj2
= 0 ;
29187 char * kwnames
[] = {
29188 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29193 if (!SWIG_IsOK(res1
)) {
29194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29196 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29198 if (!SWIG_IsOK(ecode2
)) {
29199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29201 arg2
= static_cast< int >(val2
);
29202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29203 if (!SWIG_IsOK(ecode3
)) {
29204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29206 arg3
= static_cast< int >(val3
);
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29222 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29223 PyObject
*resultobj
= 0;
29224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29227 PyObject
*swig_obj
[1] ;
29229 if (!args
) SWIG_fail
;
29230 swig_obj
[0] = args
;
29231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29235 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 (arg1
)->OnEndDocument();
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= SWIG_Py_Void();
29249 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29250 PyObject
*resultobj
= 0;
29251 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29254 PyObject
*swig_obj
[1] ;
29256 if (!args
) SWIG_fail
;
29257 swig_obj
[0] = args
;
29258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29259 if (!SWIG_IsOK(res1
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29262 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 (arg1
)->OnBeginPrinting();
29266 wxPyEndAllowThreads(__tstate
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= SWIG_Py_Void();
29276 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29277 PyObject
*resultobj
= 0;
29278 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29281 PyObject
*swig_obj
[1] ;
29283 if (!args
) SWIG_fail
;
29284 swig_obj
[0] = args
;
29285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29286 if (!SWIG_IsOK(res1
)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29289 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29292 (arg1
)->OnEndPrinting();
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= SWIG_Py_Void();
29303 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29304 PyObject
*resultobj
= 0;
29305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29308 PyObject
*swig_obj
[1] ;
29310 if (!args
) SWIG_fail
;
29311 swig_obj
[0] = args
;
29312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29313 if (!SWIG_IsOK(res1
)) {
29314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29316 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 (arg1
)->OnPreparePrinting();
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 resultobj
= SWIG_Py_Void();
29330 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
= 0;
29332 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 char * kwnames
[] = {
29342 (char *) "self",(char *) "page", NULL
29345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29347 if (!SWIG_IsOK(res1
)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29350 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29352 if (!SWIG_IsOK(ecode2
)) {
29353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29355 arg2
= static_cast< int >(val2
);
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= (bool)(arg1
)->HasPage(arg2
);
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29371 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29372 PyObject
*resultobj
= 0;
29373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29374 int *arg2
= (int *) 0 ;
29375 int *arg3
= (int *) 0 ;
29376 int *arg4
= (int *) 0 ;
29377 int *arg5
= (int *) 0 ;
29381 int res2
= SWIG_TMPOBJ
;
29383 int res3
= SWIG_TMPOBJ
;
29385 int res4
= SWIG_TMPOBJ
;
29387 int res5
= SWIG_TMPOBJ
;
29388 PyObject
*swig_obj
[1] ;
29394 if (!args
) SWIG_fail
;
29395 swig_obj
[0] = args
;
29396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29400 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_Py_Void();
29408 if (SWIG_IsTmpObj(res2
)) {
29409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29411 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29414 if (SWIG_IsTmpObj(res3
)) {
29415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29417 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29418 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29420 if (SWIG_IsTmpObj(res4
)) {
29421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29423 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29426 if (SWIG_IsTmpObj(res5
)) {
29427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29429 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29438 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29441 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29442 return SWIG_Py_Void();
29445 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29446 return SWIG_Python_InitShadowInstance(args
);
29449 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29450 PyObject
*resultobj
= 0;
29451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29452 wxWindow
*arg2
= (wxWindow
*) 0 ;
29453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29457 long arg5
= (long) 0 ;
29458 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29459 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29460 wxPreviewCanvas
*result
= 0 ;
29469 bool temp6
= false ;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 PyObject
* obj2
= 0 ;
29473 PyObject
* obj3
= 0 ;
29474 PyObject
* obj4
= 0 ;
29475 PyObject
* obj5
= 0 ;
29476 char * kwnames
[] = {
29477 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29482 if (!SWIG_IsOK(res1
)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29485 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29487 if (!SWIG_IsOK(res2
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29490 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29500 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29504 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29505 if (!SWIG_IsOK(ecode5
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29508 arg5
= static_cast< long >(val5
);
29512 arg6
= wxString_in_helper(obj5
);
29513 if (arg6
== NULL
) SWIG_fail
;
29518 if (!wxPyCheckForApp()) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29539 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29543 return SWIG_Py_Void();
29546 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29547 return SWIG_Python_InitShadowInstance(args
);
29550 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
= 0;
29552 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29553 wxFrame
*arg2
= (wxFrame
*) 0 ;
29554 wxString
*arg3
= 0 ;
29555 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29556 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29557 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29558 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29559 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29560 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29561 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29562 wxPreviewFrame
*result
= 0 ;
29566 bool temp3
= false ;
29571 bool temp7
= false ;
29572 PyObject
* obj0
= 0 ;
29573 PyObject
* obj1
= 0 ;
29574 PyObject
* obj2
= 0 ;
29575 PyObject
* obj3
= 0 ;
29576 PyObject
* obj4
= 0 ;
29577 PyObject
* obj5
= 0 ;
29578 PyObject
* obj6
= 0 ;
29579 char * kwnames
[] = {
29580 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29584 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29585 if (!SWIG_IsOK(res1
)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29589 if (!SWIG_IsOK(res2
)) {
29590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29592 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29594 arg3
= wxString_in_helper(obj2
);
29595 if (arg3
== NULL
) SWIG_fail
;
29601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29611 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29612 if (!SWIG_IsOK(ecode6
)) {
29613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29615 arg6
= static_cast< long >(val6
);
29619 arg7
= wxString_in_helper(obj6
);
29620 if (arg7
== NULL
) SWIG_fail
;
29625 if (!wxPyCheckForApp()) SWIG_fail
;
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29627 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29628 wxPyEndAllowThreads(__tstate
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29654 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29655 PyObject
*resultobj
= 0;
29656 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29659 PyObject
*swig_obj
[1] ;
29661 if (!args
) SWIG_fail
;
29662 swig_obj
[0] = args
;
29663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29667 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 (arg1
)->Initialize();
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= SWIG_Py_Void();
29681 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29682 PyObject
*resultobj
= 0;
29683 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29686 PyObject
*swig_obj
[1] ;
29688 if (!args
) SWIG_fail
;
29689 swig_obj
[0] = args
;
29690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29691 if (!SWIG_IsOK(res1
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29694 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 (arg1
)->CreateControlBar();
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 resultobj
= SWIG_Py_Void();
29708 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29709 PyObject
*resultobj
= 0;
29710 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29713 PyObject
*swig_obj
[1] ;
29715 if (!args
) SWIG_fail
;
29716 swig_obj
[0] = args
;
29717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29718 if (!SWIG_IsOK(res1
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29721 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 (arg1
)->CreateCanvas();
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= SWIG_Py_Void();
29735 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29736 PyObject
*resultobj
= 0;
29737 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29738 wxPreviewControlBar
*result
= 0 ;
29741 PyObject
*swig_obj
[1] ;
29743 if (!args
) SWIG_fail
;
29744 swig_obj
[0] = args
;
29745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29746 if (!SWIG_IsOK(res1
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29749 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29763 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29766 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29767 return SWIG_Py_Void();
29770 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29771 return SWIG_Python_InitShadowInstance(args
);
29774 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29775 PyObject
*resultobj
= 0;
29776 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29778 wxWindow
*arg3
= (wxWindow
*) 0 ;
29779 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29780 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29781 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29782 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29783 long arg6
= (long) wxTAB_TRAVERSAL
;
29784 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29785 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29786 wxPreviewControlBar
*result
= 0 ;
29797 bool temp7
= false ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 PyObject
* obj2
= 0 ;
29801 PyObject
* obj3
= 0 ;
29802 PyObject
* obj4
= 0 ;
29803 PyObject
* obj5
= 0 ;
29804 PyObject
* obj6
= 0 ;
29805 char * kwnames
[] = {
29806 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29811 if (!SWIG_IsOK(res1
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29814 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29815 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29816 if (!SWIG_IsOK(ecode2
)) {
29817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29819 arg2
= static_cast< long >(val2
);
29820 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29821 if (!SWIG_IsOK(res3
)) {
29822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29824 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29828 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29834 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29838 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29839 if (!SWIG_IsOK(ecode6
)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29842 arg6
= static_cast< long >(val6
);
29846 arg7
= wxString_in_helper(obj6
);
29847 if (arg7
== NULL
) SWIG_fail
;
29852 if (!wxPyCheckForApp()) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29873 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29874 PyObject
*resultobj
= 0;
29875 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29879 PyObject
*swig_obj
[1] ;
29881 if (!args
) SWIG_fail
;
29882 swig_obj
[0] = args
;
29883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29884 if (!SWIG_IsOK(res1
)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29887 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29890 result
= (int)(arg1
)->GetZoomControl();
29891 wxPyEndAllowThreads(__tstate
);
29892 if (PyErr_Occurred()) SWIG_fail
;
29894 resultobj
= SWIG_From_int(static_cast< int >(result
));
29901 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
= 0;
29903 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 char * kwnames
[] = {
29912 (char *) "self",(char *) "zoom", NULL
29915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29920 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29922 if (!SWIG_IsOK(ecode2
)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29925 arg2
= static_cast< int >(val2
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 (arg1
)->SetZoomControl(arg2
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_Py_Void();
29939 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29940 PyObject
*resultobj
= 0;
29941 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29942 wxPrintPreview
*result
= 0 ;
29945 PyObject
*swig_obj
[1] ;
29947 if (!args
) SWIG_fail
;
29948 swig_obj
[0] = args
;
29949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29953 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29967 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29968 PyObject
*resultobj
= 0;
29969 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29972 PyObject
*swig_obj
[1] ;
29974 if (!args
) SWIG_fail
;
29975 swig_obj
[0] = args
;
29976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29977 if (!SWIG_IsOK(res1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29980 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= SWIG_Py_Void();
29994 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29995 PyObject
*resultobj
= 0;
29996 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29999 PyObject
*swig_obj
[1] ;
30001 if (!args
) SWIG_fail
;
30002 swig_obj
[0] = args
;
30003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30004 if (!SWIG_IsOK(res1
)) {
30005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30007 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 (arg1
)->OnPrevious();
30011 wxPyEndAllowThreads(__tstate
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30014 resultobj
= SWIG_Py_Void();
30021 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30022 PyObject
*resultobj
= 0;
30023 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30026 PyObject
*swig_obj
[1] ;
30028 if (!args
) SWIG_fail
;
30029 swig_obj
[0] = args
;
30030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30031 if (!SWIG_IsOK(res1
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30034 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_Py_Void();
30048 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30049 PyObject
*resultobj
= 0;
30050 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30053 PyObject
*swig_obj
[1] ;
30055 if (!args
) SWIG_fail
;
30056 swig_obj
[0] = args
;
30057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30058 if (!SWIG_IsOK(res1
)) {
30059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30061 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= SWIG_Py_Void();
30075 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30076 PyObject
*resultobj
= 0;
30077 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30080 PyObject
*swig_obj
[1] ;
30082 if (!args
) SWIG_fail
;
30083 swig_obj
[0] = args
;
30084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30085 if (!SWIG_IsOK(res1
)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30088 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= SWIG_Py_Void();
30102 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30106 return SWIG_Py_Void();
30109 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30110 return SWIG_Python_InitShadowInstance(args
);
30113 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30114 PyObject
*resultobj
= 0;
30115 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30116 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30117 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30118 wxPrintPreview
*result
= 0 ;
30124 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30125 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30129 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30130 if (!SWIG_IsOK(res2
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30134 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30135 if (!SWIG_IsOK(res3
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30138 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30141 if (!wxPyCheckForApp()) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30154 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30155 PyObject
*resultobj
= 0;
30156 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30157 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30158 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30159 wxPrintPreview
*result
= 0 ;
30165 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30166 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30170 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30171 if (!SWIG_IsOK(res2
)) {
30172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30174 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30175 if (!SWIG_IsOK(res3
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30178 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30180 if (!wxPyCheckForApp()) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30193 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30197 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30199 if ((argc
>= 2) && (argc
<= 3)) {
30204 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30205 _v
= SWIG_CheckState(res
);
30207 if (!_v
) goto check_1
;
30209 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30214 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30218 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30223 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30224 PyObject
*resultobj
= 0;
30225 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30228 PyObject
*swig_obj
[1] ;
30230 if (!args
) SWIG_fail
;
30231 swig_obj
[0] = args
;
30232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30233 if (!SWIG_IsOK(res1
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30236 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_Py_Void();
30251 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
= 0;
30253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 char * kwnames
[] = {
30263 (char *) "self",(char *) "pageNum", NULL
30266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30268 if (!SWIG_IsOK(res1
)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30271 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30273 if (!SWIG_IsOK(ecode2
)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30276 arg2
= static_cast< int >(val2
);
30278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30279 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30292 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30293 PyObject
*resultobj
= 0;
30294 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30298 PyObject
*swig_obj
[1] ;
30300 if (!args
) SWIG_fail
;
30301 swig_obj
[0] = args
;
30302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30303 if (!SWIG_IsOK(res1
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30306 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (int)(arg1
)->GetCurrentPage();
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= SWIG_From_int(static_cast< int >(result
));
30320 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
= 0;
30322 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30323 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30327 PyObject
* obj0
= 0 ;
30328 PyObject
* obj1
= 0 ;
30329 char * kwnames
[] = {
30330 (char *) "self",(char *) "printout", NULL
30333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30338 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30339 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30340 if (!SWIG_IsOK(res2
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->SetPrintout(arg2
);
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= SWIG_Py_Void();
30356 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30357 PyObject
*resultobj
= 0;
30358 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30359 wxPyPrintout
*result
= 0 ;
30362 PyObject
*swig_obj
[1] ;
30364 if (!args
) SWIG_fail
;
30365 swig_obj
[0] = args
;
30366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30370 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= wxPyMake_wxObject(result
, 0);
30386 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30387 PyObject
*resultobj
= 0;
30388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30389 wxPyPrintout
*result
= 0 ;
30392 PyObject
*swig_obj
[1] ;
30394 if (!args
) SWIG_fail
;
30395 swig_obj
[0] = args
;
30396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30400 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= wxPyMake_wxObject(result
, 0);
30416 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
= 0;
30418 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30419 wxFrame
*arg2
= (wxFrame
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 char * kwnames
[] = {
30427 (char *) "self",(char *) "frame", NULL
30430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30432 if (!SWIG_IsOK(res1
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30435 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30437 if (!SWIG_IsOK(res2
)) {
30438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30440 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 (arg1
)->SetFrame(arg2
);
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 resultobj
= SWIG_Py_Void();
30454 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= 0;
30456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30457 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 char * kwnames
[] = {
30465 (char *) "self",(char *) "canvas", NULL
30468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30470 if (!SWIG_IsOK(res1
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30473 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30475 if (!SWIG_IsOK(res2
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30478 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 (arg1
)->SetCanvas(arg2
);
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= SWIG_Py_Void();
30492 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30493 PyObject
*resultobj
= 0;
30494 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30495 wxFrame
*result
= 0 ;
30498 PyObject
*swig_obj
[1] ;
30500 if (!args
) SWIG_fail
;
30501 swig_obj
[0] = args
;
30502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30506 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 result
= (wxFrame
*)(arg1
)->GetFrame();
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30514 resultobj
= wxPyMake_wxObject(result
, 0);
30522 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30523 PyObject
*resultobj
= 0;
30524 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30525 wxPreviewCanvas
*result
= 0 ;
30528 PyObject
*swig_obj
[1] ;
30530 if (!args
) SWIG_fail
;
30531 swig_obj
[0] = args
;
30532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30533 if (!SWIG_IsOK(res1
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30536 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30550 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
= 0;
30552 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30553 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30562 PyObject
* obj0
= 0 ;
30563 PyObject
* obj1
= 0 ;
30564 PyObject
* obj2
= 0 ;
30565 char * kwnames
[] = {
30566 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30571 if (!SWIG_IsOK(res1
)) {
30572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30574 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30576 if (!SWIG_IsOK(res2
)) {
30577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30579 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30580 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30581 if (!SWIG_IsOK(res3
)) {
30582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30587 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30603 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
= 0;
30605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30606 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30615 PyObject
* obj0
= 0 ;
30616 PyObject
* obj1
= 0 ;
30617 PyObject
* obj2
= 0 ;
30618 char * kwnames
[] = {
30619 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30627 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30629 if (!SWIG_IsOK(res2
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30632 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30633 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30634 if (!SWIG_IsOK(res3
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30640 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30656 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
= 0;
30658 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 PyObject
* obj1
= 0 ;
30667 char * kwnames
[] = {
30668 (char *) "self",(char *) "pageNum", NULL
30671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30673 if (!SWIG_IsOK(res1
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30676 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30678 if (!SWIG_IsOK(ecode2
)) {
30679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30681 arg2
= static_cast< int >(val2
);
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 result
= (bool)(arg1
)->RenderPage(arg2
);
30685 wxPyEndAllowThreads(__tstate
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30697 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30698 PyObject
*resultobj
= 0;
30699 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30700 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30705 PyObject
* obj0
= 0 ;
30706 PyObject
* obj1
= 0 ;
30707 char * kwnames
[] = {
30708 (char *) "self",(char *) "canvas", NULL
30711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30713 if (!SWIG_IsOK(res1
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30716 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30718 if (!SWIG_IsOK(res2
)) {
30719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30721 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30724 (arg1
)->AdjustScrollbars(arg2
);
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 resultobj
= SWIG_Py_Void();
30735 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30736 PyObject
*resultobj
= 0;
30737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30738 wxPrintDialogData
*result
= 0 ;
30741 PyObject
*swig_obj
[1] ;
30743 if (!args
) SWIG_fail
;
30744 swig_obj
[0] = args
;
30745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30746 if (!SWIG_IsOK(res1
)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30749 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30754 result
= (wxPrintDialogData
*) &_result_ref
;
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30766 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
= 0;
30768 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 char * kwnames
[] = {
30777 (char *) "self",(char *) "percent", NULL
30780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30782 if (!SWIG_IsOK(res1
)) {
30783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30785 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30787 if (!SWIG_IsOK(ecode2
)) {
30788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30790 arg2
= static_cast< int >(val2
);
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 (arg1
)->SetZoom(arg2
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= SWIG_Py_Void();
30804 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30805 PyObject
*resultobj
= 0;
30806 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30810 PyObject
*swig_obj
[1] ;
30812 if (!args
) SWIG_fail
;
30813 swig_obj
[0] = args
;
30814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30815 if (!SWIG_IsOK(res1
)) {
30816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30818 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 result
= (int)(arg1
)->GetZoom();
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= SWIG_From_int(static_cast< int >(result
));
30832 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 PyObject
*resultobj
= 0;
30834 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30838 PyObject
*swig_obj
[1] ;
30840 if (!args
) SWIG_fail
;
30841 swig_obj
[0] = args
;
30842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30846 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (int)(arg1
)->GetMaxPage();
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_From_int(static_cast< int >(result
));
30860 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30861 PyObject
*resultobj
= 0;
30862 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30866 PyObject
*swig_obj
[1] ;
30868 if (!args
) SWIG_fail
;
30869 swig_obj
[0] = args
;
30870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30874 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 result
= (int)(arg1
)->GetMinPage();
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_From_int(static_cast< int >(result
));
30888 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30889 PyObject
*resultobj
= 0;
30890 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30894 PyObject
*swig_obj
[1] ;
30896 if (!args
) SWIG_fail
;
30897 swig_obj
[0] = args
;
30898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30899 if (!SWIG_IsOK(res1
)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30902 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 result
= (bool)(arg1
)->IsOk();
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30918 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30919 PyObject
*resultobj
= 0;
30920 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30926 PyObject
* obj0
= 0 ;
30927 PyObject
* obj1
= 0 ;
30928 char * kwnames
[] = {
30929 (char *) "self",(char *) "ok", NULL
30932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30934 if (!SWIG_IsOK(res1
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30937 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30939 if (!SWIG_IsOK(ecode2
)) {
30940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30942 arg2
= static_cast< bool >(val2
);
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 (arg1
)->SetOk(arg2
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= SWIG_Py_Void();
30956 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
= 0;
30958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char * kwnames
[] = {
30968 (char *) "self",(char *) "interactive", NULL
30971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30973 if (!SWIG_IsOK(res1
)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30976 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30977 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30978 if (!SWIG_IsOK(ecode2
)) {
30979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30981 arg2
= static_cast< bool >(val2
);
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30984 result
= (bool)(arg1
)->Print(arg2
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30997 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30998 PyObject
*resultobj
= 0;
30999 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31002 PyObject
*swig_obj
[1] ;
31004 if (!args
) SWIG_fail
;
31005 swig_obj
[0] = args
;
31006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31010 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 (arg1
)->DetermineScaling();
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= SWIG_Py_Void();
31024 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
31028 return SWIG_Py_Void();
31031 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31032 return SWIG_Python_InitShadowInstance(args
);
31035 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31036 PyObject
*resultobj
= 0;
31037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31038 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31039 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
31040 wxPyPrintPreview
*result
= 0 ;
31046 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
31047 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31051 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31052 if (!SWIG_IsOK(res2
)) {
31053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31056 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
31057 if (!SWIG_IsOK(res3
)) {
31058 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31060 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
31063 if (!wxPyCheckForApp()) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31076 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31077 PyObject
*resultobj
= 0;
31078 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31079 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31080 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31081 wxPyPrintPreview
*result
= 0 ;
31087 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31088 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31092 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31093 if (!SWIG_IsOK(res2
)) {
31094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31096 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31097 if (!SWIG_IsOK(res3
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31100 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31102 if (!wxPyCheckForApp()) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31105 wxPyEndAllowThreads(__tstate
);
31106 if (PyErr_Occurred()) SWIG_fail
;
31108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31115 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31119 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31121 if ((argc
>= 2) && (argc
<= 3)) {
31126 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31127 _v
= SWIG_CheckState(res
);
31129 if (!_v
) goto check_1
;
31131 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31136 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31140 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31145 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
= 0;
31147 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31148 PyObject
*arg2
= (PyObject
*) 0 ;
31149 PyObject
*arg3
= (PyObject
*) 0 ;
31152 PyObject
* obj0
= 0 ;
31153 PyObject
* obj1
= 0 ;
31154 PyObject
* obj2
= 0 ;
31155 char * kwnames
[] = {
31156 (char *) "self",(char *) "self",(char *) "_class", NULL
31159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31164 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_Py_Void();
31180 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31183 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31184 return SWIG_Py_Void();
31187 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31188 return SWIG_Python_InitShadowInstance(args
);
31191 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
= 0;
31193 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31194 wxFrame
*arg2
= (wxFrame
*) 0 ;
31195 wxString
*arg3
= 0 ;
31196 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31197 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31198 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31199 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31200 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31201 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31202 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31203 wxPyPreviewFrame
*result
= 0 ;
31207 bool temp3
= false ;
31212 bool temp7
= false ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 PyObject
* obj2
= 0 ;
31216 PyObject
* obj3
= 0 ;
31217 PyObject
* obj4
= 0 ;
31218 PyObject
* obj5
= 0 ;
31219 PyObject
* obj6
= 0 ;
31220 char * kwnames
[] = {
31221 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31225 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31226 if (!SWIG_IsOK(res1
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31230 if (!SWIG_IsOK(res2
)) {
31231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31233 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31235 arg3
= wxString_in_helper(obj2
);
31236 if (arg3
== NULL
) SWIG_fail
;
31242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31252 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31253 if (!SWIG_IsOK(ecode6
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31256 arg6
= static_cast< long >(val6
);
31260 arg7
= wxString_in_helper(obj6
);
31261 if (arg7
== NULL
) SWIG_fail
;
31266 if (!wxPyCheckForApp()) SWIG_fail
;
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31295 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31296 PyObject
*resultobj
= 0;
31297 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31298 PyObject
*arg2
= (PyObject
*) 0 ;
31299 PyObject
*arg3
= (PyObject
*) 0 ;
31302 PyObject
* obj0
= 0 ;
31303 PyObject
* obj1
= 0 ;
31304 PyObject
* obj2
= 0 ;
31305 char * kwnames
[] = {
31306 (char *) "self",(char *) "self",(char *) "_class", NULL
31309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31311 if (!SWIG_IsOK(res1
)) {
31312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31314 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31323 resultobj
= SWIG_Py_Void();
31330 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
= 0;
31332 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31333 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31338 PyObject
* obj0
= 0 ;
31339 PyObject
* obj1
= 0 ;
31340 char * kwnames
[] = {
31341 (char *) "self",(char *) "canvas", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31349 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31351 if (!SWIG_IsOK(res2
)) {
31352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31354 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 (arg1
)->SetPreviewCanvas(arg2
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 resultobj
= SWIG_Py_Void();
31368 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
= 0;
31370 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31371 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 char * kwnames
[] = {
31379 (char *) "self",(char *) "bar", NULL
31382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31384 if (!SWIG_IsOK(res1
)) {
31385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31387 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31389 if (!SWIG_IsOK(res2
)) {
31390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31392 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 (arg1
)->SetControlBar(arg2
);
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 resultobj
= SWIG_Py_Void();
31406 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31407 PyObject
*resultobj
= 0;
31408 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31411 PyObject
*swig_obj
[1] ;
31413 if (!args
) SWIG_fail
;
31414 swig_obj
[0] = args
;
31415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31419 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31422 (arg1
)->Initialize();
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= SWIG_Py_Void();
31433 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31434 PyObject
*resultobj
= 0;
31435 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31438 PyObject
*swig_obj
[1] ;
31440 if (!args
) SWIG_fail
;
31441 swig_obj
[0] = args
;
31442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31443 if (!SWIG_IsOK(res1
)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31446 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 (arg1
)->CreateCanvas();
31450 wxPyEndAllowThreads(__tstate
);
31451 if (PyErr_Occurred()) SWIG_fail
;
31453 resultobj
= SWIG_Py_Void();
31460 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31461 PyObject
*resultobj
= 0;
31462 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31465 PyObject
*swig_obj
[1] ;
31467 if (!args
) SWIG_fail
;
31468 swig_obj
[0] = args
;
31469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31470 if (!SWIG_IsOK(res1
)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31473 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 (arg1
)->CreateControlBar();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= SWIG_Py_Void();
31487 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31490 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31491 return SWIG_Py_Void();
31494 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31495 return SWIG_Python_InitShadowInstance(args
);
31498 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
= 0;
31500 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31502 wxWindow
*arg3
= (wxWindow
*) 0 ;
31503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31507 long arg6
= (long) 0 ;
31508 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31510 wxPyPreviewControlBar
*result
= 0 ;
31520 bool temp7
= false ;
31521 PyObject
* obj0
= 0 ;
31522 PyObject
* obj1
= 0 ;
31523 PyObject
* obj2
= 0 ;
31524 PyObject
* obj3
= 0 ;
31525 PyObject
* obj4
= 0 ;
31526 PyObject
* obj5
= 0 ;
31527 PyObject
* obj6
= 0 ;
31528 char * kwnames
[] = {
31529 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31533 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31534 if (!SWIG_IsOK(res1
)) {
31535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31537 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31538 if (!SWIG_IsOK(ecode2
)) {
31539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31541 arg2
= static_cast< long >(val2
);
31542 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31543 if (!SWIG_IsOK(res3
)) {
31544 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31546 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31560 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31561 if (!SWIG_IsOK(ecode6
)) {
31562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31564 arg6
= static_cast< long >(val6
);
31568 arg7
= wxString_in_helper(obj6
);
31569 if (arg7
== NULL
) SWIG_fail
;
31574 if (!wxPyCheckForApp()) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31595 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
= 0;
31597 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31598 PyObject
*arg2
= (PyObject
*) 0 ;
31599 PyObject
*arg3
= (PyObject
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 PyObject
* obj1
= 0 ;
31604 PyObject
* obj2
= 0 ;
31605 char * kwnames
[] = {
31606 (char *) "self",(char *) "self",(char *) "_class", NULL
31609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31611 if (!SWIG_IsOK(res1
)) {
31612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31614 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_Py_Void();
31630 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
= 0;
31632 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31633 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31637 PyObject
* obj0
= 0 ;
31638 PyObject
* obj1
= 0 ;
31639 char * kwnames
[] = {
31640 (char *) "self",(char *) "preview", NULL
31643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31645 if (!SWIG_IsOK(res1
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31648 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31649 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31650 if (!SWIG_IsOK(res2
)) {
31651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 (arg1
)->SetPrintPreview(arg2
);
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= SWIG_Py_Void();
31666 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31667 PyObject
*resultobj
= 0;
31668 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31671 PyObject
*swig_obj
[1] ;
31673 if (!args
) SWIG_fail
;
31674 swig_obj
[0] = args
;
31675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31676 if (!SWIG_IsOK(res1
)) {
31677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31679 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 (arg1
)->CreateButtons();
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 resultobj
= SWIG_Py_Void();
31693 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31694 PyObject
*resultobj
= 0;
31695 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31701 PyObject
* obj0
= 0 ;
31702 PyObject
* obj1
= 0 ;
31703 char * kwnames
[] = {
31704 (char *) "self",(char *) "zoom", NULL
31707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31709 if (!SWIG_IsOK(res1
)) {
31710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31712 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31714 if (!SWIG_IsOK(ecode2
)) {
31715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31717 arg2
= static_cast< int >(val2
);
31719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31720 (arg1
)->SetZoomControl(arg2
);
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31724 resultobj
= SWIG_Py_Void();
31731 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31734 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31735 return SWIG_Py_Void();
31738 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31739 return SWIG_Python_InitShadowInstance(args
);
31742 static PyMethodDef SwigMethods
[] = {
31743 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31745 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31747 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31750 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31752 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31759 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31761 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31763 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31764 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31765 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31766 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31767 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31770 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31773 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31774 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31776 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31778 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31779 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31780 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31781 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31785 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31787 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31791 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31793 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31795 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31798 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31799 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31801 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31803 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31805 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31808 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31815 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31817 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31822 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31823 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31825 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31828 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31830 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31832 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31837 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31838 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31842 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31844 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31846 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31847 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31850 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31851 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31852 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31854 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31855 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31856 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31857 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31858 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31860 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31863 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31872 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31873 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31875 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31876 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31878 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31880 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31881 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31883 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31889 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31890 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31893 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31894 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31896 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31898 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31900 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31902 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31904 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31906 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31907 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31910 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31911 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31912 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31913 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31914 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31915 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31917 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31923 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31925 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31928 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31929 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31932 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31933 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31935 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31936 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31937 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31940 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31942 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31944 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31945 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31946 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31949 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31951 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31953 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31955 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31957 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31958 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31959 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31962 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31964 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31965 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31966 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31968 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31970 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31971 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31975 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31976 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31977 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31978 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31982 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31983 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31985 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31989 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31991 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31994 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31995 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31996 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31999 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
32000 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
32001 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
32003 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
32012 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
32013 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
32014 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
32015 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
32017 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
32018 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32022 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
32024 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
32027 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
32028 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
32029 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
32032 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
32033 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
32035 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
32036 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
32038 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
32043 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
32044 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
32048 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
32051 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
32052 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
32054 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
32058 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32060 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32061 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
32063 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32065 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32066 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
32067 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
32068 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
32070 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
32071 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
32072 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
32074 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
32076 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32077 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32079 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32080 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32081 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32082 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32083 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32084 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32090 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32092 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32093 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32094 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32097 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32098 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32101 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32102 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32110 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32111 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32112 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32113 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32114 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32115 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32116 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32117 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32118 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32119 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32122 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32123 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32124 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32126 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32127 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32129 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32130 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32132 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32134 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32135 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32138 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32140 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32142 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32143 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32144 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32146 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32147 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32148 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32149 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32150 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32151 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32158 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32159 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32161 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32162 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32163 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32166 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32167 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32171 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32172 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32173 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32175 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32176 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32177 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32178 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32182 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32183 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32185 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32186 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32187 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32188 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32192 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32193 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32195 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32197 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32199 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32200 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32202 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32204 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32205 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32206 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32207 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32208 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32209 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32211 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32212 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32214 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32216 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32217 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32218 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32220 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32222 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32223 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32225 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32232 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32233 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32234 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32235 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32236 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32237 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32238 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32239 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32240 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32242 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32249 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32250 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32251 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32252 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32253 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32254 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32255 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32256 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32257 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32259 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32266 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32267 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32268 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32269 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32270 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32271 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32272 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32273 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32274 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32275 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32276 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32277 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32278 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32279 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32280 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32281 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32282 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32283 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32284 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32285 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32286 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32287 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32288 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32289 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32290 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32304 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32306 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32308 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32309 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32310 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32311 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32317 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32318 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32319 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32320 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32321 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32322 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32323 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32324 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32325 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32326 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32327 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32328 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32329 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32330 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32331 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32341 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32342 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32343 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32344 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32346 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32347 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32348 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32349 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32350 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32351 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32352 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32353 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32354 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32355 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32356 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32357 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32358 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32359 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32360 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32361 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32362 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32376 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32377 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32378 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32379 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32380 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32381 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32383 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32384 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32386 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32387 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32388 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32389 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32390 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32391 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32392 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32394 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32400 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32401 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32402 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32403 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32404 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32406 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32408 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32409 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32414 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32415 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32417 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32418 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32419 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32424 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32426 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32428 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32430 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32432 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32433 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32436 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32437 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32438 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32439 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32441 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32442 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32443 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32445 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32446 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32448 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32449 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32450 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32451 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32452 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32453 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32455 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32457 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32458 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32459 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32460 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32461 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32462 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32463 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32464 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32465 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32466 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32468 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32470 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32471 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32474 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32475 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32480 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32482 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32483 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32484 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32485 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32488 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32489 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32490 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32491 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32493 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32494 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32499 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32500 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32501 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32502 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32503 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32507 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32509 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32510 { NULL
, NULL
, 0, NULL
}
32514 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32516 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32517 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32519 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32520 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32522 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32523 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32525 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32526 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32528 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32529 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32531 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32532 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32534 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32535 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32537 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32538 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32540 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32541 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32543 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32544 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32546 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32549 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32552 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32553 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32555 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32556 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32558 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32559 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32561 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32562 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32564 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32565 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32567 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32568 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32570 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32571 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32573 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32574 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32576 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32577 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32579 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32580 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32582 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32583 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32585 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32586 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32588 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32589 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32591 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32592 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32594 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32595 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32597 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32598 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32600 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32601 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32603 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32604 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32606 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32607 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32609 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32610 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32612 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32613 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32615 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32616 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32618 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32621 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32624 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32625 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32627 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32628 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32630 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32631 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32633 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32634 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32636 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32639 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32640 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32642 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32643 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32645 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32646 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32648 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32649 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32651 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32652 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32654 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32655 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32657 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32658 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32660 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32661 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32663 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32666 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32669 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
32670 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
32672 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32675 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32676 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32678 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32679 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32681 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32682 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32684 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32685 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32687 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32688 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32690 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32693 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32696 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32699 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32702 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32705 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32708 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32711 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32714 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32715 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32717 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32718 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32720 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32723 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32726 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32729 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32730 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32732 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32735 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32736 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32738 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32739 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32741 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32744 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32745 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32747 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32750 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32751 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32753 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32754 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32756 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32759 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32760 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32762 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32765 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32768 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32771 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32772 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32774 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32777 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32778 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32780 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32783 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32786 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32789 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32792 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32795 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32798 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32799 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32801 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32804 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32807 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32810 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32813 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32816 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32819 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32820 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32822 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32823 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32825 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32826 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32828 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32829 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32831 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32832 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32834 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32835 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32837 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32838 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32840 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32841 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32843 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32844 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32846 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32847 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32849 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32852 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32855 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
32858 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32861 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32864 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32867 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32868 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32870 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32873 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32874 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32876 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32877 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32879 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32880 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32882 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32883 return (void *)((wxObject
*) ((wxSizer
*) x
));
32885 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32886 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32888 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32891 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32894 static void *_p_wxEventTo_p_wxObject(void *x
) {
32895 return (void *)((wxObject
*) ((wxEvent
*) x
));
32897 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32898 return (void *)((wxObject
*) ((wxFontData
*) x
));
32900 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32901 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32903 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32904 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32906 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32907 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32909 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32910 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32912 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32913 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32915 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32916 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32918 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32921 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32924 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32925 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32927 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32928 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32930 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32931 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32933 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32934 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32936 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32937 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32939 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32940 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32942 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32945 static void *_p_wxControlTo_p_wxObject(void *x
) {
32946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32948 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32949 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32951 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32954 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32955 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32957 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32958 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32960 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32961 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32963 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32966 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32967 return (void *)((wxObject
*) ((wxColourData
*) x
));
32969 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32970 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32972 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32975 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32978 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32981 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32984 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32987 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32990 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32993 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32996 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32999 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33002 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33005 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33008 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33009 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33011 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33012 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33014 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33015 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33017 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33018 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33020 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33021 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33023 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33024 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33026 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33027 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33029 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33030 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33032 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33033 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33035 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33036 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33038 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33039 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33041 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33042 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33044 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33045 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33047 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33050 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33051 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33053 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33054 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33056 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33059 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33060 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33062 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33063 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33065 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33066 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33068 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33069 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33071 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33074 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33075 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33077 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33078 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33080 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33083 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33086 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33087 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33089 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33090 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33092 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33093 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33095 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33098 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33101 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33104 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33105 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33107 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33108 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33110 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33113 static void *_p_wxImageTo_p_wxObject(void *x
) {
33114 return (void *)((wxObject
*) ((wxImage
*) x
));
33116 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33119 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33120 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33122 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33123 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33125 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33126 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33128 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33131 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33134 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33137 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33138 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33140 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33141 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33143 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33144 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33146 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33147 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33149 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33152 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33155 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33158 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33161 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33164 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33167 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33170 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33173 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33176 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33179 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33182 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33185 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33188 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33191 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33192 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33194 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33195 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33197 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33200 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33203 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33206 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33209 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33212 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33213 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33215 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33216 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33218 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33219 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33221 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33222 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33224 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33225 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33227 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33228 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33230 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33231 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33233 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33234 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33236 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33237 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33239 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33242 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33243 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33245 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33248 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33251 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33252 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33254 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33255 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33257 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33260 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33263 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33264 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33266 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33267 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33269 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33272 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33273 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33275 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33276 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33278 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33279 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33281 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33282 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33284 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33285 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33287 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33288 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33290 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33291 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33293 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33294 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33296 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33297 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33299 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33300 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33302 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33303 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33305 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33306 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33308 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33309 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33311 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33312 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33314 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33315 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33317 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33318 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33320 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33321 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33323 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33324 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33326 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33327 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33329 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33330 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33332 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33333 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33335 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33336 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33338 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33339 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33341 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33342 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33344 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33345 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33347 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33348 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33350 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33351 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33353 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33354 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33356 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33357 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33359 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33360 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33362 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33363 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33365 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33366 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33368 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33369 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33371 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33372 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33374 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33375 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33377 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33378 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33380 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33383 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33386 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33387 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33389 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33390 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33392 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33393 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33395 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33396 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33398 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33399 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33401 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33402 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33404 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33405 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33407 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33408 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33410 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33411 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33413 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33414 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33416 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33417 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33419 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33420 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33422 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33423 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33425 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33426 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33428 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33429 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33431 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33432 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33434 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33435 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33437 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33438 return (void *)((wxWindow
*) ((wxControl
*) x
));
33440 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33441 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33443 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33444 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33446 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33447 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33449 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33450 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33452 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33453 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33455 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33456 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33458 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33459 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33461 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33462 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33464 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33465 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33467 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33468 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33470 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33471 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33473 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33474 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33476 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33477 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33479 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33480 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33482 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33483 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33485 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33486 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33488 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33489 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33491 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33492 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33494 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33495 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33497 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33498 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33500 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33501 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33503 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33504 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33506 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33507 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33509 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33510 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33512 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33513 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33515 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33516 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33518 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33519 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33521 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33522 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33524 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33525 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33527 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33528 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33530 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33531 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33533 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33534 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33536 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33537 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33539 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33540 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33542 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33543 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33545 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33546 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33548 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33549 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33551 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33552 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33554 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33555 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33557 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33558 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33560 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33561 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33563 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33564 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33566 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33567 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33569 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33570 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33572 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33573 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33575 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33576 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33578 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33579 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33581 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33582 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33584 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33585 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33587 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33588 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33590 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33591 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33593 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33594 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33596 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33597 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33599 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33600 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33602 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33603 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33605 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33606 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33608 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33609 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33610 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};
33611 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33612 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33613 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33614 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33615 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33616 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33617 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33618 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33619 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33620 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33621 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33622 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33623 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33624 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33625 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33626 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33627 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33628 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33629 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33630 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33631 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33632 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33633 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33634 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33635 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33636 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33637 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33638 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33639 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33640 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33641 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33642 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33643 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33644 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33645 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33646 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33647 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33648 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33649 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33650 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33651 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33652 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33653 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33654 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33655 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33656 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33657 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33658 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33659 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33660 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33661 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33662 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33663 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33664 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33665 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33666 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33667 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33668 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33669 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33679 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33680 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33681 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33682 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33683 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33684 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33685 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33686 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33687 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33691 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33692 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33693 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33694 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33695 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33696 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33697 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33698 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33699 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33700 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33701 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33702 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33703 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33704 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33705 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33706 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33707 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33708 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33709 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33710 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33711 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33712 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33713 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33714 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33715 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33716 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33717 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33718 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33719 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33720 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33721 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33722 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33723 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33724 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33725 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33726 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33727 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33728 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33729 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33730 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33731 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33732 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33733 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33734 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33735 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33736 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33737 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33738 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33739 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33740 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33741 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33742 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33743 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33744 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33746 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33747 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33748 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33749 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33750 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33751 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33752 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33753 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33754 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33755 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33756 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33757 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33758 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33759 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33760 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33761 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33762 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33763 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33764 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33765 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33766 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33767 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33768 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33769 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33770 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33771 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33772 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33773 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33774 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33775 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33776 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33777 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33779 static swig_type_info
*swig_type_initial
[] = {
33782 &_swigt__p_form_ops_t
,
33784 &_swigt__p_unsigned_char
,
33785 &_swigt__p_unsigned_int
,
33786 &_swigt__p_unsigned_long
,
33787 &_swigt__p_wxANIHandler
,
33788 &_swigt__p_wxAcceleratorTable
,
33789 &_swigt__p_wxActivateEvent
,
33790 &_swigt__p_wxArrayInt
,
33791 &_swigt__p_wxArrayString
,
33792 &_swigt__p_wxBMPHandler
,
33793 &_swigt__p_wxBitmap
,
33794 &_swigt__p_wxBoxSizer
,
33795 &_swigt__p_wxCURHandler
,
33796 &_swigt__p_wxCalculateLayoutEvent
,
33797 &_swigt__p_wxChildFocusEvent
,
33798 &_swigt__p_wxClipboardTextEvent
,
33799 &_swigt__p_wxCloseEvent
,
33800 &_swigt__p_wxColour
,
33801 &_swigt__p_wxColourData
,
33802 &_swigt__p_wxColourDialog
,
33803 &_swigt__p_wxCommandEvent
,
33804 &_swigt__p_wxContextMenuEvent
,
33805 &_swigt__p_wxControl
,
33806 &_swigt__p_wxControlWithItems
,
33808 &_swigt__p_wxDateEvent
,
33809 &_swigt__p_wxDialog
,
33810 &_swigt__p_wxDirDialog
,
33811 &_swigt__p_wxDisplayChangedEvent
,
33812 &_swigt__p_wxDropFilesEvent
,
33813 &_swigt__p_wxDuplexMode
,
33814 &_swigt__p_wxEraseEvent
,
33815 &_swigt__p_wxEvent
,
33816 &_swigt__p_wxEventBlocker
,
33817 &_swigt__p_wxEvtHandler
,
33818 &_swigt__p_wxFSFile
,
33819 &_swigt__p_wxFileDialog
,
33820 &_swigt__p_wxFileSystem
,
33821 &_swigt__p_wxFindDialogEvent
,
33822 &_swigt__p_wxFindReplaceData
,
33823 &_swigt__p_wxFindReplaceDialog
,
33824 &_swigt__p_wxFlexGridSizer
,
33825 &_swigt__p_wxFocusEvent
,
33827 &_swigt__p_wxFontData
,
33828 &_swigt__p_wxFontDialog
,
33829 &_swigt__p_wxFrame
,
33830 &_swigt__p_wxGBSizerItem
,
33831 &_swigt__p_wxGIFHandler
,
33832 &_swigt__p_wxGridBagSizer
,
33833 &_swigt__p_wxGridSizer
,
33834 &_swigt__p_wxHtmlLinkInfo
,
33835 &_swigt__p_wxICOHandler
,
33837 &_swigt__p_wxIconBundle
,
33838 &_swigt__p_wxIconizeEvent
,
33839 &_swigt__p_wxIdleEvent
,
33840 &_swigt__p_wxImage
,
33841 &_swigt__p_wxImageHandler
,
33842 &_swigt__p_wxIndividualLayoutConstraint
,
33843 &_swigt__p_wxInitDialogEvent
,
33844 &_swigt__p_wxItemContainer
,
33845 &_swigt__p_wxJPEGHandler
,
33846 &_swigt__p_wxKeyEvent
,
33847 &_swigt__p_wxLayoutAlgorithm
,
33848 &_swigt__p_wxLayoutConstraints
,
33849 &_swigt__p_wxMDIChildFrame
,
33850 &_swigt__p_wxMDIClientWindow
,
33851 &_swigt__p_wxMDIParentFrame
,
33852 &_swigt__p_wxMaximizeEvent
,
33854 &_swigt__p_wxMenuBar
,
33855 &_swigt__p_wxMenuEvent
,
33856 &_swigt__p_wxMenuItem
,
33857 &_swigt__p_wxMessageDialog
,
33858 &_swigt__p_wxMiniFrame
,
33859 &_swigt__p_wxMouseCaptureChangedEvent
,
33860 &_swigt__p_wxMouseCaptureLostEvent
,
33861 &_swigt__p_wxMouseEvent
,
33862 &_swigt__p_wxMoveEvent
,
33863 &_swigt__p_wxMultiChoiceDialog
,
33864 &_swigt__p_wxNavigationKeyEvent
,
33865 &_swigt__p_wxNcPaintEvent
,
33866 &_swigt__p_wxNotifyEvent
,
33867 &_swigt__p_wxNumberEntryDialog
,
33868 &_swigt__p_wxObject
,
33869 &_swigt__p_wxPCXHandler
,
33870 &_swigt__p_wxPNGHandler
,
33871 &_swigt__p_wxPNMHandler
,
33872 &_swigt__p_wxPageSetupDialog
,
33873 &_swigt__p_wxPageSetupDialogData
,
33874 &_swigt__p_wxPaintEvent
,
33875 &_swigt__p_wxPaletteChangedEvent
,
33876 &_swigt__p_wxPanel
,
33877 &_swigt__p_wxPaperSize
,
33878 &_swigt__p_wxPasswordEntryDialog
,
33879 &_swigt__p_wxPoint
,
33880 &_swigt__p_wxPopupWindow
,
33881 &_swigt__p_wxPreviewCanvas
,
33882 &_swigt__p_wxPreviewControlBar
,
33883 &_swigt__p_wxPreviewFrame
,
33884 &_swigt__p_wxPrintData
,
33885 &_swigt__p_wxPrintDialog
,
33886 &_swigt__p_wxPrintDialogData
,
33887 &_swigt__p_wxPrintPreview
,
33888 &_swigt__p_wxPrinter
,
33889 &_swigt__p_wxProgressDialog
,
33890 &_swigt__p_wxPyApp
,
33891 &_swigt__p_wxPyCommandEvent
,
33892 &_swigt__p_wxPyEvent
,
33893 &_swigt__p_wxPyHtmlListBox
,
33894 &_swigt__p_wxPyImageHandler
,
33895 &_swigt__p_wxPyPanel
,
33896 &_swigt__p_wxPyPopupTransientWindow
,
33897 &_swigt__p_wxPyPreviewControlBar
,
33898 &_swigt__p_wxPyPreviewFrame
,
33899 &_swigt__p_wxPyPrintPreview
,
33900 &_swigt__p_wxPyPrintout
,
33901 &_swigt__p_wxPyScrolledWindow
,
33902 &_swigt__p_wxPySizer
,
33903 &_swigt__p_wxPyTaskBarIcon
,
33904 &_swigt__p_wxPyVListBox
,
33905 &_swigt__p_wxPyVScrolledWindow
,
33906 &_swigt__p_wxPyValidator
,
33907 &_swigt__p_wxPyWindow
,
33908 &_swigt__p_wxQueryLayoutInfoEvent
,
33909 &_swigt__p_wxQueryNewPaletteEvent
,
33911 &_swigt__p_wxRegion
,
33912 &_swigt__p_wxSashEvent
,
33913 &_swigt__p_wxSashLayoutWindow
,
33914 &_swigt__p_wxSashWindow
,
33915 &_swigt__p_wxScrollEvent
,
33916 &_swigt__p_wxScrollWinEvent
,
33917 &_swigt__p_wxScrolledWindow
,
33918 &_swigt__p_wxSetCursorEvent
,
33919 &_swigt__p_wxShowEvent
,
33920 &_swigt__p_wxSimpleHtmlListBox
,
33921 &_swigt__p_wxSingleChoiceDialog
,
33923 &_swigt__p_wxSizeEvent
,
33924 &_swigt__p_wxSizer
,
33925 &_swigt__p_wxSizerItem
,
33926 &_swigt__p_wxSplashScreen
,
33927 &_swigt__p_wxSplashScreenWindow
,
33928 &_swigt__p_wxSplitterEvent
,
33929 &_swigt__p_wxSplitterWindow
,
33930 &_swigt__p_wxStaticBoxSizer
,
33931 &_swigt__p_wxStatusBar
,
33932 &_swigt__p_wxStdDialogButtonSizer
,
33933 &_swigt__p_wxString
,
33934 &_swigt__p_wxSysColourChangedEvent
,
33935 &_swigt__p_wxTGAHandler
,
33936 &_swigt__p_wxTIFFHandler
,
33937 &_swigt__p_wxTaskBarIcon
,
33938 &_swigt__p_wxTaskBarIconEvent
,
33939 &_swigt__p_wxTextEntryDialog
,
33940 &_swigt__p_wxTipWindow
,
33941 &_swigt__p_wxToolBar
,
33942 &_swigt__p_wxTopLevelWindow
,
33943 &_swigt__p_wxUpdateUIEvent
,
33944 &_swigt__p_wxValidator
,
33945 &_swigt__p_wxVisualAttributes
,
33946 &_swigt__p_wxWindow
,
33947 &_swigt__p_wxWindowCreateEvent
,
33948 &_swigt__p_wxWindowDestroyEvent
,
33949 &_swigt__p_wxXPMHandler
,
33952 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33954 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33955 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33956 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33958 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33959 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
33961 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33962 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33963 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33964 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33965 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33966 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33967 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33968 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33969 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33970 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33971 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33972 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33973 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33974 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33975 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}};
33976 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33977 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}};
33978 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33979 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33980 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33981 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33982 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33983 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33984 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33985 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33986 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33987 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33988 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33989 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33990 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33991 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33992 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33993 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33994 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33995 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33996 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33997 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33998 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33999 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34000 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34001 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34002 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34003 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34004 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34005 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34006 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}};
34007 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34011 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34012 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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}};
34013 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
34014 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
34025 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}};
34026 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
34027 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34029 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34035 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}};
34036 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34037 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34038 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34039 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34040 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34041 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34045 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34047 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34048 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34049 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34050 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34051 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34052 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34053 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34054 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34055 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34056 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34057 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34058 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34059 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34060 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34061 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34062 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34063 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
34064 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34065 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34066 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
34067 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
34068 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34069 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}};
34070 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34071 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34072 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34073 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
34074 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
34075 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}};
34076 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}};
34077 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34078 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34079 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34080 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}};
34081 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34082 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34083 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}};
34084 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34085 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
34086 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34087 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34088 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34092 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}};
34093 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}};
34094 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34097 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34098 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34100 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}};
34101 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34102 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}};
34103 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34115 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}};
34116 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
34119 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}};
34120 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_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}};
34123 static swig_cast_info
*swig_cast_initial
[] = {
34126 _swigc__p_form_ops_t
,
34128 _swigc__p_unsigned_char
,
34129 _swigc__p_unsigned_int
,
34130 _swigc__p_unsigned_long
,
34131 _swigc__p_wxANIHandler
,
34132 _swigc__p_wxAcceleratorTable
,
34133 _swigc__p_wxActivateEvent
,
34134 _swigc__p_wxArrayInt
,
34135 _swigc__p_wxArrayString
,
34136 _swigc__p_wxBMPHandler
,
34137 _swigc__p_wxBitmap
,
34138 _swigc__p_wxBoxSizer
,
34139 _swigc__p_wxCURHandler
,
34140 _swigc__p_wxCalculateLayoutEvent
,
34141 _swigc__p_wxChildFocusEvent
,
34142 _swigc__p_wxClipboardTextEvent
,
34143 _swigc__p_wxCloseEvent
,
34144 _swigc__p_wxColour
,
34145 _swigc__p_wxColourData
,
34146 _swigc__p_wxColourDialog
,
34147 _swigc__p_wxCommandEvent
,
34148 _swigc__p_wxContextMenuEvent
,
34149 _swigc__p_wxControl
,
34150 _swigc__p_wxControlWithItems
,
34152 _swigc__p_wxDateEvent
,
34153 _swigc__p_wxDialog
,
34154 _swigc__p_wxDirDialog
,
34155 _swigc__p_wxDisplayChangedEvent
,
34156 _swigc__p_wxDropFilesEvent
,
34157 _swigc__p_wxDuplexMode
,
34158 _swigc__p_wxEraseEvent
,
34160 _swigc__p_wxEventBlocker
,
34161 _swigc__p_wxEvtHandler
,
34162 _swigc__p_wxFSFile
,
34163 _swigc__p_wxFileDialog
,
34164 _swigc__p_wxFileSystem
,
34165 _swigc__p_wxFindDialogEvent
,
34166 _swigc__p_wxFindReplaceData
,
34167 _swigc__p_wxFindReplaceDialog
,
34168 _swigc__p_wxFlexGridSizer
,
34169 _swigc__p_wxFocusEvent
,
34171 _swigc__p_wxFontData
,
34172 _swigc__p_wxFontDialog
,
34174 _swigc__p_wxGBSizerItem
,
34175 _swigc__p_wxGIFHandler
,
34176 _swigc__p_wxGridBagSizer
,
34177 _swigc__p_wxGridSizer
,
34178 _swigc__p_wxHtmlLinkInfo
,
34179 _swigc__p_wxICOHandler
,
34181 _swigc__p_wxIconBundle
,
34182 _swigc__p_wxIconizeEvent
,
34183 _swigc__p_wxIdleEvent
,
34185 _swigc__p_wxImageHandler
,
34186 _swigc__p_wxIndividualLayoutConstraint
,
34187 _swigc__p_wxInitDialogEvent
,
34188 _swigc__p_wxItemContainer
,
34189 _swigc__p_wxJPEGHandler
,
34190 _swigc__p_wxKeyEvent
,
34191 _swigc__p_wxLayoutAlgorithm
,
34192 _swigc__p_wxLayoutConstraints
,
34193 _swigc__p_wxMDIChildFrame
,
34194 _swigc__p_wxMDIClientWindow
,
34195 _swigc__p_wxMDIParentFrame
,
34196 _swigc__p_wxMaximizeEvent
,
34198 _swigc__p_wxMenuBar
,
34199 _swigc__p_wxMenuEvent
,
34200 _swigc__p_wxMenuItem
,
34201 _swigc__p_wxMessageDialog
,
34202 _swigc__p_wxMiniFrame
,
34203 _swigc__p_wxMouseCaptureChangedEvent
,
34204 _swigc__p_wxMouseCaptureLostEvent
,
34205 _swigc__p_wxMouseEvent
,
34206 _swigc__p_wxMoveEvent
,
34207 _swigc__p_wxMultiChoiceDialog
,
34208 _swigc__p_wxNavigationKeyEvent
,
34209 _swigc__p_wxNcPaintEvent
,
34210 _swigc__p_wxNotifyEvent
,
34211 _swigc__p_wxNumberEntryDialog
,
34212 _swigc__p_wxObject
,
34213 _swigc__p_wxPCXHandler
,
34214 _swigc__p_wxPNGHandler
,
34215 _swigc__p_wxPNMHandler
,
34216 _swigc__p_wxPageSetupDialog
,
34217 _swigc__p_wxPageSetupDialogData
,
34218 _swigc__p_wxPaintEvent
,
34219 _swigc__p_wxPaletteChangedEvent
,
34221 _swigc__p_wxPaperSize
,
34222 _swigc__p_wxPasswordEntryDialog
,
34224 _swigc__p_wxPopupWindow
,
34225 _swigc__p_wxPreviewCanvas
,
34226 _swigc__p_wxPreviewControlBar
,
34227 _swigc__p_wxPreviewFrame
,
34228 _swigc__p_wxPrintData
,
34229 _swigc__p_wxPrintDialog
,
34230 _swigc__p_wxPrintDialogData
,
34231 _swigc__p_wxPrintPreview
,
34232 _swigc__p_wxPrinter
,
34233 _swigc__p_wxProgressDialog
,
34235 _swigc__p_wxPyCommandEvent
,
34236 _swigc__p_wxPyEvent
,
34237 _swigc__p_wxPyHtmlListBox
,
34238 _swigc__p_wxPyImageHandler
,
34239 _swigc__p_wxPyPanel
,
34240 _swigc__p_wxPyPopupTransientWindow
,
34241 _swigc__p_wxPyPreviewControlBar
,
34242 _swigc__p_wxPyPreviewFrame
,
34243 _swigc__p_wxPyPrintPreview
,
34244 _swigc__p_wxPyPrintout
,
34245 _swigc__p_wxPyScrolledWindow
,
34246 _swigc__p_wxPySizer
,
34247 _swigc__p_wxPyTaskBarIcon
,
34248 _swigc__p_wxPyVListBox
,
34249 _swigc__p_wxPyVScrolledWindow
,
34250 _swigc__p_wxPyValidator
,
34251 _swigc__p_wxPyWindow
,
34252 _swigc__p_wxQueryLayoutInfoEvent
,
34253 _swigc__p_wxQueryNewPaletteEvent
,
34255 _swigc__p_wxRegion
,
34256 _swigc__p_wxSashEvent
,
34257 _swigc__p_wxSashLayoutWindow
,
34258 _swigc__p_wxSashWindow
,
34259 _swigc__p_wxScrollEvent
,
34260 _swigc__p_wxScrollWinEvent
,
34261 _swigc__p_wxScrolledWindow
,
34262 _swigc__p_wxSetCursorEvent
,
34263 _swigc__p_wxShowEvent
,
34264 _swigc__p_wxSimpleHtmlListBox
,
34265 _swigc__p_wxSingleChoiceDialog
,
34267 _swigc__p_wxSizeEvent
,
34269 _swigc__p_wxSizerItem
,
34270 _swigc__p_wxSplashScreen
,
34271 _swigc__p_wxSplashScreenWindow
,
34272 _swigc__p_wxSplitterEvent
,
34273 _swigc__p_wxSplitterWindow
,
34274 _swigc__p_wxStaticBoxSizer
,
34275 _swigc__p_wxStatusBar
,
34276 _swigc__p_wxStdDialogButtonSizer
,
34277 _swigc__p_wxString
,
34278 _swigc__p_wxSysColourChangedEvent
,
34279 _swigc__p_wxTGAHandler
,
34280 _swigc__p_wxTIFFHandler
,
34281 _swigc__p_wxTaskBarIcon
,
34282 _swigc__p_wxTaskBarIconEvent
,
34283 _swigc__p_wxTextEntryDialog
,
34284 _swigc__p_wxTipWindow
,
34285 _swigc__p_wxToolBar
,
34286 _swigc__p_wxTopLevelWindow
,
34287 _swigc__p_wxUpdateUIEvent
,
34288 _swigc__p_wxValidator
,
34289 _swigc__p_wxVisualAttributes
,
34290 _swigc__p_wxWindow
,
34291 _swigc__p_wxWindowCreateEvent
,
34292 _swigc__p_wxWindowDestroyEvent
,
34293 _swigc__p_wxXPMHandler
,
34297 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34299 static swig_const_info swig_const_table
[] = {
34300 {0, 0, 0, 0.0, 0, 0}};
34305 /* -----------------------------------------------------------------------------
34306 * Type initialization:
34307 * This problem is tough by the requirement that no dynamic
34308 * memory is used. Also, since swig_type_info structures store pointers to
34309 * swig_cast_info structures and swig_cast_info structures store pointers back
34310 * to swig_type_info structures, we need some lookup code at initialization.
34311 * The idea is that swig generates all the structures that are needed.
34312 * The runtime then collects these partially filled structures.
34313 * The SWIG_InitializeModule function takes these initial arrays out of
34314 * swig_module, and does all the lookup, filling in the swig_module.types
34315 * array with the correct data and linking the correct swig_cast_info
34316 * structures together.
34318 * The generated swig_type_info structures are assigned staticly to an initial
34319 * array. We just loop though that array, and handle each type individually.
34320 * First we lookup if this type has been already loaded, and if so, use the
34321 * loaded structure instead of the generated one. Then we have to fill in the
34322 * cast linked list. The cast data is initially stored in something like a
34323 * two-dimensional array. Each row corresponds to a type (there are the same
34324 * number of rows as there are in the swig_type_initial array). Each entry in
34325 * a column is one of the swig_cast_info structures for that type.
34326 * The cast_initial array is actually an array of arrays, because each row has
34327 * a variable number of columns. So to actually build the cast linked list,
34328 * we find the array of casts associated with the type, and loop through it
34329 * adding the casts to the list. The one last trick we need to do is making
34330 * sure the type pointer in the swig_cast_info struct is correct.
34332 * First off, we lookup the cast->type name to see if it is already loaded.
34333 * There are three cases to handle:
34334 * 1) If the cast->type has already been loaded AND the type we are adding
34335 * casting info to has not been loaded (it is in this module), THEN we
34336 * replace the cast->type pointer with the type pointer that has already
34338 * 2) If BOTH types (the one we are adding casting info to, and the
34339 * cast->type) are loaded, THEN the cast info has already been loaded by
34340 * the previous module so we just ignore it.
34341 * 3) Finally, if cast->type has not already been loaded, then we add that
34342 * swig_cast_info to the linked list (because the cast->type) pointer will
34344 * ----------------------------------------------------------------------------- */
34354 #define SWIGRUNTIME_DEBUG
34358 SWIG_InitializeModule(void *clientdata
) {
34360 swig_module_info
*module_head
;
34361 static int init_run
= 0;
34363 clientdata
= clientdata
;
34365 if (init_run
) return;
34368 /* Initialize the swig_module */
34369 swig_module
.type_initial
= swig_type_initial
;
34370 swig_module
.cast_initial
= swig_cast_initial
;
34372 /* Try and load any already created modules */
34373 module_head
= SWIG_GetModule(clientdata
);
34375 swig_module
.next
= module_head
->next
;
34376 module_head
->next
= &swig_module
;
34378 /* This is the first module loaded */
34379 swig_module
.next
= &swig_module
;
34380 SWIG_SetModule(clientdata
, &swig_module
);
34383 /* Now work on filling in swig_module.types */
34384 #ifdef SWIGRUNTIME_DEBUG
34385 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34387 for (i
= 0; i
< swig_module
.size
; ++i
) {
34388 swig_type_info
*type
= 0;
34389 swig_type_info
*ret
;
34390 swig_cast_info
*cast
;
34392 #ifdef SWIGRUNTIME_DEBUG
34393 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34396 /* if there is another module already loaded */
34397 if (swig_module
.next
!= &swig_module
) {
34398 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34401 /* Overwrite clientdata field */
34402 #ifdef SWIGRUNTIME_DEBUG
34403 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34405 if (swig_module
.type_initial
[i
]->clientdata
) {
34406 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34407 #ifdef SWIGRUNTIME_DEBUG
34408 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34412 type
= swig_module
.type_initial
[i
];
34415 /* Insert casting types */
34416 cast
= swig_module
.cast_initial
[i
];
34417 while (cast
->type
) {
34418 /* Don't need to add information already in the list */
34420 #ifdef SWIGRUNTIME_DEBUG
34421 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34423 if (swig_module
.next
!= &swig_module
) {
34424 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34425 #ifdef SWIGRUNTIME_DEBUG
34426 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34430 if (type
== swig_module
.type_initial
[i
]) {
34431 #ifdef SWIGRUNTIME_DEBUG
34432 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34437 /* Check for casting already in the list */
34438 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34439 #ifdef SWIGRUNTIME_DEBUG
34440 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34442 if (!ocast
) ret
= 0;
34447 #ifdef SWIGRUNTIME_DEBUG
34448 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34451 type
->cast
->prev
= cast
;
34452 cast
->next
= type
->cast
;
34458 /* Set entry in modules->types array equal to the type */
34459 swig_module
.types
[i
] = type
;
34461 swig_module
.types
[i
] = 0;
34463 #ifdef SWIGRUNTIME_DEBUG
34464 printf("**** SWIG_InitializeModule: Cast List ******\n");
34465 for (i
= 0; i
< swig_module
.size
; ++i
) {
34467 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34468 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34469 while (cast
->type
) {
34470 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34474 printf("---- Total casts: %d\n",j
);
34476 printf("**** SWIG_InitializeModule: Cast List ******\n");
34480 /* This function will propagate the clientdata field of type to
34481 * any new swig_type_info structures that have been added into the list
34482 * of equivalent types. It is like calling
34483 * SWIG_TypeClientData(type, clientdata) a second time.
34486 SWIG_PropagateClientData(void) {
34488 swig_cast_info
*equiv
;
34489 static int init_run
= 0;
34491 if (init_run
) return;
34494 for (i
= 0; i
< swig_module
.size
; i
++) {
34495 if (swig_module
.types
[i
]->clientdata
) {
34496 equiv
= swig_module
.types
[i
]->cast
;
34498 if (!equiv
->converter
) {
34499 if (equiv
->type
&& !equiv
->type
->clientdata
)
34500 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34502 equiv
= equiv
->next
;
34522 /* Python-specific SWIG API */
34523 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34524 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34525 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34527 /* -----------------------------------------------------------------------------
34528 * global variable support code.
34529 * ----------------------------------------------------------------------------- */
34531 typedef struct swig_globalvar
{
34532 char *name
; /* Name of global variable */
34533 PyObject
*(*get_attr
)(void); /* Return the current value */
34534 int (*set_attr
)(PyObject
*); /* Set the value */
34535 struct swig_globalvar
*next
;
34538 typedef struct swig_varlinkobject
{
34540 swig_globalvar
*vars
;
34541 } swig_varlinkobject
;
34543 SWIGINTERN PyObject
*
34544 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34545 return PyString_FromString("<Swig global variables>");
34548 SWIGINTERN PyObject
*
34549 swig_varlink_str(swig_varlinkobject
*v
) {
34550 PyObject
*str
= PyString_FromString("(");
34551 swig_globalvar
*var
;
34552 for (var
= v
->vars
; var
; var
=var
->next
) {
34553 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34554 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34556 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34561 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34562 PyObject
*str
= swig_varlink_str(v
);
34563 fprintf(fp
,"Swig global variables ");
34564 fprintf(fp
,"%s\n", PyString_AsString(str
));
34570 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34571 swig_globalvar
*var
= v
->vars
;
34573 swig_globalvar
*n
= var
->next
;
34580 SWIGINTERN PyObject
*
34581 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34582 PyObject
*res
= NULL
;
34583 swig_globalvar
*var
= v
->vars
;
34585 if (strcmp(var
->name
,n
) == 0) {
34586 res
= (*var
->get_attr
)();
34591 if (res
== NULL
&& !PyErr_Occurred()) {
34592 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34598 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34600 swig_globalvar
*var
= v
->vars
;
34602 if (strcmp(var
->name
,n
) == 0) {
34603 res
= (*var
->set_attr
)(p
);
34608 if (res
== 1 && !PyErr_Occurred()) {
34609 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34614 SWIGINTERN PyTypeObject
*
34615 swig_varlink_type(void) {
34616 static char varlink__doc__
[] = "Swig var link object";
34617 static PyTypeObject varlink_type
;
34618 static int type_init
= 0;
34620 const PyTypeObject tmp
34622 PyObject_HEAD_INIT(NULL
)
34623 0, /* Number of items in variable part (ob_size) */
34624 (char *)"swigvarlink", /* Type name (tp_name) */
34625 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34626 0, /* Itemsize (tp_itemsize) */
34627 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34628 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34629 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34630 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34631 0, /* tp_compare */
34632 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34633 0, /* tp_as_number */
34634 0, /* tp_as_sequence */
34635 0, /* tp_as_mapping */
34638 (reprfunc
)swig_varlink_str
, /* tp_str */
34639 0, /* tp_getattro */
34640 0, /* tp_setattro */
34641 0, /* tp_as_buffer */
34643 varlink__doc__
, /* tp_doc */
34644 0, /* tp_traverse */
34646 0, /* tp_richcompare */
34647 0, /* tp_weaklistoffset */
34648 #if PY_VERSION_HEX >= 0x02020000
34649 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34651 #if PY_VERSION_HEX >= 0x02030000
34654 #ifdef COUNT_ALLOCS
34655 0,0,0,0 /* tp_alloc -> tp_next */
34658 varlink_type
= tmp
;
34659 varlink_type
.ob_type
= &PyType_Type
;
34662 return &varlink_type
;
34665 /* Create a variable linking object for use later */
34666 SWIGINTERN PyObject
*
34667 SWIG_Python_newvarlink(void) {
34668 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34672 return ((PyObject
*) result
);
34676 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34677 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34678 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34680 size_t size
= strlen(name
)+1;
34681 gv
->name
= (char *)malloc(size
);
34683 strncpy(gv
->name
,name
,size
);
34684 gv
->get_attr
= get_attr
;
34685 gv
->set_attr
= set_attr
;
34686 gv
->next
= v
->vars
;
34692 SWIGINTERN PyObject
*
34694 static PyObject
*_SWIG_globals
= 0;
34695 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34696 return _SWIG_globals
;
34699 /* -----------------------------------------------------------------------------
34700 * constants/methods manipulation
34701 * ----------------------------------------------------------------------------- */
34703 /* Install Constants */
34705 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34708 for (i
= 0; constants
[i
].type
; ++i
) {
34709 switch(constants
[i
].type
) {
34710 case SWIG_PY_POINTER
:
34711 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34713 case SWIG_PY_BINARY
:
34714 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34721 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34727 /* -----------------------------------------------------------------------------*/
34728 /* Fix SwigMethods to carry the callback ptrs when needed */
34729 /* -----------------------------------------------------------------------------*/
34732 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34733 swig_const_info
*const_table
,
34734 swig_type_info
**types
,
34735 swig_type_info
**types_initial
) {
34737 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34738 const char *c
= methods
[i
].ml_doc
;
34739 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34741 swig_const_info
*ci
= 0;
34742 const char *name
= c
+ 10;
34743 for (j
= 0; const_table
[j
].type
; ++j
) {
34744 if (strncmp(const_table
[j
].name
, name
,
34745 strlen(const_table
[j
].name
)) == 0) {
34746 ci
= &(const_table
[j
]);
34751 size_t shift
= (ci
->ptype
) - types
;
34752 swig_type_info
*ty
= types_initial
[shift
];
34753 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34754 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34755 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34758 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34760 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34762 strncpy(buff
, "swig_ptr: ", 10);
34764 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34765 methods
[i
].ml_doc
= ndoc
;
34777 /* -----------------------------------------------------------------------------*
34778 * Partial Init method
34779 * -----------------------------------------------------------------------------*/
34784 SWIGEXPORT
void SWIG_init(void) {
34787 /* Fix SwigMethods to carry the callback ptrs when needed */
34788 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34790 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34791 d
= PyModule_GetDict(m
);
34793 SWIG_InitializeModule(0);
34794 SWIG_InstallConstants(d
,swig_const_table
);
34797 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34798 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34799 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34800 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34801 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34802 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34803 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34804 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34805 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34806 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34807 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34808 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34809 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34810 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34811 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34812 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34813 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34814 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34815 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34816 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34817 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34818 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34819 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34820 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34821 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34822 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34823 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34824 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34825 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34826 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34827 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34828 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34829 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34830 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34831 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34832 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34833 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34834 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34835 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34836 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34837 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34838 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34839 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34840 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34841 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34842 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34843 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34844 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34845 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34846 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34847 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34848 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34849 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34850 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34851 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34852 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34853 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34854 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34855 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34856 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34857 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34858 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34859 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34860 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34861 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34862 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34863 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34864 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34865 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34866 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34867 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34868 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34869 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34870 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34871 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34872 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34873 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34874 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34875 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34876 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34877 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34878 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34879 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34880 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34881 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34882 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34883 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34884 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34885 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34886 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34887 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34888 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34889 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34890 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34891 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34892 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34893 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34894 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34895 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34896 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34897 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
34898 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
34899 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
34901 // Map renamed classes back to their common name for OOR
34902 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34903 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34904 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34906 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34907 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34908 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34909 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34910 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34911 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34912 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34913 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
34914 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34915 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34916 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34917 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34918 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34919 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34920 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34921 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
34922 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34923 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34924 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34925 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34926 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34927 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34928 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34929 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34930 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34931 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34932 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34933 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34934 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34935 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34936 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34937 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34938 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34939 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34940 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34941 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34942 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34943 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34944 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34945 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34946 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34947 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34948 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34949 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34950 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34951 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34952 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34953 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34954 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34955 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34956 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34957 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34958 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34959 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34960 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34961 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34962 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34963 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34964 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34965 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34966 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34967 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34968 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34969 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34970 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34971 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34972 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34973 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34974 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34975 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34976 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34977 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34978 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34979 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34980 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34981 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34982 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34983 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34984 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34985 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34986 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34987 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34988 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34989 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34990 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34991 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34992 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34993 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34994 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34995 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34996 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34997 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34998 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34999 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
35000 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
35001 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
35002 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
35003 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
35004 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
35006 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");