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_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= 0;
11109 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11110 wxSashEdgePosition arg2
;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 PyObject
* obj2
= 0 ;
11121 char * kwnames
[] = {
11122 (char *) "self",(char *) "edge",(char *) "border", NULL
11125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11130 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11132 if (!SWIG_IsOK(ecode2
)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11135 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11136 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11137 if (!SWIG_IsOK(ecode3
)) {
11138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11140 arg3
= static_cast< bool >(val3
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 (arg1
)->SetSashBorder(arg2
,arg3
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_Py_Void();
11154 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
= 0;
11156 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11157 wxSashEdgePosition arg2
;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "self",(char *) "edge", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11174 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11176 if (!SWIG_IsOK(ecode2
)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11179 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11195 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11198 wxSashEdgePosition arg2
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char * kwnames
[] = {
11207 (char *) "self",(char *) "edge", NULL
11210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11212 if (!SWIG_IsOK(res1
)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11215 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11217 if (!SWIG_IsOK(ecode2
)) {
11218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11220 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= SWIG_From_int(static_cast< int >(result
));
11234 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
= 0;
11236 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 char * kwnames
[] = {
11245 (char *) "self",(char *) "width", NULL
11248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11253 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11255 if (!SWIG_IsOK(ecode2
)) {
11256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11258 arg2
= static_cast< int >(val2
);
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 (arg1
)->SetDefaultBorderSize(arg2
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_Py_Void();
11272 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11273 PyObject
*resultobj
= 0;
11274 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11278 PyObject
*swig_obj
[1] ;
11280 if (!args
) SWIG_fail
;
11281 swig_obj
[0] = args
;
11282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11283 if (!SWIG_IsOK(res1
)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11286 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= SWIG_From_int(static_cast< int >(result
));
11300 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
= 0;
11302 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 char * kwnames
[] = {
11311 (char *) "self",(char *) "width", NULL
11314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11316 if (!SWIG_IsOK(res1
)) {
11317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11319 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11321 if (!SWIG_IsOK(ecode2
)) {
11322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11324 arg2
= static_cast< int >(val2
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 (arg1
)->SetExtraBorderSize(arg2
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_Py_Void();
11338 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 PyObject
*resultobj
= 0;
11340 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11344 PyObject
*swig_obj
[1] ;
11346 if (!args
) SWIG_fail
;
11347 swig_obj
[0] = args
;
11348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11349 if (!SWIG_IsOK(res1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11352 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= SWIG_From_int(static_cast< int >(result
));
11366 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
= 0;
11368 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char * kwnames
[] = {
11377 (char *) "self",(char *) "min", NULL
11380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11382 if (!SWIG_IsOK(res1
)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11385 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11387 if (!SWIG_IsOK(ecode2
)) {
11388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11390 arg2
= static_cast< int >(val2
);
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->SetMinimumSizeX(arg2
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_Py_Void();
11404 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
= 0;
11406 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 char * kwnames
[] = {
11415 (char *) "self",(char *) "min", NULL
11418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11423 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11425 if (!SWIG_IsOK(ecode2
)) {
11426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11428 arg2
= static_cast< int >(val2
);
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 (arg1
)->SetMinimumSizeY(arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_Py_Void();
11442 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11443 PyObject
*resultobj
= 0;
11444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11448 PyObject
*swig_obj
[1] ;
11450 if (!args
) SWIG_fail
;
11451 swig_obj
[0] = args
;
11452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11456 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_From_int(static_cast< int >(result
));
11470 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11471 PyObject
*resultobj
= 0;
11472 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11476 PyObject
*swig_obj
[1] ;
11478 if (!args
) SWIG_fail
;
11479 swig_obj
[0] = args
;
11480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11484 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_From_int(static_cast< int >(result
));
11498 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
= 0;
11500 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 PyObject
* obj1
= 0 ;
11508 char * kwnames
[] = {
11509 (char *) "self",(char *) "max", NULL
11512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11514 if (!SWIG_IsOK(res1
)) {
11515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11517 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11519 if (!SWIG_IsOK(ecode2
)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11522 arg2
= static_cast< int >(val2
);
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 (arg1
)->SetMaximumSizeX(arg2
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_Py_Void();
11536 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
= 0;
11538 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char * kwnames
[] = {
11547 (char *) "self",(char *) "max", NULL
11550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11552 if (!SWIG_IsOK(res1
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11555 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11557 if (!SWIG_IsOK(ecode2
)) {
11558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11560 arg2
= static_cast< int >(val2
);
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 (arg1
)->SetMaximumSizeY(arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_Py_Void();
11574 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11575 PyObject
*resultobj
= 0;
11576 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11580 PyObject
*swig_obj
[1] ;
11582 if (!args
) SWIG_fail
;
11583 swig_obj
[0] = args
;
11584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11585 if (!SWIG_IsOK(res1
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11588 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_From_int(static_cast< int >(result
));
11602 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11603 PyObject
*resultobj
= 0;
11604 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11608 PyObject
*swig_obj
[1] ;
11610 if (!args
) SWIG_fail
;
11611 swig_obj
[0] = args
;
11612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11613 if (!SWIG_IsOK(res1
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11616 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= SWIG_From_int(static_cast< int >(result
));
11630 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
= 0;
11632 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11635 int arg4
= (int) 2 ;
11636 wxSashEdgePosition result
;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 PyObject
* obj2
= 0 ;
11648 PyObject
* obj3
= 0 ;
11649 char * kwnames
[] = {
11650 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11655 if (!SWIG_IsOK(res1
)) {
11656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11658 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11660 if (!SWIG_IsOK(ecode2
)) {
11661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11663 arg2
= static_cast< int >(val2
);
11664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11665 if (!SWIG_IsOK(ecode3
)) {
11666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11668 arg3
= static_cast< int >(val3
);
11670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11671 if (!SWIG_IsOK(ecode4
)) {
11672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11674 arg4
= static_cast< int >(val4
);
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_From_int(static_cast< int >(result
));
11689 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11690 PyObject
*resultobj
= 0;
11691 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11694 PyObject
*swig_obj
[1] ;
11696 if (!args
) SWIG_fail
;
11697 swig_obj
[0] = args
;
11698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11699 if (!SWIG_IsOK(res1
)) {
11700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11702 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 (arg1
)->SizeWindows();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_Py_Void();
11716 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11719 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11720 return SWIG_Py_Void();
11723 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 return SWIG_Python_InitShadowInstance(args
);
11727 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
= 0;
11729 int arg1
= (int) 0 ;
11730 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11731 wxSashEvent
*result
= 0 ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 char * kwnames
[] = {
11739 (char *) "id",(char *) "edge", NULL
11742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11745 if (!SWIG_IsOK(ecode1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11748 arg1
= static_cast< int >(val1
);
11751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11752 if (!SWIG_IsOK(ecode2
)) {
11753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11755 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11770 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
= 0;
11772 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11773 wxSashEdgePosition arg2
;
11778 PyObject
* obj0
= 0 ;
11779 PyObject
* obj1
= 0 ;
11780 char * kwnames
[] = {
11781 (char *) "self",(char *) "edge", NULL
11784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11786 if (!SWIG_IsOK(res1
)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11789 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11791 if (!SWIG_IsOK(ecode2
)) {
11792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11794 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 (arg1
)->SetEdge(arg2
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_Py_Void();
11808 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11809 PyObject
*resultobj
= 0;
11810 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11811 wxSashEdgePosition result
;
11814 PyObject
*swig_obj
[1] ;
11816 if (!args
) SWIG_fail
;
11817 swig_obj
[0] = args
;
11818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11819 if (!SWIG_IsOK(res1
)) {
11820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11822 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_From_int(static_cast< int >(result
));
11836 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
= 0;
11838 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 char * kwnames
[] = {
11846 (char *) "self",(char *) "rect", NULL
11849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11854 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11857 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= SWIG_Py_Void();
11872 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11873 PyObject
*resultobj
= 0;
11874 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11878 PyObject
*swig_obj
[1] ;
11880 if (!args
) SWIG_fail
;
11881 swig_obj
[0] = args
;
11882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11886 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11900 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
= 0;
11902 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11903 wxSashDragStatus arg2
;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 char * kwnames
[] = {
11911 (char *) "self",(char *) "status", NULL
11914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11919 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11921 if (!SWIG_IsOK(ecode2
)) {
11922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11924 arg2
= static_cast< wxSashDragStatus
>(val2
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 (arg1
)->SetDragStatus(arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_Py_Void();
11938 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11939 PyObject
*resultobj
= 0;
11940 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11941 wxSashDragStatus result
;
11944 PyObject
*swig_obj
[1] ;
11946 if (!args
) SWIG_fail
;
11947 swig_obj
[0] = args
;
11948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11949 if (!SWIG_IsOK(res1
)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11952 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= SWIG_From_int(static_cast< int >(result
));
11966 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11969 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11970 return SWIG_Py_Void();
11973 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 return SWIG_Python_InitShadowInstance(args
);
11977 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
= 0;
11979 int arg1
= (int) 0 ;
11980 wxQueryLayoutInfoEvent
*result
= 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char * kwnames
[] = {
11985 (char *) "id", NULL
11988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11990 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11991 if (!SWIG_IsOK(ecode1
)) {
11992 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11994 arg1
= static_cast< int >(val1
);
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12009 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
= 0;
12011 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 char * kwnames
[] = {
12020 (char *) "self",(char *) "length", NULL
12023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12025 if (!SWIG_IsOK(res1
)) {
12026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12028 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12030 if (!SWIG_IsOK(ecode2
)) {
12031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12033 arg2
= static_cast< int >(val2
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 (arg1
)->SetRequestedLength(arg2
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_Py_Void();
12047 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12048 PyObject
*resultobj
= 0;
12049 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12053 PyObject
*swig_obj
[1] ;
12055 if (!args
) SWIG_fail
;
12056 swig_obj
[0] = args
;
12057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12058 if (!SWIG_IsOK(res1
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12061 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_From_int(static_cast< int >(result
));
12075 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
= 0;
12077 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 char * kwnames
[] = {
12086 (char *) "self",(char *) "flags", NULL
12089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12091 if (!SWIG_IsOK(res1
)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12094 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12096 if (!SWIG_IsOK(ecode2
)) {
12097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12099 arg2
= static_cast< int >(val2
);
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->SetFlags(arg2
);
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_Py_Void();
12113 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12114 PyObject
*resultobj
= 0;
12115 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12119 PyObject
*swig_obj
[1] ;
12121 if (!args
) SWIG_fail
;
12122 swig_obj
[0] = args
;
12123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12124 if (!SWIG_IsOK(res1
)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12127 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_From_int(static_cast< int >(result
));
12141 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
= 0;
12143 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char * kwnames
[] = {
12151 (char *) "self",(char *) "size", NULL
12154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12159 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12162 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 (arg1
)->SetSize((wxSize
const &)*arg2
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_Py_Void();
12177 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12178 PyObject
*resultobj
= 0;
12179 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12183 PyObject
*swig_obj
[1] ;
12185 if (!args
) SWIG_fail
;
12186 swig_obj
[0] = args
;
12187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12188 if (!SWIG_IsOK(res1
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12191 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12205 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
= 0;
12207 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12208 wxLayoutOrientation arg2
;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 char * kwnames
[] = {
12216 (char *) "self",(char *) "orient", NULL
12219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12224 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12226 if (!SWIG_IsOK(ecode2
)) {
12227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12229 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 (arg1
)->SetOrientation(arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= SWIG_Py_Void();
12243 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12244 PyObject
*resultobj
= 0;
12245 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12246 wxLayoutOrientation result
;
12249 PyObject
*swig_obj
[1] ;
12251 if (!args
) SWIG_fail
;
12252 swig_obj
[0] = args
;
12253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12254 if (!SWIG_IsOK(res1
)) {
12255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12257 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= SWIG_From_int(static_cast< int >(result
));
12271 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
= 0;
12273 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12274 wxLayoutAlignment arg2
;
12279 PyObject
* obj0
= 0 ;
12280 PyObject
* obj1
= 0 ;
12281 char * kwnames
[] = {
12282 (char *) "self",(char *) "align", NULL
12285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12287 if (!SWIG_IsOK(res1
)) {
12288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12290 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12292 if (!SWIG_IsOK(ecode2
)) {
12293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12295 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 (arg1
)->SetAlignment(arg2
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_Py_Void();
12309 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12310 PyObject
*resultobj
= 0;
12311 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12312 wxLayoutAlignment result
;
12315 PyObject
*swig_obj
[1] ;
12317 if (!args
) SWIG_fail
;
12318 swig_obj
[0] = args
;
12319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12323 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_From_int(static_cast< int >(result
));
12337 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12340 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12341 return SWIG_Py_Void();
12344 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12345 return SWIG_Python_InitShadowInstance(args
);
12348 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
= 0;
12350 int arg1
= (int) 0 ;
12351 wxCalculateLayoutEvent
*result
= 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char * kwnames
[] = {
12356 (char *) "id", NULL
12359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12362 if (!SWIG_IsOK(ecode1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12365 arg1
= static_cast< int >(val1
);
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12380 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
= 0;
12382 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 char * kwnames
[] = {
12391 (char *) "self",(char *) "flags", NULL
12394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12396 if (!SWIG_IsOK(res1
)) {
12397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12399 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12401 if (!SWIG_IsOK(ecode2
)) {
12402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12404 arg2
= static_cast< int >(val2
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->SetFlags(arg2
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_Py_Void();
12418 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12419 PyObject
*resultobj
= 0;
12420 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12424 PyObject
*swig_obj
[1] ;
12426 if (!args
) SWIG_fail
;
12427 swig_obj
[0] = args
;
12428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12432 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_From_int(static_cast< int >(result
));
12446 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
= 0;
12448 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "self",(char *) "rect", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12464 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12467 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 (arg1
)->SetRect((wxRect
const &)*arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_Py_Void();
12482 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12483 PyObject
*resultobj
= 0;
12484 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12488 PyObject
*swig_obj
[1] ;
12490 if (!args
) SWIG_fail
;
12491 swig_obj
[0] = args
;
12492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12493 if (!SWIG_IsOK(res1
)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12496 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12510 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12513 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12514 return SWIG_Py_Void();
12517 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12518 return SWIG_Python_InitShadowInstance(args
);
12521 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= 0;
12523 wxWindow
*arg1
= (wxWindow
*) 0 ;
12524 int arg2
= (int) -1 ;
12525 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12526 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12527 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12528 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12529 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12530 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12531 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12532 wxSashLayoutWindow
*result
= 0 ;
12541 bool temp6
= false ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 PyObject
* obj2
= 0 ;
12545 PyObject
* obj3
= 0 ;
12546 PyObject
* obj4
= 0 ;
12547 PyObject
* obj5
= 0 ;
12548 char * kwnames
[] = {
12549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12560 if (!SWIG_IsOK(ecode2
)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12563 arg2
= static_cast< int >(val2
);
12568 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12574 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12578 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12579 if (!SWIG_IsOK(ecode5
)) {
12580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12582 arg5
= static_cast< long >(val5
);
12586 arg6
= wxString_in_helper(obj5
);
12587 if (arg6
== NULL
) SWIG_fail
;
12592 if (!wxPyCheckForApp()) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12613 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 PyObject
*resultobj
= 0;
12615 wxSashLayoutWindow
*result
= 0 ;
12617 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12619 if (!wxPyCheckForApp()) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12632 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
= 0;
12634 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12635 wxWindow
*arg2
= (wxWindow
*) 0 ;
12636 int arg3
= (int) -1 ;
12637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12641 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12642 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12643 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12655 bool temp7
= false ;
12656 PyObject
* obj0
= 0 ;
12657 PyObject
* obj1
= 0 ;
12658 PyObject
* obj2
= 0 ;
12659 PyObject
* obj3
= 0 ;
12660 PyObject
* obj4
= 0 ;
12661 PyObject
* obj5
= 0 ;
12662 PyObject
* obj6
= 0 ;
12663 char * kwnames
[] = {
12664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12669 if (!SWIG_IsOK(res1
)) {
12670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12672 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12674 if (!SWIG_IsOK(res2
)) {
12675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12680 if (!SWIG_IsOK(ecode3
)) {
12681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12683 arg3
= static_cast< int >(val3
);
12688 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12694 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12698 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12699 if (!SWIG_IsOK(ecode6
)) {
12700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12702 arg6
= static_cast< long >(val6
);
12706 arg7
= wxString_in_helper(obj6
);
12707 if (arg7
== NULL
) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12734 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12735 PyObject
*resultobj
= 0;
12736 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12737 wxLayoutAlignment result
;
12740 PyObject
*swig_obj
[1] ;
12742 if (!args
) SWIG_fail
;
12743 swig_obj
[0] = args
;
12744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12745 if (!SWIG_IsOK(res1
)) {
12746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12748 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= SWIG_From_int(static_cast< int >(result
));
12762 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12763 PyObject
*resultobj
= 0;
12764 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12765 wxLayoutOrientation result
;
12768 PyObject
*swig_obj
[1] ;
12770 if (!args
) SWIG_fail
;
12771 swig_obj
[0] = args
;
12772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12773 if (!SWIG_IsOK(res1
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12776 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_From_int(static_cast< int >(result
));
12790 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12793 wxLayoutAlignment arg2
;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char * kwnames
[] = {
12801 (char *) "self",(char *) "alignment", NULL
12804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12809 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12811 if (!SWIG_IsOK(ecode2
)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12814 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->SetAlignment(arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_Py_Void();
12828 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12830 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 PyObject
* obj1
= 0 ;
12837 char * kwnames
[] = {
12838 (char *) "self",(char *) "size", NULL
12841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12843 if (!SWIG_IsOK(res1
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12846 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_Py_Void();
12864 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12867 wxLayoutOrientation arg2
;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char * kwnames
[] = {
12875 (char *) "self",(char *) "orientation", NULL
12878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12880 if (!SWIG_IsOK(res1
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12883 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12885 if (!SWIG_IsOK(ecode2
)) {
12886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12888 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->SetOrientation(arg2
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= SWIG_Py_Void();
12902 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12905 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12906 return SWIG_Py_Void();
12909 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12910 return SWIG_Python_InitShadowInstance(args
);
12913 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12914 PyObject
*resultobj
= 0;
12915 wxLayoutAlgorithm
*result
= 0 ;
12917 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12931 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12932 PyObject
*resultobj
= 0;
12933 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12936 PyObject
*swig_obj
[1] ;
12938 if (!args
) SWIG_fail
;
12939 swig_obj
[0] = args
;
12940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12944 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_Py_Void();
12959 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
= 0;
12961 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12962 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12963 wxRect
*arg3
= (wxRect
*) NULL
;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 PyObject
* obj2
= 0 ;
12974 char * kwnames
[] = {
12975 (char *) "self",(char *) "frame",(char *) "rect", NULL
12978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12980 if (!SWIG_IsOK(res1
)) {
12981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12983 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12985 if (!SWIG_IsOK(res2
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12988 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12990 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12991 if (!SWIG_IsOK(res3
)) {
12992 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12994 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13011 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
= 0;
13013 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13014 wxFrame
*arg2
= (wxFrame
*) 0 ;
13015 wxWindow
*arg3
= (wxWindow
*) NULL
;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 PyObject
* obj2
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13035 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13037 if (!SWIG_IsOK(res2
)) {
13038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13040 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13042 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13043 if (!SWIG_IsOK(res3
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13046 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13063 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
= 0;
13065 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13066 wxWindow
*arg2
= (wxWindow
*) 0 ;
13067 wxWindow
*arg3
= (wxWindow
*) NULL
;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 PyObject
* obj2
= 0 ;
13078 char * kwnames
[] = {
13079 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13084 if (!SWIG_IsOK(res1
)) {
13085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13087 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13089 if (!SWIG_IsOK(res2
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13092 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13094 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13095 if (!SWIG_IsOK(res3
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13098 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13115 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13118 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13119 return SWIG_Py_Void();
13122 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13123 return SWIG_Python_InitShadowInstance(args
);
13126 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
= 0;
13128 wxWindow
*arg1
= (wxWindow
*) 0 ;
13129 int arg2
= (int) wxBORDER_NONE
;
13130 wxPopupWindow
*result
= 0 ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "parent",(char *) "flags", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13146 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13149 if (!SWIG_IsOK(ecode2
)) {
13150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13152 arg2
= static_cast< int >(val2
);
13155 if (!wxPyCheckForApp()) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13168 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13169 PyObject
*resultobj
= 0;
13170 wxPopupWindow
*result
= 0 ;
13172 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13174 if (!wxPyCheckForApp()) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (wxPopupWindow
*)new wxPopupWindow();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13187 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
= 0;
13189 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13190 wxWindow
*arg2
= (wxWindow
*) 0 ;
13191 int arg3
= (int) wxBORDER_NONE
;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 PyObject
* obj2
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "self",(char *) "parent",(char *) "flags", NULL
13206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13211 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13213 if (!SWIG_IsOK(res2
)) {
13214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13216 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13219 if (!SWIG_IsOK(ecode3
)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13222 arg3
= static_cast< int >(val3
);
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13239 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
= 0;
13241 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13242 wxPoint
*arg2
= 0 ;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 PyObject
* obj2
= 0 ;
13251 char * kwnames
[] = {
13252 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13257 if (!SWIG_IsOK(res1
)) {
13258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13260 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13267 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_Py_Void();
13282 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13285 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13286 return SWIG_Py_Void();
13289 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13290 return SWIG_Python_InitShadowInstance(args
);
13293 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
= 0;
13295 wxWindow
*arg1
= (wxWindow
*) 0 ;
13296 int arg2
= (int) wxBORDER_NONE
;
13297 wxPyPopupTransientWindow
*result
= 0 ;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 char * kwnames
[] = {
13305 (char *) "parent",(char *) "style", NULL
13308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13316 if (!SWIG_IsOK(ecode2
)) {
13317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13319 arg2
= static_cast< int >(val2
);
13322 if (!wxPyCheckForApp()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13335 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13336 PyObject
*resultobj
= 0;
13337 wxPyPopupTransientWindow
*result
= 0 ;
13339 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13341 if (!wxPyCheckForApp()) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13354 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
= 0;
13356 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13357 PyObject
*arg2
= (PyObject
*) 0 ;
13358 PyObject
*arg3
= (PyObject
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 PyObject
* obj2
= 0 ;
13364 char * kwnames
[] = {
13365 (char *) "self",(char *) "self",(char *) "_class", NULL
13368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13370 if (!SWIG_IsOK(res1
)) {
13371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13373 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_Py_Void();
13389 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
= 0;
13391 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13392 wxWindow
*arg2
= (wxWindow
*) NULL
;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 char * kwnames
[] = {
13400 (char *) "self",(char *) "focus", NULL
13403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13405 if (!SWIG_IsOK(res1
)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13408 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13411 if (!SWIG_IsOK(res2
)) {
13412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 (arg1
)->Popup(arg2
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= SWIG_Py_Void();
13429 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13430 PyObject
*resultobj
= 0;
13431 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13434 PyObject
*swig_obj
[1] ;
13436 if (!args
) SWIG_fail
;
13437 swig_obj
[0] = args
;
13438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13439 if (!SWIG_IsOK(res1
)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13442 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_Py_Void();
13456 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13460 return SWIG_Py_Void();
13463 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13464 return SWIG_Python_InitShadowInstance(args
);
13467 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
= 0;
13469 wxWindow
*arg1
= (wxWindow
*) 0 ;
13470 wxString
*arg2
= 0 ;
13471 int arg3
= (int) 100 ;
13472 wxRect
*arg4
= (wxRect
*) NULL
;
13473 wxTipWindow
*result
= 0 ;
13476 bool temp2
= false ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 PyObject
* obj2
= 0 ;
13484 PyObject
* obj3
= 0 ;
13485 char * kwnames
[] = {
13486 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13491 if (!SWIG_IsOK(res1
)) {
13492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13496 arg2
= wxString_in_helper(obj1
);
13497 if (arg2
== NULL
) SWIG_fail
;
13501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13502 if (!SWIG_IsOK(ecode3
)) {
13503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13505 arg3
= static_cast< int >(val3
);
13508 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13509 if (!SWIG_IsOK(res4
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13512 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13515 if (!wxPyCheckForApp()) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13536 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= 0;
13538 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 char * kwnames
[] = {
13546 (char *) "self",(char *) "rectBound", NULL
13549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13554 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_Py_Void();
13572 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13573 PyObject
*resultobj
= 0;
13574 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13577 PyObject
*swig_obj
[1] ;
13579 if (!args
) SWIG_fail
;
13580 swig_obj
[0] = args
;
13581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13582 if (!SWIG_IsOK(res1
)) {
13583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13585 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_Py_Void();
13599 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13602 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13603 return SWIG_Py_Void();
13606 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13607 return SWIG_Python_InitShadowInstance(args
);
13610 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
= 0;
13612 wxWindow
*arg1
= (wxWindow
*) 0 ;
13613 int arg2
= (int) wxID_ANY
;
13614 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13615 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13616 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13617 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13618 long arg5
= (long) 0 ;
13619 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13620 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13621 wxPyVScrolledWindow
*result
= 0 ;
13630 bool temp6
= false ;
13631 PyObject
* obj0
= 0 ;
13632 PyObject
* obj1
= 0 ;
13633 PyObject
* obj2
= 0 ;
13634 PyObject
* obj3
= 0 ;
13635 PyObject
* obj4
= 0 ;
13636 PyObject
* obj5
= 0 ;
13637 char * kwnames
[] = {
13638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13649 if (!SWIG_IsOK(ecode2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13652 arg2
= static_cast< int >(val2
);
13657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13663 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13667 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13668 if (!SWIG_IsOK(ecode5
)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13671 arg5
= static_cast< long >(val5
);
13675 arg6
= wxString_in_helper(obj5
);
13676 if (arg6
== NULL
) SWIG_fail
;
13681 if (!wxPyCheckForApp()) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13702 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13703 PyObject
*resultobj
= 0;
13704 wxPyVScrolledWindow
*result
= 0 ;
13706 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13708 if (!wxPyCheckForApp()) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13721 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13724 PyObject
*arg2
= (PyObject
*) 0 ;
13725 PyObject
*arg3
= (PyObject
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 PyObject
* obj2
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "self",(char *) "_class", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13740 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_Py_Void();
13756 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
= 0;
13758 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13759 wxWindow
*arg2
= (wxWindow
*) 0 ;
13760 int arg3
= (int) wxID_ANY
;
13761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13765 long arg6
= (long) 0 ;
13766 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13767 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13779 bool temp7
= false ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 PyObject
* obj2
= 0 ;
13783 PyObject
* obj3
= 0 ;
13784 PyObject
* obj4
= 0 ;
13785 PyObject
* obj5
= 0 ;
13786 PyObject
* obj6
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13793 if (!SWIG_IsOK(res1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13796 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13798 if (!SWIG_IsOK(res2
)) {
13799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13801 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13804 if (!SWIG_IsOK(ecode3
)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13807 arg3
= static_cast< int >(val3
);
13812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13823 if (!SWIG_IsOK(ecode6
)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13826 arg6
= static_cast< long >(val6
);
13830 arg7
= wxString_in_helper(obj6
);
13831 if (arg7
== NULL
) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13858 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char * kwnames
[] = {
13869 (char *) "self",(char *) "count", NULL
13872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13874 if (!SWIG_IsOK(res1
)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13877 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13878 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13879 if (!SWIG_IsOK(ecode2
)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13882 arg2
= static_cast< size_t >(val2
);
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 (arg1
)->SetLineCount(arg2
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_Py_Void();
13896 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
= 0;
13898 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 char * kwnames
[] = {
13908 (char *) "self",(char *) "line", NULL
13911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13913 if (!SWIG_IsOK(res1
)) {
13914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13916 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13917 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13918 if (!SWIG_IsOK(ecode2
)) {
13919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13921 arg2
= static_cast< size_t >(val2
);
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13937 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
= 0;
13939 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char * kwnames
[] = {
13948 (char *) "self",(char *) "line", NULL
13951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13953 if (!SWIG_IsOK(res1
)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13956 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13957 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13958 if (!SWIG_IsOK(ecode2
)) {
13959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13961 arg2
= static_cast< size_t >(val2
);
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 (arg1
)->RefreshLine(arg2
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_Py_Void();
13975 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
= 0;
13977 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 PyObject
* obj2
= 0 ;
13989 char * kwnames
[] = {
13990 (char *) "self",(char *) "from",(char *) "to", NULL
13993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13995 if (!SWIG_IsOK(res1
)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13998 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13999 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14000 if (!SWIG_IsOK(ecode2
)) {
14001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14003 arg2
= static_cast< size_t >(val2
);
14004 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14005 if (!SWIG_IsOK(ecode3
)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14008 arg3
= static_cast< size_t >(val3
);
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 (arg1
)->RefreshLines(arg2
,arg3
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= SWIG_Py_Void();
14022 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
= 0;
14024 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 PyObject
* obj2
= 0 ;
14037 char * kwnames
[] = {
14038 (char *) "self",(char *) "x",(char *) "y", NULL
14041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14043 if (!SWIG_IsOK(res1
)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14046 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14048 if (!SWIG_IsOK(ecode2
)) {
14049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14051 arg2
= static_cast< int >(val2
);
14052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14053 if (!SWIG_IsOK(ecode3
)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14056 arg3
= static_cast< int >(val3
);
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= SWIG_From_int(static_cast< int >(result
));
14070 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
= 0;
14072 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14073 wxPoint
*arg2
= 0 ;
14078 PyObject
* obj0
= 0 ;
14079 PyObject
* obj1
= 0 ;
14080 char * kwnames
[] = {
14081 (char *) "self",(char *) "pt", NULL
14084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14086 if (!SWIG_IsOK(res1
)) {
14087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14089 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_From_int(static_cast< int >(result
));
14107 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14108 PyObject
*resultobj
= 0;
14109 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14112 PyObject
*swig_obj
[1] ;
14114 if (!args
) SWIG_fail
;
14115 swig_obj
[0] = args
;
14116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14117 if (!SWIG_IsOK(res1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14120 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 (arg1
)->RefreshAll();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_Py_Void();
14134 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14140 PyObject
*swig_obj
[1] ;
14142 if (!args
) SWIG_fail
;
14143 swig_obj
[0] = args
;
14144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14145 if (!SWIG_IsOK(res1
)) {
14146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14148 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14162 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14176 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14190 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14204 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14218 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= 0;
14220 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char * kwnames
[] = {
14230 (char *) "self",(char *) "line", NULL
14233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14235 if (!SWIG_IsOK(res1
)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14238 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14239 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14240 if (!SWIG_IsOK(ecode2
)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14243 arg2
= static_cast< size_t >(val2
);
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14259 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 PyObject
*resultobj
= 0;
14261 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14265 PyObject
*swig_obj
[1] ;
14267 if (!args
) SWIG_fail
;
14268 swig_obj
[0] = args
;
14269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14270 if (!SWIG_IsOK(res1
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14273 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14287 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14288 PyObject
*resultobj
= 0;
14289 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14293 PyObject
*swig_obj
[1] ;
14295 if (!args
) SWIG_fail
;
14296 swig_obj
[0] = args
;
14297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14301 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14315 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
= 0;
14317 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14319 bool arg3
= (bool) false ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 PyObject
* obj2
= 0 ;
14330 char * kwnames
[] = {
14331 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14339 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14340 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14341 if (!SWIG_IsOK(ecode2
)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14344 arg2
= static_cast< size_t >(val2
);
14346 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14347 if (!SWIG_IsOK(ecode3
)) {
14348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14350 arg3
= static_cast< bool >(val3
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14365 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= 0;
14367 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 PyObject
* obj2
= 0 ;
14380 char * kwnames
[] = {
14381 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14389 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14390 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14391 if (!SWIG_IsOK(ecode2
)) {
14392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14394 arg2
= static_cast< size_t >(val2
);
14395 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14396 if (!SWIG_IsOK(ecode3
)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14399 arg3
= static_cast< size_t >(val3
);
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= SWIG_From_int(static_cast< int >(result
));
14413 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14416 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14417 return SWIG_Py_Void();
14420 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14421 return SWIG_Python_InitShadowInstance(args
);
14424 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14425 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14430 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14431 PyObject
*pyobj
= 0;
14435 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14437 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14444 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
= 0;
14446 wxWindow
*arg1
= (wxWindow
*) 0 ;
14447 int arg2
= (int) wxID_ANY
;
14448 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14449 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14450 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14451 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14452 long arg5
= (long) 0 ;
14453 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14454 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14455 wxPyVListBox
*result
= 0 ;
14464 bool temp6
= false ;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 PyObject
* obj2
= 0 ;
14468 PyObject
* obj3
= 0 ;
14469 PyObject
* obj4
= 0 ;
14470 PyObject
* obj5
= 0 ;
14471 char * kwnames
[] = {
14472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14477 if (!SWIG_IsOK(res1
)) {
14478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14480 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14483 if (!SWIG_IsOK(ecode2
)) {
14484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14486 arg2
= static_cast< int >(val2
);
14491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14501 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14502 if (!SWIG_IsOK(ecode5
)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14505 arg5
= static_cast< long >(val5
);
14509 arg6
= wxString_in_helper(obj5
);
14510 if (arg6
== NULL
) SWIG_fail
;
14515 if (!wxPyCheckForApp()) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14536 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxPyVListBox
*result
= 0 ;
14540 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14542 if (!wxPyCheckForApp()) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (wxPyVListBox
*)new wxPyVListBox();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14555 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
= 0;
14557 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14558 PyObject
*arg2
= (PyObject
*) 0 ;
14559 PyObject
*arg3
= (PyObject
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 PyObject
* obj2
= 0 ;
14565 char * kwnames
[] = {
14566 (char *) "self",(char *) "self",(char *) "_class", NULL
14569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14571 if (!SWIG_IsOK(res1
)) {
14572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14574 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= SWIG_Py_Void();
14590 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
= 0;
14592 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14593 wxWindow
*arg2
= (wxWindow
*) 0 ;
14594 int arg3
= (int) wxID_ANY
;
14595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14599 long arg6
= (long) 0 ;
14600 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14613 bool temp7
= false ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 PyObject
* obj3
= 0 ;
14618 PyObject
* obj4
= 0 ;
14619 PyObject
* obj5
= 0 ;
14620 PyObject
* obj6
= 0 ;
14621 char * kwnames
[] = {
14622 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14627 if (!SWIG_IsOK(res1
)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14630 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14632 if (!SWIG_IsOK(res2
)) {
14633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14635 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14638 if (!SWIG_IsOK(ecode3
)) {
14639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14641 arg3
= static_cast< int >(val3
);
14646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14652 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14656 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14657 if (!SWIG_IsOK(ecode6
)) {
14658 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14660 arg6
= static_cast< long >(val6
);
14664 arg7
= wxString_in_helper(obj6
);
14665 if (arg7
== NULL
) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14693 PyObject
*resultobj
= 0;
14694 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14698 PyObject
*swig_obj
[1] ;
14700 if (!args
) SWIG_fail
;
14701 swig_obj
[0] = args
;
14702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14703 if (!SWIG_IsOK(res1
)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14706 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14720 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14721 PyObject
*resultobj
= 0;
14722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14726 PyObject
*swig_obj
[1] ;
14728 if (!args
) SWIG_fail
;
14729 swig_obj
[0] = args
;
14730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14731 if (!SWIG_IsOK(res1
)) {
14732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14734 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14750 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14751 PyObject
*resultobj
= 0;
14752 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14756 PyObject
*swig_obj
[1] ;
14758 if (!args
) SWIG_fail
;
14759 swig_obj
[0] = args
;
14760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14761 if (!SWIG_IsOK(res1
)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14764 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= SWIG_From_int(static_cast< int >(result
));
14778 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
= 0;
14780 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 char * kwnames
[] = {
14790 (char *) "self",(char *) "item", NULL
14793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14795 if (!SWIG_IsOK(res1
)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14798 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14799 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14800 if (!SWIG_IsOK(ecode2
)) {
14801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14803 arg2
= static_cast< size_t >(val2
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
= 0;
14821 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 PyObject
* obj1
= 0 ;
14830 char * kwnames
[] = {
14831 (char *) "self",(char *) "item", NULL
14834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14836 if (!SWIG_IsOK(res1
)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14839 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14840 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14841 if (!SWIG_IsOK(ecode2
)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14844 arg2
= static_cast< size_t >(val2
);
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14860 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14861 PyObject
*resultobj
= 0;
14862 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14866 PyObject
*swig_obj
[1] ;
14868 if (!args
) SWIG_fail
;
14869 swig_obj
[0] = args
;
14870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14871 if (!SWIG_IsOK(res1
)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14874 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14888 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14889 PyObject
*resultobj
= 0;
14890 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14891 PyObject
*result
= 0 ;
14894 PyObject
*swig_obj
[1] ;
14896 if (!args
) SWIG_fail
;
14897 swig_obj
[0] = args
;
14898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14902 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= result
;
14916 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
= 0;
14918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14919 unsigned long arg2
;
14920 PyObject
*result
= 0 ;
14923 unsigned long val2
;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 char * kwnames
[] = {
14928 (char *) "self",(char *) "cookie", NULL
14931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14936 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14937 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14938 if (!SWIG_IsOK(ecode2
)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14941 arg2
= static_cast< unsigned long >(val2
);
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= result
;
14955 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14956 PyObject
*resultobj
= 0;
14957 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14961 PyObject
*swig_obj
[1] ;
14963 if (!args
) SWIG_fail
;
14964 swig_obj
[0] = args
;
14965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14966 if (!SWIG_IsOK(res1
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14969 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14983 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14984 PyObject
*resultobj
= 0;
14985 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14986 wxColour
*result
= 0 ;
14989 PyObject
*swig_obj
[1] ;
14991 if (!args
) SWIG_fail
;
14992 swig_obj
[0] = args
;
14993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14994 if (!SWIG_IsOK(res1
)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14997 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15002 result
= (wxColour
*) &_result_ref
;
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15014 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= 0;
15016 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char * kwnames
[] = {
15025 (char *) "self",(char *) "count", NULL
15028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15030 if (!SWIG_IsOK(res1
)) {
15031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15033 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15034 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15035 if (!SWIG_IsOK(ecode2
)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15038 arg2
= static_cast< size_t >(val2
);
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetItemCount(arg2
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_Py_Void();
15052 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15053 PyObject
*resultobj
= 0;
15054 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15057 PyObject
*swig_obj
[1] ;
15059 if (!args
) SWIG_fail
;
15060 swig_obj
[0] = args
;
15061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15065 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_Py_Void();
15079 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
= 0;
15081 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char * kwnames
[] = {
15090 (char *) "self",(char *) "selection", NULL
15093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15098 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15100 if (!SWIG_IsOK(ecode2
)) {
15101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15103 arg2
= static_cast< int >(val2
);
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetSelection(arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_Py_Void();
15117 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
= 0;
15119 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15121 bool arg3
= (bool) true ;
15129 PyObject
* obj0
= 0 ;
15130 PyObject
* obj1
= 0 ;
15131 PyObject
* obj2
= 0 ;
15132 char * kwnames
[] = {
15133 (char *) "self",(char *) "item",(char *) "select", NULL
15136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15141 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15142 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15143 if (!SWIG_IsOK(ecode2
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15146 arg2
= static_cast< size_t >(val2
);
15148 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15149 if (!SWIG_IsOK(ecode3
)) {
15150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15152 arg3
= static_cast< bool >(val3
);
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15169 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
= 0;
15171 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 PyObject
* obj2
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "self",(char *) "from",(char *) "to", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15193 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15194 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15195 if (!SWIG_IsOK(ecode2
)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15198 arg2
= static_cast< size_t >(val2
);
15199 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15200 if (!SWIG_IsOK(ecode3
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15203 arg3
= static_cast< size_t >(val3
);
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
= 0;
15221 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char * kwnames
[] = {
15230 (char *) "self",(char *) "item", NULL
15233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15235 if (!SWIG_IsOK(res1
)) {
15236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15238 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15239 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15240 if (!SWIG_IsOK(ecode2
)) {
15241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15243 arg2
= static_cast< size_t >(val2
);
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 (arg1
)->Toggle(arg2
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= SWIG_Py_Void();
15257 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15258 PyObject
*resultobj
= 0;
15259 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15263 PyObject
*swig_obj
[1] ;
15265 if (!args
) SWIG_fail
;
15266 swig_obj
[0] = args
;
15267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15268 if (!SWIG_IsOK(res1
)) {
15269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15271 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (bool)(arg1
)->SelectAll();
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15287 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15288 PyObject
*resultobj
= 0;
15289 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15293 PyObject
*swig_obj
[1] ;
15295 if (!args
) SWIG_fail
;
15296 swig_obj
[0] = args
;
15297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (bool)(arg1
)->DeselectAll();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15317 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
= 0;
15319 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15320 wxPoint
*arg2
= 0 ;
15324 PyObject
* obj0
= 0 ;
15325 PyObject
* obj1
= 0 ;
15326 char * kwnames
[] = {
15327 (char *) "self",(char *) "pt", NULL
15330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15332 if (!SWIG_IsOK(res1
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15335 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_Py_Void();
15353 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
= 0;
15355 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 char * kwnames
[] = {
15368 (char *) "self",(char *) "x",(char *) "y", NULL
15371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15373 if (!SWIG_IsOK(res1
)) {
15374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15376 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15378 if (!SWIG_IsOK(ecode2
)) {
15379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15381 arg2
= static_cast< int >(val2
);
15382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15383 if (!SWIG_IsOK(ecode3
)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15386 arg3
= static_cast< int >(val3
);
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 (arg1
)->SetMargins(arg2
,arg3
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_Py_Void();
15400 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= 0;
15402 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15403 wxColour
*arg2
= 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char * kwnames
[] = {
15410 (char *) "self",(char *) "col", NULL
15413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15418 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15421 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_Py_Void();
15436 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
= 0;
15438 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 PyObject
* obj2
= 0 ;
15452 PyObject
* obj3
= 0 ;
15453 char * kwnames
[] = {
15454 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15459 if (!SWIG_IsOK(res1
)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15462 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15464 if (!SWIG_IsOK(res2
)) {
15465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15470 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15473 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15475 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15476 if (!SWIG_IsOK(ecode4
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15479 arg4
= static_cast< size_t >(val4
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
= 0;
15495 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 PyObject
* obj2
= 0 ;
15509 PyObject
* obj3
= 0 ;
15510 char * kwnames
[] = {
15511 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15516 if (!SWIG_IsOK(res1
)) {
15517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15519 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15521 if (!SWIG_IsOK(res2
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15527 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15530 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15532 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15533 if (!SWIG_IsOK(ecode4
)) {
15534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15536 arg4
= static_cast< size_t >(val4
);
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_Py_Void();
15550 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15553 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15554 return SWIG_Py_Void();
15557 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15558 return SWIG_Python_InitShadowInstance(args
);
15561 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxWindow
*arg1
= (wxWindow
*) 0 ;
15564 int arg2
= (int) wxID_ANY
;
15565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15569 long arg5
= (long) 0 ;
15570 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15571 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15572 wxPyHtmlListBox
*result
= 0 ;
15581 bool temp6
= false ;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 PyObject
* obj2
= 0 ;
15585 PyObject
* obj3
= 0 ;
15586 PyObject
* obj4
= 0 ;
15587 PyObject
* obj5
= 0 ;
15588 char * kwnames
[] = {
15589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15600 if (!SWIG_IsOK(ecode2
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15603 arg2
= static_cast< int >(val2
);
15608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15618 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15619 if (!SWIG_IsOK(ecode5
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15622 arg5
= static_cast< long >(val5
);
15626 arg6
= wxString_in_helper(obj5
);
15627 if (arg6
== NULL
) SWIG_fail
;
15632 if (!wxPyCheckForApp()) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15653 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15654 PyObject
*resultobj
= 0;
15655 wxPyHtmlListBox
*result
= 0 ;
15657 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15659 if (!wxPyCheckForApp()) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15672 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
= 0;
15674 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15675 PyObject
*arg2
= (PyObject
*) 0 ;
15676 PyObject
*arg3
= (PyObject
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 PyObject
* obj2
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "self",(char *) "self",(char *) "_class", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15688 if (!SWIG_IsOK(res1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15691 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= SWIG_Py_Void();
15707 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
= 0;
15709 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15710 wxWindow
*arg2
= (wxWindow
*) 0 ;
15711 int arg3
= (int) wxID_ANY
;
15712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15716 long arg6
= (long) 0 ;
15717 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15718 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15730 bool temp7
= false ;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 PyObject
* obj2
= 0 ;
15734 PyObject
* obj3
= 0 ;
15735 PyObject
* obj4
= 0 ;
15736 PyObject
* obj5
= 0 ;
15737 PyObject
* obj6
= 0 ;
15738 char * kwnames
[] = {
15739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15747 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15749 if (!SWIG_IsOK(res2
)) {
15750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15752 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15755 if (!SWIG_IsOK(ecode3
)) {
15756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15758 arg3
= static_cast< int >(val3
);
15763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15773 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15774 if (!SWIG_IsOK(ecode6
)) {
15775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15777 arg6
= static_cast< long >(val6
);
15781 arg7
= wxString_in_helper(obj6
);
15782 if (arg7
== NULL
) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15809 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
= 0;
15811 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 char * kwnames
[] = {
15820 (char *) "self",(char *) "count", NULL
15823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15825 if (!SWIG_IsOK(res1
)) {
15826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15828 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15829 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15830 if (!SWIG_IsOK(ecode2
)) {
15831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15833 arg2
= static_cast< size_t >(val2
);
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 (arg1
)->SetItemCount(arg2
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_Py_Void();
15847 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15848 PyObject
*resultobj
= 0;
15849 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15850 wxFileSystem
*result
= 0 ;
15853 PyObject
*swig_obj
[1] ;
15855 if (!args
) SWIG_fail
;
15856 swig_obj
[0] = args
;
15857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15858 if (!SWIG_IsOK(res1
)) {
15859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15861 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15866 result
= (wxFileSystem
*) &_result_ref
;
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15878 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
= 0;
15880 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15882 wxHtmlLinkInfo
*arg3
= 0 ;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 PyObject
* obj2
= 0 ;
15892 char * kwnames
[] = {
15893 (char *) "self",(char *) "n",(char *) "link", NULL
15896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15898 if (!SWIG_IsOK(res1
)) {
15899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15901 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15902 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15903 if (!SWIG_IsOK(ecode2
)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15906 arg2
= static_cast< size_t >(val2
);
15907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15908 if (!SWIG_IsOK(res3
)) {
15909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15914 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_Py_Void();
15928 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15931 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15932 return SWIG_Py_Void();
15935 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15936 return SWIG_Python_InitShadowInstance(args
);
15939 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15940 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15945 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15946 PyObject
*pyobj
= 0;
15950 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15952 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15959 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
= 0;
15961 wxWindow
*arg1
= (wxWindow
*) 0 ;
15962 int arg2
= (int) -1 ;
15963 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15964 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15965 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15966 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15967 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15968 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15969 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15972 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15974 wxSimpleHtmlListBox
*result
= 0 ;
15981 bool temp5
= false ;
15986 bool temp8
= false ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 PyObject
* obj2
= 0 ;
15990 PyObject
* obj3
= 0 ;
15991 PyObject
* obj4
= 0 ;
15992 PyObject
* obj5
= 0 ;
15993 PyObject
* obj6
= 0 ;
15994 PyObject
* obj7
= 0 ;
15995 char * kwnames
[] = {
15996 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16001 if (!SWIG_IsOK(res1
)) {
16002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16004 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16007 if (!SWIG_IsOK(ecode2
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16010 arg2
= static_cast< int >(val2
);
16015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16026 if (! PySequence_Check(obj4
)) {
16027 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16030 arg5
= new wxArrayString
;
16032 int i
, len
=PySequence_Length(obj4
);
16033 for (i
=0; i
<len
; i
++) {
16034 PyObject
* item
= PySequence_GetItem(obj4
, i
);
16035 wxString
* s
= wxString_in_helper(item
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16044 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16045 if (!SWIG_IsOK(ecode6
)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16048 arg6
= static_cast< long >(val6
);
16051 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16052 if (!SWIG_IsOK(res7
)) {
16053 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16058 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16062 arg8
= wxString_in_helper(obj7
);
16063 if (arg8
== NULL
) SWIG_fail
;
16068 if (!wxPyCheckForApp()) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
16076 if (temp5
) delete arg5
;
16085 if (temp5
) delete arg5
;
16095 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16096 PyObject
*resultobj
= 0;
16097 wxSimpleHtmlListBox
*result
= 0 ;
16099 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
16101 if (!wxPyCheckForApp()) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
16114 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
= 0;
16116 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
16117 wxWindow
*arg2
= (wxWindow
*) 0 ;
16118 int arg3
= (int) -1 ;
16119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16123 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16124 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16125 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
16126 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16127 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16128 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16129 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16139 bool temp6
= false ;
16144 bool temp9
= false ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 PyObject
* obj2
= 0 ;
16148 PyObject
* obj3
= 0 ;
16149 PyObject
* obj4
= 0 ;
16150 PyObject
* obj5
= 0 ;
16151 PyObject
* obj6
= 0 ;
16152 PyObject
* obj7
= 0 ;
16153 PyObject
* obj8
= 0 ;
16154 char * kwnames
[] = {
16155 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16160 if (!SWIG_IsOK(res1
)) {
16161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16163 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16165 if (!SWIG_IsOK(res2
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16171 if (!SWIG_IsOK(ecode3
)) {
16172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16174 arg3
= static_cast< int >(val3
);
16179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16190 if (! PySequence_Check(obj5
)) {
16191 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16194 arg6
= new wxArrayString
;
16196 int i
, len
=PySequence_Length(obj5
);
16197 for (i
=0; i
<len
; i
++) {
16198 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16199 wxString
* s
= wxString_in_helper(item
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16208 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16209 if (!SWIG_IsOK(ecode7
)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16212 arg7
= static_cast< long >(val7
);
16215 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16216 if (!SWIG_IsOK(res8
)) {
16217 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16222 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16226 arg9
= wxString_in_helper(obj8
);
16227 if (arg9
== NULL
) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 if (temp6
) delete arg6
;
16250 if (temp6
) delete arg6
;
16260 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16263 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16264 return SWIG_Py_Void();
16267 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16268 return SWIG_Python_InitShadowInstance(args
);
16271 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16272 PyObject
*resultobj
= 0;
16273 wxPyTaskBarIcon
*result
= 0 ;
16275 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16277 if (!wxPyCheckForApp()) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16290 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 PyObject
*resultobj
= 0;
16292 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16295 PyObject
*swig_obj
[1] ;
16297 if (!args
) SWIG_fail
;
16298 swig_obj
[0] = args
;
16299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16300 if (!SWIG_IsOK(res1
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16303 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_Py_Void();
16318 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16320 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16321 PyObject
*arg2
= (PyObject
*) 0 ;
16322 PyObject
*arg3
= (PyObject
*) 0 ;
16323 int arg4
= (int) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 PyObject
* obj1
= 0 ;
16330 PyObject
* obj2
= 0 ;
16331 PyObject
* obj3
= 0 ;
16332 char * kwnames
[] = {
16333 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16338 if (!SWIG_IsOK(res1
)) {
16339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16341 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16346 if (!SWIG_IsOK(ecode4
)) {
16347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16349 arg4
= static_cast< int >(val4
);
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_Py_Void();
16364 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16365 PyObject
*resultobj
= 0;
16366 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16369 PyObject
*swig_obj
[1] ;
16371 if (!args
) SWIG_fail
;
16372 swig_obj
[0] = args
;
16373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16374 if (!SWIG_IsOK(res1
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16377 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 wxPyTaskBarIcon_Destroy(arg1
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= SWIG_Py_Void();
16391 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16392 PyObject
*resultobj
= 0;
16393 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16397 PyObject
*swig_obj
[1] ;
16399 if (!args
) SWIG_fail
;
16400 swig_obj
[0] = args
;
16401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16402 if (!SWIG_IsOK(res1
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16405 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16421 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16422 PyObject
*resultobj
= 0;
16423 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16427 PyObject
*swig_obj
[1] ;
16429 if (!args
) SWIG_fail
;
16430 swig_obj
[0] = args
;
16431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16432 if (!SWIG_IsOK(res1
)) {
16433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16435 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16451 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= 0;
16453 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16462 bool temp3
= false ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 PyObject
* obj2
= 0 ;
16466 char * kwnames
[] = {
16467 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16472 if (!SWIG_IsOK(res1
)) {
16473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16475 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16477 if (!SWIG_IsOK(res2
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16483 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16486 arg3
= wxString_in_helper(obj2
);
16487 if (arg3
== NULL
) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16514 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16528 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (bool)(arg1
)->RemoveIcon();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16544 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
= 0;
16546 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16547 wxMenu
*arg2
= (wxMenu
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char * kwnames
[] = {
16556 (char *) "self",(char *) "menu", NULL
16559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16564 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16566 if (!SWIG_IsOK(res2
)) {
16567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16569 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (bool)(arg1
)->PopupMenu(arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16585 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16588 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16589 return SWIG_Py_Void();
16592 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16593 return SWIG_Python_InitShadowInstance(args
);
16596 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= 0;
16599 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16600 wxTaskBarIconEvent
*result
= 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char * kwnames
[] = {
16608 (char *) "evtType",(char *) "tbIcon", NULL
16611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16612 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16613 if (!SWIG_IsOK(ecode1
)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16616 arg1
= static_cast< wxEventType
>(val1
);
16617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16618 if (!SWIG_IsOK(res2
)) {
16619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16621 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16635 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16638 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16639 return SWIG_Py_Void();
16642 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16643 return SWIG_Python_InitShadowInstance(args
);
16646 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16647 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16652 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16653 PyObject
*pyobj
= 0;
16657 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16659 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16666 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16667 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16672 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16673 PyObject
*pyobj
= 0;
16677 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16679 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16686 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16687 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16692 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16693 PyObject
*pyobj
= 0;
16697 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16699 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16706 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16707 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16712 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16713 PyObject
*pyobj
= 0;
16717 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16719 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16726 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16727 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16732 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16733 PyObject
*pyobj
= 0;
16737 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16739 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16746 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16747 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16752 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16753 PyObject
*pyobj
= 0;
16757 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16759 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16766 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16767 PyObject
*resultobj
= 0;
16768 wxColourData
*result
= 0 ;
16770 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (wxColourData
*)new wxColourData();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16784 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16785 PyObject
*resultobj
= 0;
16786 wxColourData
*arg1
= (wxColourData
*) 0 ;
16789 PyObject
*swig_obj
[1] ;
16791 if (!args
) SWIG_fail
;
16792 swig_obj
[0] = args
;
16793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16794 if (!SWIG_IsOK(res1
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16797 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_Py_Void();
16812 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16813 PyObject
*resultobj
= 0;
16814 wxColourData
*arg1
= (wxColourData
*) 0 ;
16818 PyObject
*swig_obj
[1] ;
16820 if (!args
) SWIG_fail
;
16821 swig_obj
[0] = args
;
16822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16823 if (!SWIG_IsOK(res1
)) {
16824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16826 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (bool)(arg1
)->GetChooseFull();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16842 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16843 PyObject
*resultobj
= 0;
16844 wxColourData
*arg1
= (wxColourData
*) 0 ;
16848 PyObject
*swig_obj
[1] ;
16850 if (!args
) SWIG_fail
;
16851 swig_obj
[0] = args
;
16852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16853 if (!SWIG_IsOK(res1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16856 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (arg1
)->GetColour();
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16870 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
= 0;
16872 wxColourData
*arg1
= (wxColourData
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char * kwnames
[] = {
16882 (char *) "self",(char *) "i", NULL
16885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16887 if (!SWIG_IsOK(res1
)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16890 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16892 if (!SWIG_IsOK(ecode2
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16895 arg2
= static_cast< int >(val2
);
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (arg1
)->GetCustomColour(arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16909 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
= 0;
16911 wxColourData
*arg1
= (wxColourData
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 char * kwnames
[] = {
16920 (char *) "self",(char *) "flag", NULL
16923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16928 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16930 if (!SWIG_IsOK(ecode2
)) {
16931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16933 arg2
= static_cast< int >(val2
);
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 (arg1
)->SetChooseFull(arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_Py_Void();
16947 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
= 0;
16949 wxColourData
*arg1
= (wxColourData
*) 0 ;
16950 wxColour
*arg2
= 0 ;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 char * kwnames
[] = {
16957 (char *) "self",(char *) "colour", NULL
16960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16962 if (!SWIG_IsOK(res1
)) {
16963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16965 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16968 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 (arg1
)->SetColour((wxColour
const &)*arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= SWIG_Py_Void();
16983 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
= 0;
16985 wxColourData
*arg1
= (wxColourData
*) 0 ;
16987 wxColour
*arg3
= 0 ;
16993 PyObject
* obj0
= 0 ;
16994 PyObject
* obj1
= 0 ;
16995 PyObject
* obj2
= 0 ;
16996 char * kwnames
[] = {
16997 (char *) "self",(char *) "i",(char *) "colour", NULL
17000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17002 if (!SWIG_IsOK(res1
)) {
17003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17005 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17007 if (!SWIG_IsOK(ecode2
)) {
17008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17010 arg2
= static_cast< int >(val2
);
17013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_Py_Void();
17028 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17031 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
17032 return SWIG_Py_Void();
17035 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17036 return SWIG_Python_InitShadowInstance(args
);
17039 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
= 0;
17041 wxWindow
*arg1
= (wxWindow
*) 0 ;
17042 wxColourData
*arg2
= (wxColourData
*) NULL
;
17043 wxColourDialog
*result
= 0 ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 char * kwnames
[] = {
17051 (char *) "parent",(char *) "data", NULL
17054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17059 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17062 if (!SWIG_IsOK(res2
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17065 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
17068 if (!wxPyCheckForApp()) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
17081 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17082 PyObject
*resultobj
= 0;
17083 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
17084 wxColourData
*result
= 0 ;
17087 PyObject
*swig_obj
[1] ;
17089 if (!args
) SWIG_fail
;
17090 swig_obj
[0] = args
;
17091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17095 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 wxColourData
&_result_ref
= (arg1
)->GetColourData();
17100 result
= (wxColourData
*) &_result_ref
;
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
17112 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17115 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
17116 return SWIG_Py_Void();
17119 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17120 return SWIG_Python_InitShadowInstance(args
);
17123 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
= 0;
17125 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
17126 wxColour
const &arg2_defvalue
= wxNullColour
;
17127 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17134 bool temp3
= false ;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 PyObject
* obj2
= 0 ;
17138 char * kwnames
[] = {
17139 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17145 if (!SWIG_IsOK(res1
)) {
17146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17158 arg3
= wxString_in_helper(obj2
);
17159 if (arg3
== NULL
) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17184 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxWindow
*arg1
= (wxWindow
*) 0 ;
17187 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17188 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17191 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17192 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17193 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17194 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17195 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17196 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17198 wxDirDialog
*result
= 0 ;
17201 bool temp2
= false ;
17202 bool temp3
= false ;
17207 bool temp7
= false ;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 PyObject
* obj2
= 0 ;
17211 PyObject
* obj3
= 0 ;
17212 PyObject
* obj4
= 0 ;
17213 PyObject
* obj5
= 0 ;
17214 PyObject
* obj6
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17227 arg2
= wxString_in_helper(obj1
);
17228 if (arg2
== NULL
) SWIG_fail
;
17234 arg3
= wxString_in_helper(obj2
);
17235 if (arg3
== NULL
) SWIG_fail
;
17240 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17241 if (!SWIG_IsOK(ecode4
)) {
17242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17244 arg4
= static_cast< long >(val4
);
17249 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17255 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17260 arg7
= wxString_in_helper(obj6
);
17261 if (arg7
== NULL
) SWIG_fail
;
17266 if (!wxPyCheckForApp()) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17303 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17304 PyObject
*resultobj
= 0;
17305 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17309 PyObject
*swig_obj
[1] ;
17311 if (!args
) SWIG_fail
;
17312 swig_obj
[0] = args
;
17313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17314 if (!SWIG_IsOK(res1
)) {
17315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17317 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (arg1
)->GetPath();
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17337 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17338 PyObject
*resultobj
= 0;
17339 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17343 PyObject
*swig_obj
[1] ;
17345 if (!args
) SWIG_fail
;
17346 swig_obj
[0] = args
;
17347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17348 if (!SWIG_IsOK(res1
)) {
17349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17351 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (arg1
)->GetMessage();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17371 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
= 0;
17373 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17374 wxString
*arg2
= 0 ;
17377 bool temp2
= false ;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char * kwnames
[] = {
17381 (char *) "self",(char *) "message", NULL
17384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17386 if (!SWIG_IsOK(res1
)) {
17387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17389 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17391 arg2
= wxString_in_helper(obj1
);
17392 if (arg2
== NULL
) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 (arg1
)->SetMessage((wxString
const &)*arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_Py_Void();
17416 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
= 0;
17418 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17419 wxString
*arg2
= 0 ;
17422 bool temp2
= false ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 char * kwnames
[] = {
17426 (char *) "self",(char *) "path", NULL
17429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17431 if (!SWIG_IsOK(res1
)) {
17432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17434 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17436 arg2
= wxString_in_helper(obj1
);
17437 if (arg2
== NULL
) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 (arg1
)->SetPath((wxString
const &)*arg2
);
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= SWIG_Py_Void();
17461 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17464 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17465 return SWIG_Py_Void();
17468 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17469 return SWIG_Python_InitShadowInstance(args
);
17472 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
= 0;
17474 wxWindow
*arg1
= (wxWindow
*) 0 ;
17475 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17476 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17477 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17478 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17479 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17480 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17481 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17482 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17483 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17484 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17485 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17486 wxFileDialog
*result
= 0 ;
17489 bool temp2
= false ;
17490 bool temp3
= false ;
17491 bool temp4
= false ;
17492 bool temp5
= false ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 PyObject
* obj2
= 0 ;
17499 PyObject
* obj3
= 0 ;
17500 PyObject
* obj4
= 0 ;
17501 PyObject
* obj5
= 0 ;
17502 PyObject
* obj6
= 0 ;
17503 char * kwnames
[] = {
17504 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17509 if (!SWIG_IsOK(res1
)) {
17510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17512 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17515 arg2
= wxString_in_helper(obj1
);
17516 if (arg2
== NULL
) SWIG_fail
;
17522 arg3
= wxString_in_helper(obj2
);
17523 if (arg3
== NULL
) SWIG_fail
;
17529 arg4
= wxString_in_helper(obj3
);
17530 if (arg4
== NULL
) SWIG_fail
;
17536 arg5
= wxString_in_helper(obj4
);
17537 if (arg5
== NULL
) SWIG_fail
;
17542 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17543 if (!SWIG_IsOK(ecode6
)) {
17544 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17546 arg6
= static_cast< long >(val6
);
17551 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17555 if (!wxPyCheckForApp()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17600 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
= 0;
17602 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17603 wxString
*arg2
= 0 ;
17606 bool temp2
= false ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 char * kwnames
[] = {
17610 (char *) "self",(char *) "message", NULL
17613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17615 if (!SWIG_IsOK(res1
)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17618 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17620 arg2
= wxString_in_helper(obj1
);
17621 if (arg2
== NULL
) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 (arg1
)->SetMessage((wxString
const &)*arg2
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_Py_Void();
17645 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
= 0;
17647 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17648 wxString
*arg2
= 0 ;
17651 bool temp2
= false ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 char * kwnames
[] = {
17655 (char *) "self",(char *) "path", NULL
17658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17660 if (!SWIG_IsOK(res1
)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17663 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17665 arg2
= wxString_in_helper(obj1
);
17666 if (arg2
== NULL
) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 (arg1
)->SetPath((wxString
const &)*arg2
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= SWIG_Py_Void();
17690 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
= 0;
17692 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17693 wxString
*arg2
= 0 ;
17696 bool temp2
= false ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char * kwnames
[] = {
17700 (char *) "self",(char *) "dir", NULL
17703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17705 if (!SWIG_IsOK(res1
)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17708 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17710 arg2
= wxString_in_helper(obj1
);
17711 if (arg2
== NULL
) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= SWIG_Py_Void();
17735 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
= 0;
17737 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17738 wxString
*arg2
= 0 ;
17741 bool temp2
= false ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char * kwnames
[] = {
17745 (char *) "self",(char *) "name", NULL
17748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17750 if (!SWIG_IsOK(res1
)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17753 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17755 arg2
= wxString_in_helper(obj1
);
17756 if (arg2
== NULL
) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 (arg1
)->SetFilename((wxString
const &)*arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= SWIG_Py_Void();
17780 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
= 0;
17782 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17783 wxString
*arg2
= 0 ;
17786 bool temp2
= false ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 char * kwnames
[] = {
17790 (char *) "self",(char *) "wildCard", NULL
17793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17795 if (!SWIG_IsOK(res1
)) {
17796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17798 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17800 arg2
= wxString_in_helper(obj1
);
17801 if (arg2
== NULL
) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= SWIG_Py_Void();
17825 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17826 PyObject
*resultobj
= 0;
17827 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17833 PyObject
* obj0
= 0 ;
17834 PyObject
* obj1
= 0 ;
17835 char * kwnames
[] = {
17836 (char *) "self",(char *) "filterIndex", NULL
17839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17841 if (!SWIG_IsOK(res1
)) {
17842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17844 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17846 if (!SWIG_IsOK(ecode2
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17849 arg2
= static_cast< int >(val2
);
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 (arg1
)->SetFilterIndex(arg2
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_Py_Void();
17863 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17864 PyObject
*resultobj
= 0;
17865 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17869 PyObject
*swig_obj
[1] ;
17871 if (!args
) SWIG_fail
;
17872 swig_obj
[0] = args
;
17873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17877 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17897 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17898 PyObject
*resultobj
= 0;
17899 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17903 PyObject
*swig_obj
[1] ;
17905 if (!args
) SWIG_fail
;
17906 swig_obj
[0] = args
;
17907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17908 if (!SWIG_IsOK(res1
)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17911 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17931 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17932 PyObject
*resultobj
= 0;
17933 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17937 PyObject
*swig_obj
[1] ;
17939 if (!args
) SWIG_fail
;
17940 swig_obj
[0] = args
;
17941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17942 if (!SWIG_IsOK(res1
)) {
17943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17945 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17965 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17966 PyObject
*resultobj
= 0;
17967 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17971 PyObject
*swig_obj
[1] ;
17973 if (!args
) SWIG_fail
;
17974 swig_obj
[0] = args
;
17975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17979 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17999 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18000 PyObject
*resultobj
= 0;
18001 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18005 PyObject
*swig_obj
[1] ;
18007 if (!args
) SWIG_fail
;
18008 swig_obj
[0] = args
;
18009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18010 if (!SWIG_IsOK(res1
)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18013 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18033 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18034 PyObject
*resultobj
= 0;
18035 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18039 PyObject
*swig_obj
[1] ;
18041 if (!args
) SWIG_fail
;
18042 swig_obj
[0] = args
;
18043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18044 if (!SWIG_IsOK(res1
)) {
18045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18047 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_From_int(static_cast< int >(result
));
18061 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18062 PyObject
*resultobj
= 0;
18063 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18064 PyObject
*result
= 0 ;
18067 PyObject
*swig_obj
[1] ;
18069 if (!args
) SWIG_fail
;
18070 swig_obj
[0] = args
;
18071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18072 if (!SWIG_IsOK(res1
)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18075 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= result
;
18089 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18090 PyObject
*resultobj
= 0;
18091 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18092 PyObject
*result
= 0 ;
18095 PyObject
*swig_obj
[1] ;
18097 if (!args
) SWIG_fail
;
18098 swig_obj
[0] = args
;
18099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18100 if (!SWIG_IsOK(res1
)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18103 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= result
;
18117 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18120 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
18121 return SWIG_Py_Void();
18124 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18125 return SWIG_Python_InitShadowInstance(args
);
18128 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
= 0;
18130 wxWindow
*arg1
= (wxWindow
*) 0 ;
18131 wxString
*arg2
= 0 ;
18132 wxString
*arg3
= 0 ;
18133 int arg4
= (int) 0 ;
18134 wxString
*arg5
= (wxString
*) NULL
;
18135 long arg6
= (long) wxCHOICEDLG_STYLE
;
18136 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18137 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18138 wxMultiChoiceDialog
*result
= 0 ;
18141 bool temp2
= false ;
18142 bool temp3
= false ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 PyObject
* obj2
= 0 ;
18149 PyObject
* obj3
= 0 ;
18150 PyObject
* obj4
= 0 ;
18151 PyObject
* obj5
= 0 ;
18152 char * kwnames
[] = {
18153 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18163 arg2
= wxString_in_helper(obj1
);
18164 if (arg2
== NULL
) SWIG_fail
;
18168 arg3
= wxString_in_helper(obj2
);
18169 if (arg3
== NULL
) SWIG_fail
;
18174 arg4
= PyList_Size(obj3
);
18175 arg5
= wxString_LIST_helper(obj3
);
18176 if (arg5
== NULL
) SWIG_fail
;
18180 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18181 if (!SWIG_IsOK(ecode6
)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18184 arg6
= static_cast< long >(val6
);
18189 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18193 if (!wxPyCheckForApp()) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18209 if (arg5
) delete [] arg5
;
18222 if (arg5
) delete [] arg5
;
18228 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
= 0;
18230 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18231 wxArrayInt
*arg2
= 0 ;
18234 bool temp2
= false ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 char * kwnames
[] = {
18238 (char *) "self",(char *) "selections", NULL
18241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18243 if (!SWIG_IsOK(res1
)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18246 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18248 if (! PySequence_Check(obj1
)) {
18249 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18252 arg2
= new wxArrayInt
;
18254 int i
, len
=PySequence_Length(obj1
);
18255 for (i
=0; i
<len
; i
++) {
18256 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18257 PyObject
* number
= PyNumber_Int(item
);
18259 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18262 arg2
->Add(PyInt_AS_LONG(number
));
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_Py_Void();
18275 if (temp2
) delete arg2
;
18280 if (temp2
) delete arg2
;
18286 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18287 PyObject
*resultobj
= 0;
18288 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18289 PyObject
*result
= 0 ;
18292 PyObject
*swig_obj
[1] ;
18294 if (!args
) SWIG_fail
;
18295 swig_obj
[0] = args
;
18296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18297 if (!SWIG_IsOK(res1
)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18300 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= result
;
18314 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18317 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18318 return SWIG_Py_Void();
18321 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18322 return SWIG_Python_InitShadowInstance(args
);
18325 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
= 0;
18327 wxWindow
*arg1
= (wxWindow
*) 0 ;
18328 wxString
*arg2
= 0 ;
18329 wxString
*arg3
= 0 ;
18331 wxString
*arg5
= (wxString
*) 0 ;
18332 long arg6
= (long) wxCHOICEDLG_STYLE
;
18333 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18334 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18335 wxSingleChoiceDialog
*result
= 0 ;
18338 bool temp2
= false ;
18339 bool temp3
= false ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 PyObject
* obj2
= 0 ;
18346 PyObject
* obj3
= 0 ;
18347 PyObject
* obj4
= 0 ;
18348 PyObject
* obj5
= 0 ;
18349 char * kwnames
[] = {
18350 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18355 if (!SWIG_IsOK(res1
)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18360 arg2
= wxString_in_helper(obj1
);
18361 if (arg2
== NULL
) SWIG_fail
;
18365 arg3
= wxString_in_helper(obj2
);
18366 if (arg3
== NULL
) SWIG_fail
;
18370 arg4
= PyList_Size(obj3
);
18371 arg5
= wxString_LIST_helper(obj3
);
18372 if (arg5
== NULL
) SWIG_fail
;
18375 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18376 if (!SWIG_IsOK(ecode6
)) {
18377 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18379 arg6
= static_cast< long >(val6
);
18384 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18388 if (!wxPyCheckForApp()) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18404 if (arg5
) delete [] arg5
;
18417 if (arg5
) delete [] arg5
;
18423 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18424 PyObject
*resultobj
= 0;
18425 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18429 PyObject
*swig_obj
[1] ;
18431 if (!args
) SWIG_fail
;
18432 swig_obj
[0] = args
;
18433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18434 if (!SWIG_IsOK(res1
)) {
18435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18437 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (int)(arg1
)->GetSelection();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_From_int(static_cast< int >(result
));
18451 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18452 PyObject
*resultobj
= 0;
18453 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18457 PyObject
*swig_obj
[1] ;
18459 if (!args
) SWIG_fail
;
18460 swig_obj
[0] = args
;
18461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18465 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (arg1
)->GetStringSelection();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18485 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
= 0;
18487 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char * kwnames
[] = {
18496 (char *) "self",(char *) "sel", NULL
18499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18501 if (!SWIG_IsOK(res1
)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18504 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18506 if (!SWIG_IsOK(ecode2
)) {
18507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18509 arg2
= static_cast< int >(val2
);
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->SetSelection(arg2
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_Py_Void();
18523 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18526 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18527 return SWIG_Py_Void();
18530 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18531 return SWIG_Python_InitShadowInstance(args
);
18534 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
= 0;
18536 wxWindow
*arg1
= (wxWindow
*) 0 ;
18537 wxString
*arg2
= 0 ;
18538 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18540 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18541 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18542 long arg5
= (long) wxTextEntryDialogStyle
;
18543 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18544 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18545 wxTextEntryDialog
*result
= 0 ;
18548 bool temp2
= false ;
18549 bool temp3
= false ;
18550 bool temp4
= false ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 PyObject
* obj2
= 0 ;
18557 PyObject
* obj3
= 0 ;
18558 PyObject
* obj4
= 0 ;
18559 PyObject
* obj5
= 0 ;
18560 char * kwnames
[] = {
18561 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18566 if (!SWIG_IsOK(res1
)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18571 arg2
= wxString_in_helper(obj1
);
18572 if (arg2
== NULL
) SWIG_fail
;
18577 arg3
= wxString_in_helper(obj2
);
18578 if (arg3
== NULL
) SWIG_fail
;
18584 arg4
= wxString_in_helper(obj3
);
18585 if (arg4
== NULL
) SWIG_fail
;
18590 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18591 if (!SWIG_IsOK(ecode5
)) {
18592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18594 arg5
= static_cast< long >(val5
);
18599 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18603 if (!wxPyCheckForApp()) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18640 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18641 PyObject
*resultobj
= 0;
18642 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18646 PyObject
*swig_obj
[1] ;
18648 if (!args
) SWIG_fail
;
18649 swig_obj
[0] = args
;
18650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18654 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (arg1
)->GetValue();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18674 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= 0;
18676 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18677 wxString
*arg2
= 0 ;
18680 bool temp2
= false ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 char * kwnames
[] = {
18684 (char *) "self",(char *) "value", NULL
18687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18689 if (!SWIG_IsOK(res1
)) {
18690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18692 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18694 arg2
= wxString_in_helper(obj1
);
18695 if (arg2
== NULL
) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 (arg1
)->SetValue((wxString
const &)*arg2
);
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_Py_Void();
18719 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18722 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18723 return SWIG_Py_Void();
18726 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18727 return SWIG_Python_InitShadowInstance(args
);
18730 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18731 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18736 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18737 PyObject
*pyobj
= 0;
18741 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18743 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18750 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
= 0;
18752 wxWindow
*arg1
= (wxWindow
*) 0 ;
18753 wxString
*arg2
= 0 ;
18754 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18755 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18756 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18757 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18758 long arg5
= (long) wxTextEntryDialogStyle
;
18759 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18760 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18761 wxPasswordEntryDialog
*result
= 0 ;
18764 bool temp2
= false ;
18765 bool temp3
= false ;
18766 bool temp4
= false ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 PyObject
* obj2
= 0 ;
18773 PyObject
* obj3
= 0 ;
18774 PyObject
* obj4
= 0 ;
18775 PyObject
* obj5
= 0 ;
18776 char * kwnames
[] = {
18777 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18782 if (!SWIG_IsOK(res1
)) {
18783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18787 arg2
= wxString_in_helper(obj1
);
18788 if (arg2
== NULL
) SWIG_fail
;
18793 arg3
= wxString_in_helper(obj2
);
18794 if (arg3
== NULL
) SWIG_fail
;
18800 arg4
= wxString_in_helper(obj3
);
18801 if (arg4
== NULL
) SWIG_fail
;
18806 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18807 if (!SWIG_IsOK(ecode5
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18810 arg5
= static_cast< long >(val5
);
18815 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18855 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18858 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18859 return SWIG_Py_Void();
18862 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18863 return SWIG_Python_InitShadowInstance(args
);
18866 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
= 0;
18868 wxWindow
*arg1
= (wxWindow
*) 0 ;
18869 wxString
*arg2
= 0 ;
18870 wxString
*arg3
= 0 ;
18871 wxString
*arg4
= 0 ;
18875 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18876 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18877 wxNumberEntryDialog
*result
= 0 ;
18880 bool temp2
= false ;
18881 bool temp3
= false ;
18882 bool temp4
= false ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 PyObject
* obj2
= 0 ;
18893 PyObject
* obj3
= 0 ;
18894 PyObject
* obj4
= 0 ;
18895 PyObject
* obj5
= 0 ;
18896 PyObject
* obj6
= 0 ;
18897 PyObject
* obj7
= 0 ;
18898 char * kwnames
[] = {
18899 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18904 if (!SWIG_IsOK(res1
)) {
18905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18909 arg2
= wxString_in_helper(obj1
);
18910 if (arg2
== NULL
) SWIG_fail
;
18914 arg3
= wxString_in_helper(obj2
);
18915 if (arg3
== NULL
) SWIG_fail
;
18919 arg4
= wxString_in_helper(obj3
);
18920 if (arg4
== NULL
) SWIG_fail
;
18923 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18924 if (!SWIG_IsOK(ecode5
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18927 arg5
= static_cast< long >(val5
);
18928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18929 if (!SWIG_IsOK(ecode6
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18932 arg6
= static_cast< long >(val6
);
18933 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18934 if (!SWIG_IsOK(ecode7
)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18937 arg7
= static_cast< long >(val7
);
18941 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18945 if (!wxPyCheckForApp()) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18982 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18983 PyObject
*resultobj
= 0;
18984 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18988 PyObject
*swig_obj
[1] ;
18990 if (!args
) SWIG_fail
;
18991 swig_obj
[0] = args
;
18992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18993 if (!SWIG_IsOK(res1
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18996 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (long)(arg1
)->GetValue();
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= SWIG_From_long(static_cast< long >(result
));
19010 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19013 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
19014 return SWIG_Py_Void();
19017 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19018 return SWIG_Python_InitShadowInstance(args
);
19021 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19022 PyObject
*resultobj
= 0;
19023 wxFontData
*result
= 0 ;
19025 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (wxFontData
*)new wxFontData();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
19039 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19040 PyObject
*resultobj
= 0;
19041 wxFontData
*arg1
= (wxFontData
*) 0 ;
19044 PyObject
*swig_obj
[1] ;
19046 if (!args
) SWIG_fail
;
19047 swig_obj
[0] = args
;
19048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19052 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_Py_Void();
19067 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
= 0;
19069 wxFontData
*arg1
= (wxFontData
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char * kwnames
[] = {
19078 (char *) "self",(char *) "enable", NULL
19081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19083 if (!SWIG_IsOK(res1
)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19086 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19088 if (!SWIG_IsOK(ecode2
)) {
19089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19091 arg2
= static_cast< bool >(val2
);
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 (arg1
)->EnableEffects(arg2
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= SWIG_Py_Void();
19105 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19106 PyObject
*resultobj
= 0;
19107 wxFontData
*arg1
= (wxFontData
*) 0 ;
19111 PyObject
*swig_obj
[1] ;
19113 if (!args
) SWIG_fail
;
19114 swig_obj
[0] = args
;
19115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19116 if (!SWIG_IsOK(res1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19119 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (bool)(arg1
)->GetAllowSymbols();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19135 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19136 PyObject
*resultobj
= 0;
19137 wxFontData
*arg1
= (wxFontData
*) 0 ;
19141 PyObject
*swig_obj
[1] ;
19143 if (!args
) SWIG_fail
;
19144 swig_obj
[0] = args
;
19145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19149 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (arg1
)->GetColour();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19163 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19164 PyObject
*resultobj
= 0;
19165 wxFontData
*arg1
= (wxFontData
*) 0 ;
19169 PyObject
*swig_obj
[1] ;
19171 if (!args
) SWIG_fail
;
19172 swig_obj
[0] = args
;
19173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19174 if (!SWIG_IsOK(res1
)) {
19175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19177 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 result
= (arg1
)->GetChosenFont();
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19191 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19192 PyObject
*resultobj
= 0;
19193 wxFontData
*arg1
= (wxFontData
*) 0 ;
19197 PyObject
*swig_obj
[1] ;
19199 if (!args
) SWIG_fail
;
19200 swig_obj
[0] = args
;
19201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19205 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (bool)(arg1
)->GetEnableEffects();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19221 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19222 PyObject
*resultobj
= 0;
19223 wxFontData
*arg1
= (wxFontData
*) 0 ;
19227 PyObject
*swig_obj
[1] ;
19229 if (!args
) SWIG_fail
;
19230 swig_obj
[0] = args
;
19231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19235 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (arg1
)->GetInitialFont();
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19249 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19250 PyObject
*resultobj
= 0;
19251 wxFontData
*arg1
= (wxFontData
*) 0 ;
19255 PyObject
*swig_obj
[1] ;
19257 if (!args
) SWIG_fail
;
19258 swig_obj
[0] = args
;
19259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19260 if (!SWIG_IsOK(res1
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19263 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (bool)(arg1
)->GetShowHelp();
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19279 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
= 0;
19281 wxFontData
*arg1
= (wxFontData
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char * kwnames
[] = {
19290 (char *) "self",(char *) "allowSymbols", NULL
19293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19298 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19300 if (!SWIG_IsOK(ecode2
)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19303 arg2
= static_cast< bool >(val2
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->SetAllowSymbols(arg2
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= SWIG_Py_Void();
19317 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
= 0;
19319 wxFontData
*arg1
= (wxFontData
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char * kwnames
[] = {
19328 (char *) "self",(char *) "font", NULL
19331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19333 if (!SWIG_IsOK(res1
)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19336 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19338 if (!SWIG_IsOK(res2
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19344 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_Py_Void();
19358 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
= 0;
19360 wxFontData
*arg1
= (wxFontData
*) 0 ;
19361 wxColour
*arg2
= 0 ;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char * kwnames
[] = {
19368 (char *) "self",(char *) "colour", NULL
19371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19373 if (!SWIG_IsOK(res1
)) {
19374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19376 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19379 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->SetColour((wxColour
const &)*arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_Py_Void();
19394 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
= 0;
19396 wxFontData
*arg1
= (wxFontData
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "self",(char *) "font", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19413 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19415 if (!SWIG_IsOK(res2
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19421 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_Py_Void();
19435 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
= 0;
19437 wxFontData
*arg1
= (wxFontData
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 PyObject
* obj2
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "min",(char *) "max", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19458 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19460 if (!SWIG_IsOK(ecode2
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19463 arg2
= static_cast< int >(val2
);
19464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19465 if (!SWIG_IsOK(ecode3
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19468 arg3
= static_cast< int >(val3
);
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->SetRange(arg2
,arg3
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= SWIG_Py_Void();
19482 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
= 0;
19484 wxFontData
*arg1
= (wxFontData
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 char * kwnames
[] = {
19493 (char *) "self",(char *) "showHelp", NULL
19496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19498 if (!SWIG_IsOK(res1
)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19501 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19502 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19503 if (!SWIG_IsOK(ecode2
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19506 arg2
= static_cast< bool >(val2
);
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 (arg1
)->SetShowHelp(arg2
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_Py_Void();
19520 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19523 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19524 return SWIG_Py_Void();
19527 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19528 return SWIG_Python_InitShadowInstance(args
);
19531 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
= 0;
19533 wxWindow
*arg1
= (wxWindow
*) 0 ;
19534 wxFontData
*arg2
= 0 ;
19535 wxFontDialog
*result
= 0 ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char * kwnames
[] = {
19543 (char *) "parent",(char *) "data", NULL
19546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19551 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19553 if (!SWIG_IsOK(res2
)) {
19554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19559 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19561 if (!wxPyCheckForApp()) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19574 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19575 PyObject
*resultobj
= 0;
19576 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19577 wxFontData
*result
= 0 ;
19580 PyObject
*swig_obj
[1] ;
19582 if (!args
) SWIG_fail
;
19583 swig_obj
[0] = args
;
19584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19585 if (!SWIG_IsOK(res1
)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19588 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19593 result
= (wxFontData
*) &_result_ref
;
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19605 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19608 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19609 return SWIG_Py_Void();
19612 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19613 return SWIG_Python_InitShadowInstance(args
);
19616 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
= 0;
19618 wxWindow
*arg1
= (wxWindow
*) NULL
;
19619 wxFont
const &arg2_defvalue
= wxNullFont
;
19620 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19628 bool temp3
= false ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 PyObject
* obj2
= 0 ;
19632 char * kwnames
[] = {
19633 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19639 if (!SWIG_IsOK(res1
)) {
19640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19642 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19646 if (!SWIG_IsOK(res2
)) {
19647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19652 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19656 arg3
= wxString_in_helper(obj2
);
19657 if (arg3
== NULL
) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19682 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
= 0;
19684 wxWindow
*arg1
= (wxWindow
*) 0 ;
19685 wxString
*arg2
= 0 ;
19686 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19687 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19688 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19689 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19690 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19691 wxMessageDialog
*result
= 0 ;
19694 bool temp2
= false ;
19695 bool temp3
= false ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 PyObject
* obj2
= 0 ;
19702 PyObject
* obj3
= 0 ;
19703 PyObject
* obj4
= 0 ;
19704 char * kwnames
[] = {
19705 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19710 if (!SWIG_IsOK(res1
)) {
19711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19713 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19715 arg2
= wxString_in_helper(obj1
);
19716 if (arg2
== NULL
) SWIG_fail
;
19721 arg3
= wxString_in_helper(obj2
);
19722 if (arg3
== NULL
) SWIG_fail
;
19727 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19728 if (!SWIG_IsOK(ecode4
)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19731 arg4
= static_cast< long >(val4
);
19736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19740 if (!wxPyCheckForApp()) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19769 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19772 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19773 return SWIG_Py_Void();
19776 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19777 return SWIG_Python_InitShadowInstance(args
);
19780 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
= 0;
19782 wxString
*arg1
= 0 ;
19783 wxString
*arg2
= 0 ;
19784 int arg3
= (int) 100 ;
19785 wxWindow
*arg4
= (wxWindow
*) NULL
;
19786 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19787 wxProgressDialog
*result
= 0 ;
19788 bool temp1
= false ;
19789 bool temp2
= false ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 PyObject
* obj2
= 0 ;
19799 PyObject
* obj3
= 0 ;
19800 PyObject
* obj4
= 0 ;
19801 char * kwnames
[] = {
19802 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19807 arg1
= wxString_in_helper(obj0
);
19808 if (arg1
== NULL
) SWIG_fail
;
19812 arg2
= wxString_in_helper(obj1
);
19813 if (arg2
== NULL
) SWIG_fail
;
19817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19818 if (!SWIG_IsOK(ecode3
)) {
19819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19821 arg3
= static_cast< int >(val3
);
19824 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19825 if (!SWIG_IsOK(res4
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19828 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19832 if (!SWIG_IsOK(ecode5
)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19835 arg5
= static_cast< int >(val5
);
19838 if (!wxPyCheckForApp()) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19867 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
= 0;
19869 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19871 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19872 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19873 bool *arg4
= (bool *) 0 ;
19879 bool temp3
= false ;
19881 int res4
= SWIG_TMPOBJ
;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 PyObject
* obj2
= 0 ;
19885 char * kwnames
[] = {
19886 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19892 if (!SWIG_IsOK(res1
)) {
19893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19895 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19897 if (!SWIG_IsOK(ecode2
)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19900 arg2
= static_cast< int >(val2
);
19903 arg3
= wxString_in_helper(obj2
);
19904 if (arg3
== NULL
) SWIG_fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 if (SWIG_IsTmpObj(res4
)) {
19918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19920 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19937 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
= 0;
19939 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19940 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19941 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19942 bool *arg3
= (bool *) 0 ;
19946 bool temp2
= false ;
19948 int res3
= SWIG_TMPOBJ
;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19951 char * kwnames
[] = {
19952 (char *) "self",(char *) "newmsg", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19961 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19964 arg2
= wxString_in_helper(obj1
);
19965 if (arg2
== NULL
) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19978 if (SWIG_IsTmpObj(res3
)) {
19979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19981 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19998 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19999 PyObject
*resultobj
= 0;
20000 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20003 PyObject
*swig_obj
[1] ;
20005 if (!args
) SWIG_fail
;
20006 swig_obj
[0] = args
;
20007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20011 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= SWIG_Py_Void();
20025 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20028 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
20029 return SWIG_Py_Void();
20032 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20033 return SWIG_Python_InitShadowInstance(args
);
20036 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20039 int arg2
= (int) 0 ;
20040 wxFindDialogEvent
*result
= 0 ;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 char * kwnames
[] = {
20048 (char *) "commandType",(char *) "id", NULL
20051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20054 if (!SWIG_IsOK(ecode1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20057 arg1
= static_cast< wxEventType
>(val1
);
20060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20061 if (!SWIG_IsOK(ecode2
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20064 arg2
= static_cast< int >(val2
);
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
20079 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20080 PyObject
*resultobj
= 0;
20081 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20085 PyObject
*swig_obj
[1] ;
20087 if (!args
) SWIG_fail
;
20088 swig_obj
[0] = args
;
20089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20093 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (int)(arg1
)->GetFlags();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= SWIG_From_int(static_cast< int >(result
));
20107 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20108 PyObject
*resultobj
= 0;
20109 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20110 wxString
*result
= 0 ;
20113 PyObject
*swig_obj
[1] ;
20115 if (!args
) SWIG_fail
;
20116 swig_obj
[0] = args
;
20117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20118 if (!SWIG_IsOK(res1
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20121 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 wxString
const &_result_ref
= (arg1
)->GetFindString();
20126 result
= (wxString
*) &_result_ref
;
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20144 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20145 PyObject
*resultobj
= 0;
20146 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20147 wxString
*result
= 0 ;
20150 PyObject
*swig_obj
[1] ;
20152 if (!args
) SWIG_fail
;
20153 swig_obj
[0] = args
;
20154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20158 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20163 result
= (wxString
*) &_result_ref
;
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20172 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20181 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20182 PyObject
*resultobj
= 0;
20183 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20184 wxFindReplaceDialog
*result
= 0 ;
20187 PyObject
*swig_obj
[1] ;
20189 if (!args
) SWIG_fail
;
20190 swig_obj
[0] = args
;
20191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20192 if (!SWIG_IsOK(res1
)) {
20193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20195 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20209 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
= 0;
20211 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 char * kwnames
[] = {
20220 (char *) "self",(char *) "flags", NULL
20223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20225 if (!SWIG_IsOK(res1
)) {
20226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20228 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20230 if (!SWIG_IsOK(ecode2
)) {
20231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20233 arg2
= static_cast< int >(val2
);
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 (arg1
)->SetFlags(arg2
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_Py_Void();
20247 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
= 0;
20249 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20250 wxString
*arg2
= 0 ;
20253 bool temp2
= false ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20256 char * kwnames
[] = {
20257 (char *) "self",(char *) "str", NULL
20260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20262 if (!SWIG_IsOK(res1
)) {
20263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20265 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20267 arg2
= wxString_in_helper(obj1
);
20268 if (arg2
== NULL
) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 (arg1
)->SetFindString((wxString
const &)*arg2
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_Py_Void();
20292 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
= 0;
20294 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20295 wxString
*arg2
= 0 ;
20298 bool temp2
= false ;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20301 char * kwnames
[] = {
20302 (char *) "self",(char *) "str", NULL
20305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20307 if (!SWIG_IsOK(res1
)) {
20308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20310 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20312 arg2
= wxString_in_helper(obj1
);
20313 if (arg2
== NULL
) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_Py_Void();
20337 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20340 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20341 return SWIG_Py_Void();
20344 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20345 return SWIG_Python_InitShadowInstance(args
);
20348 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
= 0;
20350 int arg1
= (int) 0 ;
20351 wxFindReplaceData
*result
= 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char * kwnames
[] = {
20356 (char *) "flags", NULL
20359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20362 if (!SWIG_IsOK(ecode1
)) {
20363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20365 arg1
= static_cast< int >(val1
);
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20380 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20381 PyObject
*resultobj
= 0;
20382 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20385 PyObject
*swig_obj
[1] ;
20387 if (!args
) SWIG_fail
;
20388 swig_obj
[0] = args
;
20389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20393 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= SWIG_Py_Void();
20408 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20409 PyObject
*resultobj
= 0;
20410 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20411 wxString
*result
= 0 ;
20414 PyObject
*swig_obj
[1] ;
20416 if (!args
) SWIG_fail
;
20417 swig_obj
[0] = args
;
20418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20419 if (!SWIG_IsOK(res1
)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20422 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 wxString
const &_result_ref
= (arg1
)->GetFindString();
20427 result
= (wxString
*) &_result_ref
;
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20436 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20445 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20446 PyObject
*resultobj
= 0;
20447 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20448 wxString
*result
= 0 ;
20451 PyObject
*swig_obj
[1] ;
20453 if (!args
) SWIG_fail
;
20454 swig_obj
[0] = args
;
20455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20456 if (!SWIG_IsOK(res1
)) {
20457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20459 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20464 result
= (wxString
*) &_result_ref
;
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20473 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20482 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20483 PyObject
*resultobj
= 0;
20484 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20488 PyObject
*swig_obj
[1] ;
20490 if (!args
) SWIG_fail
;
20491 swig_obj
[0] = args
;
20492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20493 if (!SWIG_IsOK(res1
)) {
20494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20496 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (int)(arg1
)->GetFlags();
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_From_int(static_cast< int >(result
));
20510 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
= 0;
20512 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 char * kwnames
[] = {
20521 (char *) "self",(char *) "flags", NULL
20524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20529 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20531 if (!SWIG_IsOK(ecode2
)) {
20532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20534 arg2
= static_cast< int >(val2
);
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 (arg1
)->SetFlags(arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_Py_Void();
20548 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
= 0;
20550 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20551 wxString
*arg2
= 0 ;
20554 bool temp2
= false ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char * kwnames
[] = {
20558 (char *) "self",(char *) "str", NULL
20561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20563 if (!SWIG_IsOK(res1
)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20566 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20568 arg2
= wxString_in_helper(obj1
);
20569 if (arg2
== NULL
) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->SetFindString((wxString
const &)*arg2
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= SWIG_Py_Void();
20593 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
= 0;
20595 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20596 wxString
*arg2
= 0 ;
20599 bool temp2
= false ;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20602 char * kwnames
[] = {
20603 (char *) "self",(char *) "str", NULL
20606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20608 if (!SWIG_IsOK(res1
)) {
20609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20611 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20613 arg2
= wxString_in_helper(obj1
);
20614 if (arg2
== NULL
) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_Py_Void();
20638 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20641 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20642 return SWIG_Py_Void();
20645 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20646 return SWIG_Python_InitShadowInstance(args
);
20649 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
= 0;
20651 wxWindow
*arg1
= (wxWindow
*) 0 ;
20652 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20653 wxString
*arg3
= 0 ;
20654 int arg4
= (int) 0 ;
20655 wxFindReplaceDialog
*result
= 0 ;
20660 bool temp3
= false ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 PyObject
* obj2
= 0 ;
20666 PyObject
* obj3
= 0 ;
20667 char * kwnames
[] = {
20668 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20676 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20678 if (!SWIG_IsOK(res2
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20681 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20683 arg3
= wxString_in_helper(obj2
);
20684 if (arg3
== NULL
) SWIG_fail
;
20688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20689 if (!SWIG_IsOK(ecode4
)) {
20690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20692 arg4
= static_cast< int >(val4
);
20695 if (!wxPyCheckForApp()) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20716 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20717 PyObject
*resultobj
= 0;
20718 wxFindReplaceDialog
*result
= 0 ;
20720 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20722 if (!wxPyCheckForApp()) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20735 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= 0;
20737 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20738 wxWindow
*arg2
= (wxWindow
*) 0 ;
20739 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20740 wxString
*arg4
= 0 ;
20741 int arg5
= (int) 0 ;
20749 bool temp4
= false ;
20752 PyObject
* obj0
= 0 ;
20753 PyObject
* obj1
= 0 ;
20754 PyObject
* obj2
= 0 ;
20755 PyObject
* obj3
= 0 ;
20756 PyObject
* obj4
= 0 ;
20757 char * kwnames
[] = {
20758 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20763 if (!SWIG_IsOK(res1
)) {
20764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20766 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20768 if (!SWIG_IsOK(res2
)) {
20769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20773 if (!SWIG_IsOK(res3
)) {
20774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20776 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20778 arg4
= wxString_in_helper(obj3
);
20779 if (arg4
== NULL
) SWIG_fail
;
20783 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20784 if (!SWIG_IsOK(ecode5
)) {
20785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20787 arg5
= static_cast< int >(val5
);
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20812 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20813 PyObject
*resultobj
= 0;
20814 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20815 wxFindReplaceData
*result
= 0 ;
20818 PyObject
*swig_obj
[1] ;
20820 if (!args
) SWIG_fail
;
20821 swig_obj
[0] = args
;
20822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20823 if (!SWIG_IsOK(res1
)) {
20824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20826 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20840 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
= 0;
20842 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20843 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20850 char * kwnames
[] = {
20851 (char *) "self",(char *) "data", NULL
20854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20859 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20861 if (!SWIG_IsOK(res2
)) {
20862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20864 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 (arg1
)->SetData(arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= SWIG_Py_Void();
20878 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20881 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20882 return SWIG_Py_Void();
20885 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20886 return SWIG_Python_InitShadowInstance(args
);
20889 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= 0;
20891 wxWindow
*arg1
= (wxWindow
*) 0 ;
20892 int arg2
= (int) (int)-1 ;
20893 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20894 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20895 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20896 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20897 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20898 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20899 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20900 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20901 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20902 wxMDIParentFrame
*result
= 0 ;
20907 bool temp3
= false ;
20912 bool temp7
= false ;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 PyObject
* obj2
= 0 ;
20916 PyObject
* obj3
= 0 ;
20917 PyObject
* obj4
= 0 ;
20918 PyObject
* obj5
= 0 ;
20919 PyObject
* obj6
= 0 ;
20920 char * kwnames
[] = {
20921 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20926 if (!SWIG_IsOK(res1
)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20929 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20932 if (!SWIG_IsOK(ecode2
)) {
20933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20935 arg2
= static_cast< int >(val2
);
20939 arg3
= wxString_in_helper(obj2
);
20940 if (arg3
== NULL
) SWIG_fail
;
20947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20957 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20958 if (!SWIG_IsOK(ecode6
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20961 arg6
= static_cast< long >(val6
);
20965 arg7
= wxString_in_helper(obj6
);
20966 if (arg7
== NULL
) SWIG_fail
;
20971 if (!wxPyCheckForApp()) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
21000 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 PyObject
*resultobj
= 0;
21002 wxMDIParentFrame
*result
= 0 ;
21004 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
21006 if (!wxPyCheckForApp()) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
21019 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
= 0;
21021 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21022 wxWindow
*arg2
= (wxWindow
*) 0 ;
21023 int arg3
= (int) (int)-1 ;
21024 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21025 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21026 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21027 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21028 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21029 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21030 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
21031 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21032 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21040 bool temp4
= false ;
21045 bool temp8
= false ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 PyObject
* obj2
= 0 ;
21049 PyObject
* obj3
= 0 ;
21050 PyObject
* obj4
= 0 ;
21051 PyObject
* obj5
= 0 ;
21052 PyObject
* obj6
= 0 ;
21053 PyObject
* obj7
= 0 ;
21054 char * kwnames
[] = {
21055 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21060 if (!SWIG_IsOK(res1
)) {
21061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21063 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21065 if (!SWIG_IsOK(res2
)) {
21066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21071 if (!SWIG_IsOK(ecode3
)) {
21072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21074 arg3
= static_cast< int >(val3
);
21078 arg4
= wxString_in_helper(obj3
);
21079 if (arg4
== NULL
) SWIG_fail
;
21086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21096 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21097 if (!SWIG_IsOK(ecode7
)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21100 arg7
= static_cast< long >(val7
);
21104 arg8
= wxString_in_helper(obj7
);
21105 if (arg8
== NULL
) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21140 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21141 PyObject
*resultobj
= 0;
21142 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21145 PyObject
*swig_obj
[1] ;
21147 if (!args
) SWIG_fail
;
21148 swig_obj
[0] = args
;
21149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21153 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 (arg1
)->ActivateNext();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_Py_Void();
21167 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21168 PyObject
*resultobj
= 0;
21169 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21172 PyObject
*swig_obj
[1] ;
21174 if (!args
) SWIG_fail
;
21175 swig_obj
[0] = args
;
21176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21177 if (!SWIG_IsOK(res1
)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21180 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 (arg1
)->ActivatePrevious();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_Py_Void();
21194 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21195 PyObject
*resultobj
= 0;
21196 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21199 PyObject
*swig_obj
[1] ;
21201 if (!args
) SWIG_fail
;
21202 swig_obj
[0] = args
;
21203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21204 if (!SWIG_IsOK(res1
)) {
21205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21207 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 (arg1
)->ArrangeIcons();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_Py_Void();
21221 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21222 PyObject
*resultobj
= 0;
21223 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21226 PyObject
*swig_obj
[1] ;
21228 if (!args
) SWIG_fail
;
21229 swig_obj
[0] = args
;
21230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21231 if (!SWIG_IsOK(res1
)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21234 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_Py_Void();
21248 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21249 PyObject
*resultobj
= 0;
21250 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21251 wxMDIChildFrame
*result
= 0 ;
21254 PyObject
*swig_obj
[1] ;
21256 if (!args
) SWIG_fail
;
21257 swig_obj
[0] = args
;
21258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21259 if (!SWIG_IsOK(res1
)) {
21260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21262 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21278 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21279 PyObject
*resultobj
= 0;
21280 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21281 wxMDIClientWindow
*result
= 0 ;
21284 PyObject
*swig_obj
[1] ;
21286 if (!args
) SWIG_fail
;
21287 swig_obj
[0] = args
;
21288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21292 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21308 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
= 0;
21310 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21311 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 char * kwnames
[] = {
21319 (char *) "self",(char *) "orient", NULL
21322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21324 if (!SWIG_IsOK(res1
)) {
21325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21327 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21330 if (!SWIG_IsOK(ecode2
)) {
21331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21333 arg2
= static_cast< wxOrientation
>(val2
);
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 (arg1
)->Tile(arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= SWIG_Py_Void();
21348 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21351 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21352 return SWIG_Py_Void();
21355 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21356 return SWIG_Python_InitShadowInstance(args
);
21359 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= 0;
21361 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21362 int arg2
= (int) (int)-1 ;
21363 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21364 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21365 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21366 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21367 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21368 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21369 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21370 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21372 wxMDIChildFrame
*result
= 0 ;
21377 bool temp3
= false ;
21382 bool temp7
= false ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 PyObject
* obj2
= 0 ;
21386 PyObject
* obj3
= 0 ;
21387 PyObject
* obj4
= 0 ;
21388 PyObject
* obj5
= 0 ;
21389 PyObject
* obj6
= 0 ;
21390 char * kwnames
[] = {
21391 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21396 if (!SWIG_IsOK(res1
)) {
21397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21399 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21402 if (!SWIG_IsOK(ecode2
)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21405 arg2
= static_cast< int >(val2
);
21409 arg3
= wxString_in_helper(obj2
);
21410 if (arg3
== NULL
) SWIG_fail
;
21417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21427 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21428 if (!SWIG_IsOK(ecode6
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21431 arg6
= static_cast< long >(val6
);
21435 arg7
= wxString_in_helper(obj6
);
21436 if (arg7
== NULL
) SWIG_fail
;
21441 if (!wxPyCheckForApp()) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21470 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 PyObject
*resultobj
= 0;
21472 wxMDIChildFrame
*result
= 0 ;
21474 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21476 if (!wxPyCheckForApp()) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21489 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
= 0;
21491 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21492 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21493 int arg3
= (int) (int)-1 ;
21494 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21500 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21501 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21502 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21510 bool temp4
= false ;
21515 bool temp8
= false ;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 PyObject
* obj2
= 0 ;
21519 PyObject
* obj3
= 0 ;
21520 PyObject
* obj4
= 0 ;
21521 PyObject
* obj5
= 0 ;
21522 PyObject
* obj6
= 0 ;
21523 PyObject
* obj7
= 0 ;
21524 char * kwnames
[] = {
21525 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21530 if (!SWIG_IsOK(res1
)) {
21531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21533 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21535 if (!SWIG_IsOK(res2
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21538 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21541 if (!SWIG_IsOK(ecode3
)) {
21542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21544 arg3
= static_cast< int >(val3
);
21548 arg4
= wxString_in_helper(obj3
);
21549 if (arg4
== NULL
) SWIG_fail
;
21556 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21562 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21566 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21567 if (!SWIG_IsOK(ecode7
)) {
21568 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21570 arg7
= static_cast< long >(val7
);
21574 arg8
= wxString_in_helper(obj7
);
21575 if (arg8
== NULL
) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21610 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21611 PyObject
*resultobj
= 0;
21612 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21615 PyObject
*swig_obj
[1] ;
21617 if (!args
) SWIG_fail
;
21618 swig_obj
[0] = args
;
21619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21620 if (!SWIG_IsOK(res1
)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21623 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->Activate();
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= SWIG_Py_Void();
21637 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21640 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21641 return SWIG_Py_Void();
21644 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21645 return SWIG_Python_InitShadowInstance(args
);
21648 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
= 0;
21650 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21651 long arg2
= (long) 0 ;
21652 wxMDIClientWindow
*result
= 0 ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 char * kwnames
[] = {
21660 (char *) "parent",(char *) "style", NULL
21663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21665 if (!SWIG_IsOK(res1
)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21668 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21671 if (!SWIG_IsOK(ecode2
)) {
21672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21674 arg2
= static_cast< long >(val2
);
21677 if (!wxPyCheckForApp()) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21690 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21691 PyObject
*resultobj
= 0;
21692 wxMDIClientWindow
*result
= 0 ;
21694 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21696 if (!wxPyCheckForApp()) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21709 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
= 0;
21711 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21712 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21713 long arg3
= (long) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 PyObject
* obj2
= 0 ;
21724 char * kwnames
[] = {
21725 (char *) "self",(char *) "parent",(char *) "style", NULL
21728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21733 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21735 if (!SWIG_IsOK(res2
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21738 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21740 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21741 if (!SWIG_IsOK(ecode3
)) {
21742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21744 arg3
= static_cast< long >(val3
);
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21761 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21764 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21765 return SWIG_Py_Void();
21768 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21769 return SWIG_Python_InitShadowInstance(args
);
21772 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
= 0;
21774 wxWindow
*arg1
= (wxWindow
*) 0 ;
21775 int arg2
= (int) (int)-1 ;
21776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21780 long arg5
= (long) 0 ;
21781 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21782 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21783 wxPyWindow
*result
= 0 ;
21792 bool temp6
= false ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 PyObject
* obj2
= 0 ;
21796 PyObject
* obj3
= 0 ;
21797 PyObject
* obj4
= 0 ;
21798 PyObject
* obj5
= 0 ;
21799 char * kwnames
[] = {
21800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21805 if (!SWIG_IsOK(res1
)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21811 if (!SWIG_IsOK(ecode2
)) {
21812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21814 arg2
= static_cast< int >(val2
);
21819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21825 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21829 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21830 if (!SWIG_IsOK(ecode5
)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21833 arg5
= static_cast< long >(val5
);
21837 arg6
= wxString_in_helper(obj5
);
21838 if (arg6
== NULL
) SWIG_fail
;
21843 if (!wxPyCheckForApp()) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21864 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21865 PyObject
*resultobj
= 0;
21866 wxPyWindow
*result
= 0 ;
21868 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21870 if (!wxPyCheckForApp()) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (wxPyWindow
*)new wxPyWindow();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21883 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
= 0;
21885 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21886 PyObject
*arg2
= (PyObject
*) 0 ;
21887 PyObject
*arg3
= (PyObject
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 PyObject
* obj2
= 0 ;
21893 char * kwnames
[] = {
21894 (char *) "self",(char *) "self",(char *) "_class", NULL
21897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21899 if (!SWIG_IsOK(res1
)) {
21900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21902 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_Py_Void();
21918 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
= 0;
21920 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21921 wxDC
*arg2
= (wxDC
*) 0 ;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 char * kwnames
[] = {
21930 (char *) "self",(char *) "dc", NULL
21933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21935 if (!SWIG_IsOK(res1
)) {
21936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21938 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21940 if (!SWIG_IsOK(res2
)) {
21941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21943 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21959 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
= 0;
21961 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 PyObject
* obj2
= 0 ;
21979 PyObject
* obj3
= 0 ;
21980 PyObject
* obj4
= 0 ;
21981 char * kwnames
[] = {
21982 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21990 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21992 if (!SWIG_IsOK(ecode2
)) {
21993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21995 arg2
= static_cast< int >(val2
);
21996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21997 if (!SWIG_IsOK(ecode3
)) {
21998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22000 arg3
= static_cast< int >(val3
);
22001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22002 if (!SWIG_IsOK(ecode4
)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22005 arg4
= static_cast< int >(val4
);
22006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22007 if (!SWIG_IsOK(ecode5
)) {
22008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22010 arg5
= static_cast< int >(val5
);
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= SWIG_Py_Void();
22024 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= 0;
22026 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22031 int arg6
= (int) wxSIZE_AUTO
;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 PyObject
* obj2
= 0 ;
22047 PyObject
* obj3
= 0 ;
22048 PyObject
* obj4
= 0 ;
22049 PyObject
* obj5
= 0 ;
22050 char * kwnames
[] = {
22051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22056 if (!SWIG_IsOK(res1
)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22059 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22061 if (!SWIG_IsOK(ecode2
)) {
22062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22064 arg2
= static_cast< int >(val2
);
22065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22066 if (!SWIG_IsOK(ecode3
)) {
22067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22069 arg3
= static_cast< int >(val3
);
22070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22071 if (!SWIG_IsOK(ecode4
)) {
22072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22074 arg4
= static_cast< int >(val4
);
22075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22076 if (!SWIG_IsOK(ecode5
)) {
22077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22079 arg5
= static_cast< int >(val5
);
22081 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22082 if (!SWIG_IsOK(ecode6
)) {
22083 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22085 arg6
= static_cast< int >(val6
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_Py_Void();
22100 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
= 0;
22102 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 PyObject
* obj2
= 0 ;
22114 char * kwnames
[] = {
22115 (char *) "self",(char *) "width",(char *) "height", NULL
22118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22120 if (!SWIG_IsOK(res1
)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22123 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22125 if (!SWIG_IsOK(ecode2
)) {
22126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22128 arg2
= static_cast< int >(val2
);
22129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22130 if (!SWIG_IsOK(ecode3
)) {
22131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22133 arg3
= static_cast< int >(val3
);
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 (arg1
)->DoSetClientSize(arg2
,arg3
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_Py_Void();
22147 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= 0;
22149 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 PyObject
* obj2
= 0 ;
22161 char * kwnames
[] = {
22162 (char *) "self",(char *) "x",(char *) "y", NULL
22165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22170 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22172 if (!SWIG_IsOK(ecode2
)) {
22173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22175 arg2
= static_cast< int >(val2
);
22176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22177 if (!SWIG_IsOK(ecode3
)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22180 arg3
= static_cast< int >(val3
);
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_Py_Void();
22194 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22195 PyObject
*resultobj
= 0;
22196 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22197 int *arg2
= (int *) 0 ;
22198 int *arg3
= (int *) 0 ;
22202 int res2
= SWIG_TMPOBJ
;
22204 int res3
= SWIG_TMPOBJ
;
22205 PyObject
*swig_obj
[1] ;
22209 if (!args
) SWIG_fail
;
22210 swig_obj
[0] = args
;
22211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22215 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= SWIG_Py_Void();
22223 if (SWIG_IsTmpObj(res2
)) {
22224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22226 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22229 if (SWIG_IsTmpObj(res3
)) {
22230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22232 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22241 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 PyObject
*resultobj
= 0;
22243 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22244 int *arg2
= (int *) 0 ;
22245 int *arg3
= (int *) 0 ;
22249 int res2
= SWIG_TMPOBJ
;
22251 int res3
= SWIG_TMPOBJ
;
22252 PyObject
*swig_obj
[1] ;
22256 if (!args
) SWIG_fail
;
22257 swig_obj
[0] = args
;
22258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22259 if (!SWIG_IsOK(res1
)) {
22260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22262 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= SWIG_Py_Void();
22270 if (SWIG_IsTmpObj(res2
)) {
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22273 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22276 if (SWIG_IsTmpObj(res3
)) {
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22279 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22288 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22289 PyObject
*resultobj
= 0;
22290 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22291 int *arg2
= (int *) 0 ;
22292 int *arg3
= (int *) 0 ;
22296 int res2
= SWIG_TMPOBJ
;
22298 int res3
= SWIG_TMPOBJ
;
22299 PyObject
*swig_obj
[1] ;
22303 if (!args
) SWIG_fail
;
22304 swig_obj
[0] = args
;
22305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22306 if (!SWIG_IsOK(res1
)) {
22307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22309 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= SWIG_Py_Void();
22317 if (SWIG_IsTmpObj(res2
)) {
22318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22320 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22323 if (SWIG_IsTmpObj(res3
)) {
22324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22326 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22335 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22336 PyObject
*resultobj
= 0;
22337 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22341 PyObject
*swig_obj
[1] ;
22343 if (!args
) SWIG_fail
;
22344 swig_obj
[0] = args
;
22345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22346 if (!SWIG_IsOK(res1
)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22349 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22363 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22364 PyObject
*resultobj
= 0;
22365 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22369 PyObject
*swig_obj
[1] ;
22371 if (!args
) SWIG_fail
;
22372 swig_obj
[0] = args
;
22373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22377 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22391 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22392 PyObject
*resultobj
= 0;
22393 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22394 SwigValueWrapper
<wxVisualAttributes
> result
;
22397 PyObject
*swig_obj
[1] ;
22399 if (!args
) SWIG_fail
;
22400 swig_obj
[0] = args
;
22401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22405 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (arg1
)->GetDefaultAttributes();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22419 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22420 PyObject
*resultobj
= 0;
22421 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22424 PyObject
*swig_obj
[1] ;
22426 if (!args
) SWIG_fail
;
22427 swig_obj
[0] = args
;
22428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22429 if (!SWIG_IsOK(res1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22432 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 (arg1
)->OnInternalIdle();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= SWIG_Py_Void();
22446 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22450 return SWIG_Py_Void();
22453 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 return SWIG_Python_InitShadowInstance(args
);
22457 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
= 0;
22459 wxWindow
*arg1
= (wxWindow
*) 0 ;
22460 int arg2
= (int) (int)-1 ;
22461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22465 long arg5
= (long) 0 ;
22466 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22467 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22468 wxPyPanel
*result
= 0 ;
22477 bool temp6
= false ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 PyObject
* obj2
= 0 ;
22481 PyObject
* obj3
= 0 ;
22482 PyObject
* obj4
= 0 ;
22483 PyObject
* obj5
= 0 ;
22484 char * kwnames
[] = {
22485 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22496 if (!SWIG_IsOK(ecode2
)) {
22497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22499 arg2
= static_cast< int >(val2
);
22504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22514 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22515 if (!SWIG_IsOK(ecode5
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22518 arg5
= static_cast< long >(val5
);
22522 arg6
= wxString_in_helper(obj5
);
22523 if (arg6
== NULL
) SWIG_fail
;
22528 if (!wxPyCheckForApp()) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22549 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22550 PyObject
*resultobj
= 0;
22551 wxPyPanel
*result
= 0 ;
22553 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22555 if (!wxPyCheckForApp()) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (wxPyPanel
*)new wxPyPanel();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22568 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
= 0;
22570 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22571 PyObject
*arg2
= (PyObject
*) 0 ;
22572 PyObject
*arg3
= (PyObject
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 PyObject
* obj2
= 0 ;
22578 char * kwnames
[] = {
22579 (char *) "self",(char *) "self",(char *) "_class", NULL
22582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22584 if (!SWIG_IsOK(res1
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22587 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_Py_Void();
22603 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
= 0;
22605 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22606 wxDC
*arg2
= (wxDC
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 char * kwnames
[] = {
22615 (char *) "self",(char *) "dc", NULL
22618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22620 if (!SWIG_IsOK(res1
)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22623 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22625 if (!SWIG_IsOK(res2
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22628 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22644 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
= 0;
22646 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 PyObject
* obj1
= 0 ;
22663 PyObject
* obj2
= 0 ;
22664 PyObject
* obj3
= 0 ;
22665 PyObject
* obj4
= 0 ;
22666 char * kwnames
[] = {
22667 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22675 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22677 if (!SWIG_IsOK(ecode2
)) {
22678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22680 arg2
= static_cast< int >(val2
);
22681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22682 if (!SWIG_IsOK(ecode3
)) {
22683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22685 arg3
= static_cast< int >(val3
);
22686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22687 if (!SWIG_IsOK(ecode4
)) {
22688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22690 arg4
= static_cast< int >(val4
);
22691 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22692 if (!SWIG_IsOK(ecode5
)) {
22693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22695 arg5
= static_cast< int >(val5
);
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_Py_Void();
22709 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
= 0;
22711 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22716 int arg6
= (int) wxSIZE_AUTO
;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 PyObject
* obj2
= 0 ;
22732 PyObject
* obj3
= 0 ;
22733 PyObject
* obj4
= 0 ;
22734 PyObject
* obj5
= 0 ;
22735 char * kwnames
[] = {
22736 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22741 if (!SWIG_IsOK(res1
)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22744 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22746 if (!SWIG_IsOK(ecode2
)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22749 arg2
= static_cast< int >(val2
);
22750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22751 if (!SWIG_IsOK(ecode3
)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22754 arg3
= static_cast< int >(val3
);
22755 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22756 if (!SWIG_IsOK(ecode4
)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22759 arg4
= static_cast< int >(val4
);
22760 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22761 if (!SWIG_IsOK(ecode5
)) {
22762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22764 arg5
= static_cast< int >(val5
);
22766 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22767 if (!SWIG_IsOK(ecode6
)) {
22768 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22770 arg6
= static_cast< int >(val6
);
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= SWIG_Py_Void();
22785 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
= 0;
22787 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 PyObject
* obj2
= 0 ;
22799 char * kwnames
[] = {
22800 (char *) "self",(char *) "width",(char *) "height", NULL
22803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22805 if (!SWIG_IsOK(res1
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22808 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22810 if (!SWIG_IsOK(ecode2
)) {
22811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22813 arg2
= static_cast< int >(val2
);
22814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22815 if (!SWIG_IsOK(ecode3
)) {
22816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22818 arg3
= static_cast< int >(val3
);
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->DoSetClientSize(arg2
,arg3
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_Py_Void();
22832 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
= 0;
22834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22843 PyObject
* obj0
= 0 ;
22844 PyObject
* obj1
= 0 ;
22845 PyObject
* obj2
= 0 ;
22846 char * kwnames
[] = {
22847 (char *) "self",(char *) "x",(char *) "y", NULL
22850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22852 if (!SWIG_IsOK(res1
)) {
22853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22855 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22857 if (!SWIG_IsOK(ecode2
)) {
22858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22860 arg2
= static_cast< int >(val2
);
22861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22862 if (!SWIG_IsOK(ecode3
)) {
22863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22865 arg3
= static_cast< int >(val3
);
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= SWIG_Py_Void();
22879 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 PyObject
*resultobj
= 0;
22881 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22882 int *arg2
= (int *) 0 ;
22883 int *arg3
= (int *) 0 ;
22887 int res2
= SWIG_TMPOBJ
;
22889 int res3
= SWIG_TMPOBJ
;
22890 PyObject
*swig_obj
[1] ;
22894 if (!args
) SWIG_fail
;
22895 swig_obj
[0] = args
;
22896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22897 if (!SWIG_IsOK(res1
)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22900 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_Py_Void();
22908 if (SWIG_IsTmpObj(res2
)) {
22909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22911 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22914 if (SWIG_IsTmpObj(res3
)) {
22915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22917 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22926 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22927 PyObject
*resultobj
= 0;
22928 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22929 int *arg2
= (int *) 0 ;
22930 int *arg3
= (int *) 0 ;
22934 int res2
= SWIG_TMPOBJ
;
22936 int res3
= SWIG_TMPOBJ
;
22937 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22947 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_Py_Void();
22955 if (SWIG_IsTmpObj(res2
)) {
22956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22958 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22961 if (SWIG_IsTmpObj(res3
)) {
22962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22964 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22973 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 PyObject
*resultobj
= 0;
22975 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22976 int *arg2
= (int *) 0 ;
22977 int *arg3
= (int *) 0 ;
22981 int res2
= SWIG_TMPOBJ
;
22983 int res3
= SWIG_TMPOBJ
;
22984 PyObject
*swig_obj
[1] ;
22988 if (!args
) SWIG_fail
;
22989 swig_obj
[0] = args
;
22990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22994 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_Py_Void();
23002 if (SWIG_IsTmpObj(res2
)) {
23003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23005 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23008 if (SWIG_IsTmpObj(res3
)) {
23009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23011 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23020 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23021 PyObject
*resultobj
= 0;
23022 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23026 PyObject
*swig_obj
[1] ;
23028 if (!args
) SWIG_fail
;
23029 swig_obj
[0] = args
;
23030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23031 if (!SWIG_IsOK(res1
)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23034 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23048 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23049 PyObject
*resultobj
= 0;
23050 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23054 PyObject
*swig_obj
[1] ;
23056 if (!args
) SWIG_fail
;
23057 swig_obj
[0] = args
;
23058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23062 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23076 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23077 PyObject
*resultobj
= 0;
23078 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23079 SwigValueWrapper
<wxVisualAttributes
> result
;
23082 PyObject
*swig_obj
[1] ;
23084 if (!args
) SWIG_fail
;
23085 swig_obj
[0] = args
;
23086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23087 if (!SWIG_IsOK(res1
)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23090 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (arg1
)->GetDefaultAttributes();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23104 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23109 PyObject
*swig_obj
[1] ;
23111 if (!args
) SWIG_fail
;
23112 swig_obj
[0] = args
;
23113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23117 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 (arg1
)->OnInternalIdle();
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= SWIG_Py_Void();
23131 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23134 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23135 return SWIG_Py_Void();
23138 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 return SWIG_Python_InitShadowInstance(args
);
23142 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
= 0;
23144 wxWindow
*arg1
= (wxWindow
*) 0 ;
23145 int arg2
= (int) (int)-1 ;
23146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23150 long arg5
= (long) 0 ;
23151 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23152 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23153 wxPyScrolledWindow
*result
= 0 ;
23162 bool temp6
= false ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 PyObject
* obj2
= 0 ;
23166 PyObject
* obj3
= 0 ;
23167 PyObject
* obj4
= 0 ;
23168 PyObject
* obj5
= 0 ;
23169 char * kwnames
[] = {
23170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23175 if (!SWIG_IsOK(res1
)) {
23176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23181 if (!SWIG_IsOK(ecode2
)) {
23182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23184 arg2
= static_cast< int >(val2
);
23189 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23195 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23199 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23200 if (!SWIG_IsOK(ecode5
)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23203 arg5
= static_cast< long >(val5
);
23207 arg6
= wxString_in_helper(obj5
);
23208 if (arg6
== NULL
) SWIG_fail
;
23213 if (!wxPyCheckForApp()) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23234 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23235 PyObject
*resultobj
= 0;
23236 wxPyScrolledWindow
*result
= 0 ;
23238 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23240 if (!wxPyCheckForApp()) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23253 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
= 0;
23255 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23256 PyObject
*arg2
= (PyObject
*) 0 ;
23257 PyObject
*arg3
= (PyObject
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 PyObject
* obj2
= 0 ;
23263 char * kwnames
[] = {
23264 (char *) "self",(char *) "self",(char *) "_class", NULL
23267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23272 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_Py_Void();
23288 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
= 0;
23290 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23291 wxDC
*arg2
= (wxDC
*) 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 char * kwnames
[] = {
23300 (char *) "self",(char *) "dc", NULL
23303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23305 if (!SWIG_IsOK(res1
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23308 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23310 if (!SWIG_IsOK(res2
)) {
23311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23313 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23329 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
= 0;
23331 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 PyObject
* obj2
= 0 ;
23349 PyObject
* obj3
= 0 ;
23350 PyObject
* obj4
= 0 ;
23351 char * kwnames
[] = {
23352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23360 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23362 if (!SWIG_IsOK(ecode2
)) {
23363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23365 arg2
= static_cast< int >(val2
);
23366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23367 if (!SWIG_IsOK(ecode3
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23370 arg3
= static_cast< int >(val3
);
23371 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23372 if (!SWIG_IsOK(ecode4
)) {
23373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23375 arg4
= static_cast< int >(val4
);
23376 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23377 if (!SWIG_IsOK(ecode5
)) {
23378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23380 arg5
= static_cast< int >(val5
);
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_Py_Void();
23394 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
= 0;
23396 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23401 int arg6
= (int) wxSIZE_AUTO
;
23414 PyObject
* obj0
= 0 ;
23415 PyObject
* obj1
= 0 ;
23416 PyObject
* obj2
= 0 ;
23417 PyObject
* obj3
= 0 ;
23418 PyObject
* obj4
= 0 ;
23419 PyObject
* obj5
= 0 ;
23420 char * kwnames
[] = {
23421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23429 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23431 if (!SWIG_IsOK(ecode2
)) {
23432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23434 arg2
= static_cast< int >(val2
);
23435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23436 if (!SWIG_IsOK(ecode3
)) {
23437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23439 arg3
= static_cast< int >(val3
);
23440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23441 if (!SWIG_IsOK(ecode4
)) {
23442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23444 arg4
= static_cast< int >(val4
);
23445 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23446 if (!SWIG_IsOK(ecode5
)) {
23447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23449 arg5
= static_cast< int >(val5
);
23451 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23452 if (!SWIG_IsOK(ecode6
)) {
23453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23455 arg6
= static_cast< int >(val6
);
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_Py_Void();
23470 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
= 0;
23472 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 PyObject
* obj1
= 0 ;
23483 PyObject
* obj2
= 0 ;
23484 char * kwnames
[] = {
23485 (char *) "self",(char *) "width",(char *) "height", NULL
23488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23490 if (!SWIG_IsOK(res1
)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23493 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23495 if (!SWIG_IsOK(ecode2
)) {
23496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23498 arg2
= static_cast< int >(val2
);
23499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23500 if (!SWIG_IsOK(ecode3
)) {
23501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23503 arg3
= static_cast< int >(val3
);
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 (arg1
)->DoSetClientSize(arg2
,arg3
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= SWIG_Py_Void();
23517 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
= 0;
23519 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 PyObject
* obj2
= 0 ;
23531 char * kwnames
[] = {
23532 (char *) "self",(char *) "x",(char *) "y", NULL
23535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23537 if (!SWIG_IsOK(res1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23540 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23542 if (!SWIG_IsOK(ecode2
)) {
23543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23545 arg2
= static_cast< int >(val2
);
23546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23547 if (!SWIG_IsOK(ecode3
)) {
23548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23550 arg3
= static_cast< int >(val3
);
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_Py_Void();
23564 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23565 PyObject
*resultobj
= 0;
23566 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23567 int *arg2
= (int *) 0 ;
23568 int *arg3
= (int *) 0 ;
23572 int res2
= SWIG_TMPOBJ
;
23574 int res3
= SWIG_TMPOBJ
;
23575 PyObject
*swig_obj
[1] ;
23579 if (!args
) SWIG_fail
;
23580 swig_obj
[0] = args
;
23581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23585 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_Py_Void();
23593 if (SWIG_IsTmpObj(res2
)) {
23594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23596 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23599 if (SWIG_IsTmpObj(res3
)) {
23600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23602 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23611 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23612 PyObject
*resultobj
= 0;
23613 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23614 int *arg2
= (int *) 0 ;
23615 int *arg3
= (int *) 0 ;
23619 int res2
= SWIG_TMPOBJ
;
23621 int res3
= SWIG_TMPOBJ
;
23622 PyObject
*swig_obj
[1] ;
23626 if (!args
) SWIG_fail
;
23627 swig_obj
[0] = args
;
23628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23629 if (!SWIG_IsOK(res1
)) {
23630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23632 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_Py_Void();
23640 if (SWIG_IsTmpObj(res2
)) {
23641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23643 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23646 if (SWIG_IsTmpObj(res3
)) {
23647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23649 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23658 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23659 PyObject
*resultobj
= 0;
23660 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23661 int *arg2
= (int *) 0 ;
23662 int *arg3
= (int *) 0 ;
23666 int res2
= SWIG_TMPOBJ
;
23668 int res3
= SWIG_TMPOBJ
;
23669 PyObject
*swig_obj
[1] ;
23673 if (!args
) SWIG_fail
;
23674 swig_obj
[0] = args
;
23675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23676 if (!SWIG_IsOK(res1
)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23679 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_Py_Void();
23687 if (SWIG_IsTmpObj(res2
)) {
23688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23690 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23693 if (SWIG_IsTmpObj(res3
)) {
23694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23696 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23705 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 PyObject
*resultobj
= 0;
23707 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23711 PyObject
*swig_obj
[1] ;
23713 if (!args
) SWIG_fail
;
23714 swig_obj
[0] = args
;
23715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23719 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23733 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23734 PyObject
*resultobj
= 0;
23735 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23739 PyObject
*swig_obj
[1] ;
23741 if (!args
) SWIG_fail
;
23742 swig_obj
[0] = args
;
23743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23744 if (!SWIG_IsOK(res1
)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23747 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23761 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23762 PyObject
*resultobj
= 0;
23763 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23764 SwigValueWrapper
<wxVisualAttributes
> result
;
23767 PyObject
*swig_obj
[1] ;
23769 if (!args
) SWIG_fail
;
23770 swig_obj
[0] = args
;
23771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23775 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (arg1
)->GetDefaultAttributes();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23789 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 PyObject
*resultobj
= 0;
23791 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23794 PyObject
*swig_obj
[1] ;
23796 if (!args
) SWIG_fail
;
23797 swig_obj
[0] = args
;
23798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23799 if (!SWIG_IsOK(res1
)) {
23800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23802 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 (arg1
)->OnInternalIdle();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 resultobj
= SWIG_Py_Void();
23816 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23819 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23820 return SWIG_Py_Void();
23823 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23824 return SWIG_Python_InitShadowInstance(args
);
23827 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23828 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23833 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23834 PyObject
*pyobj
= 0;
23838 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23840 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23847 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23848 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23853 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23854 PyObject
*pyobj
= 0;
23858 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23860 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23867 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23868 PyObject
*resultobj
= 0;
23869 wxPrintData
*result
= 0 ;
23871 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxPrintData
*)new wxPrintData();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23885 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23886 PyObject
*resultobj
= 0;
23887 wxPrintData
*arg1
= 0 ;
23888 wxPrintData
*result
= 0 ;
23892 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23900 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23914 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23918 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23921 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23924 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23928 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23933 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23934 PyObject
*resultobj
= 0;
23935 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23938 PyObject
*swig_obj
[1] ;
23940 if (!args
) SWIG_fail
;
23941 swig_obj
[0] = args
;
23942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23943 if (!SWIG_IsOK(res1
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23946 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= SWIG_Py_Void();
23961 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23962 PyObject
*resultobj
= 0;
23963 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23967 PyObject
*swig_obj
[1] ;
23969 if (!args
) SWIG_fail
;
23970 swig_obj
[0] = args
;
23971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23972 if (!SWIG_IsOK(res1
)) {
23973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23975 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (int)(arg1
)->GetNoCopies();
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= SWIG_From_int(static_cast< int >(result
));
23989 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23990 PyObject
*resultobj
= 0;
23991 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23995 PyObject
*swig_obj
[1] ;
23997 if (!args
) SWIG_fail
;
23998 swig_obj
[0] = args
;
23999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24000 if (!SWIG_IsOK(res1
)) {
24001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24003 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (bool)(arg1
)->GetCollate();
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24019 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24020 PyObject
*resultobj
= 0;
24021 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24025 PyObject
*swig_obj
[1] ;
24027 if (!args
) SWIG_fail
;
24028 swig_obj
[0] = args
;
24029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24030 if (!SWIG_IsOK(res1
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24033 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 result
= (int)(arg1
)->GetOrientation();
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= SWIG_From_int(static_cast< int >(result
));
24047 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 PyObject
*resultobj
= 0;
24049 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24053 PyObject
*swig_obj
[1] ;
24055 if (!args
) SWIG_fail
;
24056 swig_obj
[0] = args
;
24057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24061 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24077 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24078 PyObject
*resultobj
= 0;
24079 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24083 PyObject
*swig_obj
[1] ;
24085 if (!args
) SWIG_fail
;
24086 swig_obj
[0] = args
;
24087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24088 if (!SWIG_IsOK(res1
)) {
24089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24091 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (bool)(arg1
)->IsOk();
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24107 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24108 PyObject
*resultobj
= 0;
24109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24110 wxString
*result
= 0 ;
24113 PyObject
*swig_obj
[1] ;
24115 if (!args
) SWIG_fail
;
24116 swig_obj
[0] = args
;
24117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24121 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24126 result
= (wxString
*) &_result_ref
;
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24144 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24145 PyObject
*resultobj
= 0;
24146 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24150 PyObject
*swig_obj
[1] ;
24152 if (!args
) SWIG_fail
;
24153 swig_obj
[0] = args
;
24154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24158 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (bool)(arg1
)->GetColour();
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24174 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24175 PyObject
*resultobj
= 0;
24176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24177 wxDuplexMode result
;
24180 PyObject
*swig_obj
[1] ;
24182 if (!args
) SWIG_fail
;
24183 swig_obj
[0] = args
;
24184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24188 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_From_int(static_cast< int >(result
));
24202 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24203 PyObject
*resultobj
= 0;
24204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24205 wxPaperSize result
;
24208 PyObject
*swig_obj
[1] ;
24210 if (!args
) SWIG_fail
;
24211 swig_obj
[0] = args
;
24212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24213 if (!SWIG_IsOK(res1
)) {
24214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24216 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_From_int(static_cast< int >(result
));
24230 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24231 PyObject
*resultobj
= 0;
24232 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24233 wxSize
*result
= 0 ;
24236 PyObject
*swig_obj
[1] ;
24238 if (!args
) SWIG_fail
;
24239 swig_obj
[0] = args
;
24240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24244 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24249 result
= (wxSize
*) &_result_ref
;
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24261 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24262 PyObject
*resultobj
= 0;
24263 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24267 PyObject
*swig_obj
[1] ;
24269 if (!args
) SWIG_fail
;
24270 swig_obj
[0] = args
;
24271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24275 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (int)(arg1
)->GetQuality();
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= SWIG_From_int(static_cast< int >(result
));
24289 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24290 PyObject
*resultobj
= 0;
24291 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24295 PyObject
*swig_obj
[1] ;
24297 if (!args
) SWIG_fail
;
24298 swig_obj
[0] = args
;
24299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24303 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (wxPrintBin
)(arg1
)->GetBin();
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= SWIG_From_int(static_cast< int >(result
));
24317 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24318 PyObject
*resultobj
= 0;
24319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24320 wxPrintMode result
;
24323 PyObject
*swig_obj
[1] ;
24325 if (!args
) SWIG_fail
;
24326 swig_obj
[0] = args
;
24327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24331 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= SWIG_From_int(static_cast< int >(result
));
24345 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24346 PyObject
*resultobj
= 0;
24347 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24351 PyObject
*swig_obj
[1] ;
24353 if (!args
) SWIG_fail
;
24354 swig_obj
[0] = args
;
24355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24356 if (!SWIG_IsOK(res1
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24359 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= SWIG_From_int(static_cast< int >(result
));
24373 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
= 0;
24375 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char * kwnames
[] = {
24384 (char *) "self",(char *) "v", NULL
24387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24392 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24394 if (!SWIG_IsOK(ecode2
)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24397 arg2
= static_cast< int >(val2
);
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 (arg1
)->SetNoCopies(arg2
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_Py_Void();
24411 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
= 0;
24413 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char * kwnames
[] = {
24422 (char *) "self",(char *) "flag", NULL
24425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24430 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24431 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24432 if (!SWIG_IsOK(ecode2
)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24435 arg2
= static_cast< bool >(val2
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 (arg1
)->SetCollate(arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_Py_Void();
24449 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
= 0;
24451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 char * kwnames
[] = {
24460 (char *) "self",(char *) "orient", NULL
24463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24468 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24470 if (!SWIG_IsOK(ecode2
)) {
24471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24473 arg2
= static_cast< int >(val2
);
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 (arg1
)->SetOrientation(arg2
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= SWIG_Py_Void();
24487 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
= 0;
24489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char * kwnames
[] = {
24498 (char *) "self",(char *) "reversed", NULL
24501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24503 if (!SWIG_IsOK(res1
)) {
24504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24506 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24507 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24508 if (!SWIG_IsOK(ecode2
)) {
24509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24511 arg2
= static_cast< bool >(val2
);
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 (arg1
)->SetOrientationReversed(arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= SWIG_Py_Void();
24525 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
= 0;
24527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24528 wxString
*arg2
= 0 ;
24531 bool temp2
= false ;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char * kwnames
[] = {
24535 (char *) "self",(char *) "name", NULL
24538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24543 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24545 arg2
= wxString_in_helper(obj1
);
24546 if (arg2
== NULL
) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_Py_Void();
24570 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= 0;
24572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char * kwnames
[] = {
24581 (char *) "self",(char *) "colour", NULL
24584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24589 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24591 if (!SWIG_IsOK(ecode2
)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24594 arg2
= static_cast< bool >(val2
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetColour(arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_Py_Void();
24608 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
= 0;
24610 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24611 wxDuplexMode arg2
;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char * kwnames
[] = {
24619 (char *) "self",(char *) "duplex", NULL
24622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24624 if (!SWIG_IsOK(res1
)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24627 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24629 if (!SWIG_IsOK(ecode2
)) {
24630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24632 arg2
= static_cast< wxDuplexMode
>(val2
);
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->SetDuplex(arg2
);
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= SWIG_Py_Void();
24646 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char * kwnames
[] = {
24657 (char *) "self",(char *) "sizeId", NULL
24660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24662 if (!SWIG_IsOK(res1
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24665 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24667 if (!SWIG_IsOK(ecode2
)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24670 arg2
= static_cast< wxPaperSize
>(val2
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->SetPaperId(arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_Py_Void();
24684 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
= 0;
24686 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 char * kwnames
[] = {
24694 (char *) "self",(char *) "sz", NULL
24697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24699 if (!SWIG_IsOK(res1
)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24702 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24705 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_Py_Void();
24720 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
= 0;
24722 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 char * kwnames
[] = {
24731 (char *) "self",(char *) "quality", NULL
24734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24736 if (!SWIG_IsOK(res1
)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24739 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24741 if (!SWIG_IsOK(ecode2
)) {
24742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24744 arg2
= static_cast< int >(val2
);
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 (arg1
)->SetQuality(arg2
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= SWIG_Py_Void();
24758 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
= 0;
24760 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char * kwnames
[] = {
24769 (char *) "self",(char *) "bin", NULL
24772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24774 if (!SWIG_IsOK(res1
)) {
24775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24777 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24779 if (!SWIG_IsOK(ecode2
)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24782 arg2
= static_cast< wxPrintBin
>(val2
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 (arg1
)->SetBin(arg2
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_Py_Void();
24796 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
= 0;
24798 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24804 PyObject
* obj0
= 0 ;
24805 PyObject
* obj1
= 0 ;
24806 char * kwnames
[] = {
24807 (char *) "self",(char *) "printMode", NULL
24810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24812 if (!SWIG_IsOK(res1
)) {
24813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24815 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24817 if (!SWIG_IsOK(ecode2
)) {
24818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24820 arg2
= static_cast< wxPrintMode
>(val2
);
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 (arg1
)->SetPrintMode(arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_Py_Void();
24834 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
= 0;
24836 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 PyObject
* obj1
= 0 ;
24844 char * kwnames
[] = {
24845 (char *) "self",(char *) "media", NULL
24848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24850 if (!SWIG_IsOK(res1
)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24853 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24855 if (!SWIG_IsOK(ecode2
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24858 arg2
= static_cast< int >(val2
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 (arg1
)->SetMedia(arg2
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_Py_Void();
24872 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24878 PyObject
*swig_obj
[1] ;
24880 if (!args
) SWIG_fail
;
24881 swig_obj
[0] = args
;
24882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24886 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24906 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24908 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24909 wxString
*arg2
= 0 ;
24912 bool temp2
= false ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "self",(char *) "filename", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24924 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24926 arg2
= wxString_in_helper(obj1
);
24927 if (arg2
== NULL
) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 (arg1
)->SetFilename((wxString
const &)*arg2
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_Py_Void();
24951 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24952 PyObject
*resultobj
= 0;
24953 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24954 PyObject
*result
= 0 ;
24957 PyObject
*swig_obj
[1] ;
24959 if (!args
) SWIG_fail
;
24960 swig_obj
[0] = args
;
24961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24962 if (!SWIG_IsOK(res1
)) {
24963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24965 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= result
;
24979 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
= 0;
24981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24982 PyObject
*arg2
= (PyObject
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 char * kwnames
[] = {
24988 (char *) "self",(char *) "data", NULL
24991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24993 if (!SWIG_IsOK(res1
)) {
24994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24996 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 wxPrintData_SetPrivData(arg1
,arg2
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_Py_Void();
25011 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
25015 return SWIG_Py_Void();
25018 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25019 return SWIG_Python_InitShadowInstance(args
);
25022 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25023 PyObject
*resultobj
= 0;
25024 wxPageSetupDialogData
*result
= 0 ;
25026 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25040 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25041 PyObject
*resultobj
= 0;
25042 wxPageSetupDialogData
*arg1
= 0 ;
25043 wxPageSetupDialogData
*result
= 0 ;
25047 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
25049 if (!SWIG_IsOK(res1
)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25055 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25069 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25070 PyObject
*resultobj
= 0;
25071 wxPrintData
*arg1
= 0 ;
25072 wxPageSetupDialogData
*result
= 0 ;
25076 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25078 if (!SWIG_IsOK(res1
)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25084 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25098 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
25102 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
25105 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
25110 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
25111 _v
= SWIG_CheckState(res
);
25113 if (!_v
) goto check_2
;
25114 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
25119 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
25123 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
25128 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25129 PyObject
*resultobj
= 0;
25130 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25133 PyObject
*swig_obj
[1] ;
25135 if (!args
) SWIG_fail
;
25136 swig_obj
[0] = args
;
25137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
25138 if (!SWIG_IsOK(res1
)) {
25139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25141 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_Py_Void();
25156 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
= 0;
25158 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char * kwnames
[] = {
25167 (char *) "self",(char *) "flag", NULL
25170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25172 if (!SWIG_IsOK(res1
)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25175 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25176 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25177 if (!SWIG_IsOK(ecode2
)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25180 arg2
= static_cast< bool >(val2
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 (arg1
)->EnableHelp(arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_Py_Void();
25194 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= 0;
25196 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char * kwnames
[] = {
25205 (char *) "self",(char *) "flag", NULL
25208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25213 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25214 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25215 if (!SWIG_IsOK(ecode2
)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25218 arg2
= static_cast< bool >(val2
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 (arg1
)->EnableMargins(arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_Py_Void();
25232 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
= 0;
25234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char * kwnames
[] = {
25243 (char *) "self",(char *) "flag", NULL
25246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25251 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25252 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25253 if (!SWIG_IsOK(ecode2
)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25256 arg2
= static_cast< bool >(val2
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->EnableOrientation(arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_Py_Void();
25270 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= 0;
25272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char * kwnames
[] = {
25281 (char *) "self",(char *) "flag", NULL
25284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25286 if (!SWIG_IsOK(res1
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25289 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25291 if (!SWIG_IsOK(ecode2
)) {
25292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25294 arg2
= static_cast< bool >(val2
);
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 (arg1
)->EnablePaper(arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_Py_Void();
25308 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
= 0;
25310 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char * kwnames
[] = {
25319 (char *) "self",(char *) "flag", NULL
25322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25324 if (!SWIG_IsOK(res1
)) {
25325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25327 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25328 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25329 if (!SWIG_IsOK(ecode2
)) {
25330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25332 arg2
= static_cast< bool >(val2
);
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->EnablePrinter(arg2
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_Py_Void();
25346 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25347 PyObject
*resultobj
= 0;
25348 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25352 PyObject
*swig_obj
[1] ;
25354 if (!args
) SWIG_fail
;
25355 swig_obj
[0] = args
;
25356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25357 if (!SWIG_IsOK(res1
)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25360 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= (bool)(arg1
)->GetDefaultMinMargins();
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25376 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25377 PyObject
*resultobj
= 0;
25378 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25382 PyObject
*swig_obj
[1] ;
25384 if (!args
) SWIG_fail
;
25385 swig_obj
[0] = args
;
25386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25390 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (bool)(arg1
)->GetEnableMargins();
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25406 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25407 PyObject
*resultobj
= 0;
25408 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25412 PyObject
*swig_obj
[1] ;
25414 if (!args
) SWIG_fail
;
25415 swig_obj
[0] = args
;
25416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25420 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (bool)(arg1
)->GetEnableOrientation();
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25436 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25437 PyObject
*resultobj
= 0;
25438 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25442 PyObject
*swig_obj
[1] ;
25444 if (!args
) SWIG_fail
;
25445 swig_obj
[0] = args
;
25446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25447 if (!SWIG_IsOK(res1
)) {
25448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25450 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= (bool)(arg1
)->GetEnablePaper();
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25466 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25467 PyObject
*resultobj
= 0;
25468 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25472 PyObject
*swig_obj
[1] ;
25474 if (!args
) SWIG_fail
;
25475 swig_obj
[0] = args
;
25476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25480 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (bool)(arg1
)->GetEnablePrinter();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25496 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25497 PyObject
*resultobj
= 0;
25498 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25502 PyObject
*swig_obj
[1] ;
25504 if (!args
) SWIG_fail
;
25505 swig_obj
[0] = args
;
25506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25507 if (!SWIG_IsOK(res1
)) {
25508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25510 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 result
= (bool)(arg1
)->GetEnableHelp();
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25526 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25527 PyObject
*resultobj
= 0;
25528 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25532 PyObject
*swig_obj
[1] ;
25534 if (!args
) SWIG_fail
;
25535 swig_obj
[0] = args
;
25536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25537 if (!SWIG_IsOK(res1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25540 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 result
= (bool)(arg1
)->GetDefaultInfo();
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25556 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25557 PyObject
*resultobj
= 0;
25558 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25562 PyObject
*swig_obj
[1] ;
25564 if (!args
) SWIG_fail
;
25565 swig_obj
[0] = args
;
25566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25567 if (!SWIG_IsOK(res1
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25570 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (arg1
)->GetMarginTopLeft();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25584 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25585 PyObject
*resultobj
= 0;
25586 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25590 PyObject
*swig_obj
[1] ;
25592 if (!args
) SWIG_fail
;
25593 swig_obj
[0] = args
;
25594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25595 if (!SWIG_IsOK(res1
)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25598 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (arg1
)->GetMarginBottomRight();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25612 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25613 PyObject
*resultobj
= 0;
25614 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25618 PyObject
*swig_obj
[1] ;
25620 if (!args
) SWIG_fail
;
25621 swig_obj
[0] = args
;
25622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25623 if (!SWIG_IsOK(res1
)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25626 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (arg1
)->GetMinMarginTopLeft();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25640 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25641 PyObject
*resultobj
= 0;
25642 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25646 PyObject
*swig_obj
[1] ;
25648 if (!args
) SWIG_fail
;
25649 swig_obj
[0] = args
;
25650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25654 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (arg1
)->GetMinMarginBottomRight();
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25668 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25669 PyObject
*resultobj
= 0;
25670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25671 wxPaperSize result
;
25674 PyObject
*swig_obj
[1] ;
25676 if (!args
) SWIG_fail
;
25677 swig_obj
[0] = args
;
25678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25679 if (!SWIG_IsOK(res1
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25682 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_From_int(static_cast< int >(result
));
25696 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25697 PyObject
*resultobj
= 0;
25698 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25702 PyObject
*swig_obj
[1] ;
25704 if (!args
) SWIG_fail
;
25705 swig_obj
[0] = args
;
25706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25707 if (!SWIG_IsOK(res1
)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25710 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= (arg1
)->GetPaperSize();
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25724 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25725 PyObject
*resultobj
= 0;
25726 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25727 wxPrintData
*result
= 0 ;
25730 PyObject
*swig_obj
[1] ;
25732 if (!args
) SWIG_fail
;
25733 swig_obj
[0] = args
;
25734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25735 if (!SWIG_IsOK(res1
)) {
25736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25738 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25743 result
= (wxPrintData
*) &_result_ref
;
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25755 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25756 PyObject
*resultobj
= 0;
25757 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25761 PyObject
*swig_obj
[1] ;
25763 if (!args
) SWIG_fail
;
25764 swig_obj
[0] = args
;
25765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25766 if (!SWIG_IsOK(res1
)) {
25767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25769 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (bool)(arg1
)->IsOk();
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25785 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
= 0;
25787 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 char * kwnames
[] = {
25796 (char *) "self",(char *) "flag", NULL
25799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25804 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25806 if (!SWIG_IsOK(ecode2
)) {
25807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25809 arg2
= static_cast< bool >(val2
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 (arg1
)->SetDefaultInfo(arg2
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_Py_Void();
25823 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
= 0;
25825 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 char * kwnames
[] = {
25834 (char *) "self",(char *) "flag", NULL
25837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25839 if (!SWIG_IsOK(res1
)) {
25840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25842 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25844 if (!SWIG_IsOK(ecode2
)) {
25845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25847 arg2
= static_cast< bool >(val2
);
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 (arg1
)->SetDefaultMinMargins(arg2
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_Py_Void();
25861 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
= 0;
25863 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25864 wxPoint
*arg2
= 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 char * kwnames
[] = {
25871 (char *) "self",(char *) "pt", NULL
25874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25876 if (!SWIG_IsOK(res1
)) {
25877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25879 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_Py_Void();
25897 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
= 0;
25899 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25900 wxPoint
*arg2
= 0 ;
25904 PyObject
* obj0
= 0 ;
25905 PyObject
* obj1
= 0 ;
25906 char * kwnames
[] = {
25907 (char *) "self",(char *) "pt", NULL
25910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25912 if (!SWIG_IsOK(res1
)) {
25913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25915 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_Py_Void();
25933 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
= 0;
25935 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25936 wxPoint
*arg2
= 0 ;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 char * kwnames
[] = {
25943 (char *) "self",(char *) "pt", NULL
25946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25948 if (!SWIG_IsOK(res1
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25951 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= SWIG_Py_Void();
25969 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
= 0;
25971 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25972 wxPoint
*arg2
= 0 ;
25976 PyObject
* obj0
= 0 ;
25977 PyObject
* obj1
= 0 ;
25978 char * kwnames
[] = {
25979 (char *) "self",(char *) "pt", NULL
25982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25984 if (!SWIG_IsOK(res1
)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25987 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25990 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25998 resultobj
= SWIG_Py_Void();
26005 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26006 PyObject
*resultobj
= 0;
26007 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 char * kwnames
[] = {
26016 (char *) "self",(char *) "id", NULL
26019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26024 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26026 if (!SWIG_IsOK(ecode2
)) {
26027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26029 arg2
= static_cast< wxPaperSize
>(val2
);
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 (arg1
)->SetPaperId(arg2
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= SWIG_Py_Void();
26043 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
= 0;
26045 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 char * kwnames
[] = {
26053 (char *) "self",(char *) "size", NULL
26056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26061 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= SWIG_Py_Void();
26079 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
= 0;
26081 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26082 wxPrintData
*arg2
= 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 char * kwnames
[] = {
26090 (char *) "self",(char *) "printData", NULL
26093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26095 if (!SWIG_IsOK(res1
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26098 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26100 if (!SWIG_IsOK(res2
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26106 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_Py_Void();
26120 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26125 PyObject
*swig_obj
[1] ;
26127 if (!args
) SWIG_fail
;
26128 swig_obj
[0] = args
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26133 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 (arg1
)->CalculateIdFromPaperSize();
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_Py_Void();
26147 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26148 PyObject
*resultobj
= 0;
26149 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26152 PyObject
*swig_obj
[1] ;
26154 if (!args
) SWIG_fail
;
26155 swig_obj
[0] = args
;
26156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26157 if (!SWIG_IsOK(res1
)) {
26158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26160 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 (arg1
)->CalculatePaperSizeFromId();
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_Py_Void();
26174 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26178 return SWIG_Py_Void();
26181 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26182 return SWIG_Python_InitShadowInstance(args
);
26185 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
= 0;
26187 wxWindow
*arg1
= (wxWindow
*) 0 ;
26188 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26189 wxPageSetupDialog
*result
= 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 char * kwnames
[] = {
26197 (char *) "parent",(char *) "data", NULL
26200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26208 if (!SWIG_IsOK(res2
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26211 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26214 if (!wxPyCheckForApp()) SWIG_fail
;
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26227 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26228 PyObject
*resultobj
= 0;
26229 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26232 PyObject
*swig_obj
[1] ;
26234 if (!args
) SWIG_fail
;
26235 swig_obj
[0] = args
;
26236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26237 if (!SWIG_IsOK(res1
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26240 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_Py_Void();
26255 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26256 PyObject
*resultobj
= 0;
26257 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26258 wxPageSetupDialogData
*result
= 0 ;
26261 PyObject
*swig_obj
[1] ;
26263 if (!args
) SWIG_fail
;
26264 swig_obj
[0] = args
;
26265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26266 if (!SWIG_IsOK(res1
)) {
26267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26269 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26274 result
= (wxPageSetupDialogData
*) &_result_ref
;
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26286 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26287 PyObject
*resultobj
= 0;
26288 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26289 wxPageSetupDialogData
*result
= 0 ;
26292 PyObject
*swig_obj
[1] ;
26294 if (!args
) SWIG_fail
;
26295 swig_obj
[0] = args
;
26296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26297 if (!SWIG_IsOK(res1
)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26300 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26305 result
= (wxPageSetupDialogData
*) &_result_ref
;
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26317 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26318 PyObject
*resultobj
= 0;
26319 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26323 PyObject
*swig_obj
[1] ;
26325 if (!args
) SWIG_fail
;
26326 swig_obj
[0] = args
;
26327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26331 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (int)(arg1
)->ShowModal();
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_From_int(static_cast< int >(result
));
26345 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26349 return SWIG_Py_Void();
26352 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26353 return SWIG_Python_InitShadowInstance(args
);
26356 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26357 PyObject
*resultobj
= 0;
26358 wxPrintDialogData
*result
= 0 ;
26360 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26374 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26375 PyObject
*resultobj
= 0;
26376 wxPrintData
*arg1
= 0 ;
26377 wxPrintDialogData
*result
= 0 ;
26381 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26383 if (!SWIG_IsOK(res1
)) {
26384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26389 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26403 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26404 PyObject
*resultobj
= 0;
26405 wxPrintDialogData
*arg1
= 0 ;
26406 wxPrintDialogData
*result
= 0 ;
26410 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26412 if (!SWIG_IsOK(res1
)) {
26413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26418 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26432 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26436 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26439 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26444 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26445 _v
= SWIG_CheckState(res
);
26447 if (!_v
) goto check_2
;
26448 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26453 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26457 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26462 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26463 PyObject
*resultobj
= 0;
26464 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26467 PyObject
*swig_obj
[1] ;
26469 if (!args
) SWIG_fail
;
26470 swig_obj
[0] = args
;
26471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26475 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_Py_Void();
26490 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26491 PyObject
*resultobj
= 0;
26492 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26496 PyObject
*swig_obj
[1] ;
26498 if (!args
) SWIG_fail
;
26499 swig_obj
[0] = args
;
26500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26501 if (!SWIG_IsOK(res1
)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26504 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= SWIG_From_int(static_cast< int >(result
));
26518 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26519 PyObject
*resultobj
= 0;
26520 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26524 PyObject
*swig_obj
[1] ;
26526 if (!args
) SWIG_fail
;
26527 swig_obj
[0] = args
;
26528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26529 if (!SWIG_IsOK(res1
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26532 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_From_int(static_cast< int >(result
));
26546 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26547 PyObject
*resultobj
= 0;
26548 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26552 PyObject
*swig_obj
[1] ;
26554 if (!args
) SWIG_fail
;
26555 swig_obj
[0] = args
;
26556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26557 if (!SWIG_IsOK(res1
)) {
26558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26560 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= SWIG_From_int(static_cast< int >(result
));
26574 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26575 PyObject
*resultobj
= 0;
26576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26580 PyObject
*swig_obj
[1] ;
26582 if (!args
) SWIG_fail
;
26583 swig_obj
[0] = args
;
26584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26585 if (!SWIG_IsOK(res1
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26588 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= SWIG_From_int(static_cast< int >(result
));
26602 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26603 PyObject
*resultobj
= 0;
26604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26608 PyObject
*swig_obj
[1] ;
26610 if (!args
) SWIG_fail
;
26611 swig_obj
[0] = args
;
26612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26616 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= SWIG_From_int(static_cast< int >(result
));
26630 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26631 PyObject
*resultobj
= 0;
26632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26636 PyObject
*swig_obj
[1] ;
26638 if (!args
) SWIG_fail
;
26639 swig_obj
[0] = args
;
26640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26641 if (!SWIG_IsOK(res1
)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26644 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26660 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26661 PyObject
*resultobj
= 0;
26662 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26666 PyObject
*swig_obj
[1] ;
26668 if (!args
) SWIG_fail
;
26669 swig_obj
[0] = args
;
26670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26671 if (!SWIG_IsOK(res1
)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26674 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26690 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26691 PyObject
*resultobj
= 0;
26692 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26696 PyObject
*swig_obj
[1] ;
26698 if (!args
) SWIG_fail
;
26699 swig_obj
[0] = args
;
26700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26704 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26720 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26721 PyObject
*resultobj
= 0;
26722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26726 PyObject
*swig_obj
[1] ;
26728 if (!args
) SWIG_fail
;
26729 swig_obj
[0] = args
;
26730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26731 if (!SWIG_IsOK(res1
)) {
26732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26734 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26750 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char * kwnames
[] = {
26761 (char *) "self",(char *) "v", NULL
26764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26769 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26771 if (!SWIG_IsOK(ecode2
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26774 arg2
= static_cast< int >(val2
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->SetFromPage(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= SWIG_Py_Void();
26788 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
= 0;
26790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 char * kwnames
[] = {
26799 (char *) "self",(char *) "v", NULL
26802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26807 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26809 if (!SWIG_IsOK(ecode2
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26812 arg2
= static_cast< int >(val2
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 (arg1
)->SetToPage(arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_Py_Void();
26826 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
= 0;
26828 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 char * kwnames
[] = {
26837 (char *) "self",(char *) "v", NULL
26840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26842 if (!SWIG_IsOK(res1
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26845 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26847 if (!SWIG_IsOK(ecode2
)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26850 arg2
= static_cast< int >(val2
);
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->SetMinPage(arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_Py_Void();
26864 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
= 0;
26866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 char * kwnames
[] = {
26875 (char *) "self",(char *) "v", NULL
26878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26883 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26885 if (!SWIG_IsOK(ecode2
)) {
26886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26888 arg2
= static_cast< int >(val2
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 (arg1
)->SetMaxPage(arg2
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
= 0;
26904 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 char * kwnames
[] = {
26913 (char *) "self",(char *) "v", NULL
26916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26918 if (!SWIG_IsOK(res1
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26921 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26923 if (!SWIG_IsOK(ecode2
)) {
26924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26926 arg2
= static_cast< int >(val2
);
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 (arg1
)->SetNoCopies(arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_Py_Void();
26940 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char * kwnames
[] = {
26951 (char *) "self",(char *) "flag", NULL
26954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26959 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26960 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26961 if (!SWIG_IsOK(ecode2
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26964 arg2
= static_cast< bool >(val2
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 (arg1
)->SetAllPages(arg2
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_Py_Void();
26978 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
= 0;
26980 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 char * kwnames
[] = {
26989 (char *) "self",(char *) "flag", NULL
26992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26994 if (!SWIG_IsOK(res1
)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26997 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26998 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26999 if (!SWIG_IsOK(ecode2
)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27002 arg2
= static_cast< bool >(val2
);
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 (arg1
)->SetSelection(arg2
);
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_Py_Void();
27016 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
= 0;
27018 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char * kwnames
[] = {
27027 (char *) "self",(char *) "flag", NULL
27030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27032 if (!SWIG_IsOK(res1
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27035 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27036 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27037 if (!SWIG_IsOK(ecode2
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27040 arg2
= static_cast< bool >(val2
);
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->SetCollate(arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 char * kwnames
[] = {
27065 (char *) "self",(char *) "flag", NULL
27068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27073 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27074 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27075 if (!SWIG_IsOK(ecode2
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27078 arg2
= static_cast< bool >(val2
);
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 (arg1
)->SetPrintToFile(arg2
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_Py_Void();
27092 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
= 0;
27094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27100 PyObject
* obj0
= 0 ;
27101 PyObject
* obj1
= 0 ;
27102 char * kwnames
[] = {
27103 (char *) "self",(char *) "flag", NULL
27106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27108 if (!SWIG_IsOK(res1
)) {
27109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27111 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27112 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27113 if (!SWIG_IsOK(ecode2
)) {
27114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27116 arg2
= static_cast< bool >(val2
);
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 (arg1
)->EnablePrintToFile(arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_Py_Void();
27130 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
= 0;
27132 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char * kwnames
[] = {
27141 (char *) "self",(char *) "flag", NULL
27144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27146 if (!SWIG_IsOK(res1
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27149 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27150 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27151 if (!SWIG_IsOK(ecode2
)) {
27152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27154 arg2
= static_cast< bool >(val2
);
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 (arg1
)->EnableSelection(arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= SWIG_Py_Void();
27168 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
= 0;
27170 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 char * kwnames
[] = {
27179 (char *) "self",(char *) "flag", NULL
27182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27184 if (!SWIG_IsOK(res1
)) {
27185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27187 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27188 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27189 if (!SWIG_IsOK(ecode2
)) {
27190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27192 arg2
= static_cast< bool >(val2
);
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 (arg1
)->EnablePageNumbers(arg2
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 resultobj
= SWIG_Py_Void();
27206 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
= 0;
27208 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 char * kwnames
[] = {
27217 (char *) "self",(char *) "flag", NULL
27220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27225 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27226 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27227 if (!SWIG_IsOK(ecode2
)) {
27228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27230 arg2
= static_cast< bool >(val2
);
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->EnableHelp(arg2
);
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_Py_Void();
27244 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27250 PyObject
*swig_obj
[1] ;
27252 if (!args
) SWIG_fail
;
27253 swig_obj
[0] = args
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27258 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27274 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27275 PyObject
*resultobj
= 0;
27276 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27280 PyObject
*swig_obj
[1] ;
27282 if (!args
) SWIG_fail
;
27283 swig_obj
[0] = args
;
27284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27288 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27304 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27305 PyObject
*resultobj
= 0;
27306 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27310 PyObject
*swig_obj
[1] ;
27312 if (!args
) SWIG_fail
;
27313 swig_obj
[0] = args
;
27314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27315 if (!SWIG_IsOK(res1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27318 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27334 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 PyObject
*resultobj
= 0;
27336 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27340 PyObject
*swig_obj
[1] ;
27342 if (!args
) SWIG_fail
;
27343 swig_obj
[0] = args
;
27344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27345 if (!SWIG_IsOK(res1
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27348 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27364 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27365 PyObject
*resultobj
= 0;
27366 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27370 PyObject
*swig_obj
[1] ;
27372 if (!args
) SWIG_fail
;
27373 swig_obj
[0] = args
;
27374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27375 if (!SWIG_IsOK(res1
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27378 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27394 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27397 wxPrintData
*result
= 0 ;
27400 PyObject
*swig_obj
[1] ;
27402 if (!args
) SWIG_fail
;
27403 swig_obj
[0] = args
;
27404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27405 if (!SWIG_IsOK(res1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27408 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27413 result
= (wxPrintData
*) &_result_ref
;
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27425 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
= 0;
27427 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27428 wxPrintData
*arg2
= 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 char * kwnames
[] = {
27436 (char *) "self",(char *) "printData", NULL
27439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27444 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27446 if (!SWIG_IsOK(res2
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27452 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= SWIG_Py_Void();
27466 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27469 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27470 return SWIG_Py_Void();
27473 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27474 return SWIG_Python_InitShadowInstance(args
);
27477 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
= 0;
27479 wxWindow
*arg1
= (wxWindow
*) 0 ;
27480 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27481 wxPrintDialog
*result
= 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 char * kwnames
[] = {
27489 (char *) "parent",(char *) "data", NULL
27492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27494 if (!SWIG_IsOK(res1
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27500 if (!SWIG_IsOK(res2
)) {
27501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27503 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27506 if (!wxPyCheckForApp()) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27519 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27520 PyObject
*resultobj
= 0;
27521 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27524 PyObject
*swig_obj
[1] ;
27526 if (!args
) SWIG_fail
;
27527 swig_obj
[0] = args
;
27528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27529 if (!SWIG_IsOK(res1
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27532 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 resultobj
= SWIG_Py_Void();
27547 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27548 PyObject
*resultobj
= 0;
27549 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27553 PyObject
*swig_obj
[1] ;
27555 if (!args
) SWIG_fail
;
27556 swig_obj
[0] = args
;
27557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27558 if (!SWIG_IsOK(res1
)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27561 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= (int)(arg1
)->ShowModal();
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_From_int(static_cast< int >(result
));
27575 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27577 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27578 wxPrintDialogData
*result
= 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27589 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27594 result
= (wxPrintDialogData
*) &_result_ref
;
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27606 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 PyObject
*resultobj
= 0;
27608 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27609 wxPrintData
*result
= 0 ;
27612 PyObject
*swig_obj
[1] ;
27614 if (!args
) SWIG_fail
;
27615 swig_obj
[0] = args
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27620 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27625 result
= (wxPrintData
*) &_result_ref
;
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27637 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27638 PyObject
*resultobj
= 0;
27639 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27643 PyObject
*swig_obj
[1] ;
27645 if (!args
) SWIG_fail
;
27646 swig_obj
[0] = args
;
27647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27648 if (!SWIG_IsOK(res1
)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27651 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 result
= (wxDC
*)(arg1
)->GetPrintDC();
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27667 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27670 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27671 return SWIG_Py_Void();
27674 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27675 return SWIG_Python_InitShadowInstance(args
);
27678 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
= 0;
27680 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27681 wxPrinter
*result
= 0 ;
27684 PyObject
* obj0
= 0 ;
27685 char * kwnames
[] = {
27686 (char *) "data", NULL
27689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27692 if (!SWIG_IsOK(res1
)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27695 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27698 if (!wxPyCheckForApp()) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= (wxPrinter
*)new wxPrinter(arg1
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27711 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27712 PyObject
*resultobj
= 0;
27713 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27716 PyObject
*swig_obj
[1] ;
27718 if (!args
) SWIG_fail
;
27719 swig_obj
[0] = args
;
27720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27724 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= SWIG_Py_Void();
27739 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
= 0;
27741 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27742 wxWindow
*arg2
= (wxWindow
*) 0 ;
27743 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27744 wxWindow
*result
= 0 ;
27751 PyObject
* obj0
= 0 ;
27752 PyObject
* obj1
= 0 ;
27753 PyObject
* obj2
= 0 ;
27754 char * kwnames
[] = {
27755 (char *) "self",(char *) "parent",(char *) "printout", NULL
27758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27760 if (!SWIG_IsOK(res1
)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27763 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27765 if (!SWIG_IsOK(res2
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27769 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27770 if (!SWIG_IsOK(res3
)) {
27771 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27773 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27781 resultobj
= wxPyMake_wxObject(result
, 0);
27789 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
= 0;
27791 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27792 wxWindow
*arg2
= (wxWindow
*) 0 ;
27793 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27794 wxString
*arg4
= 0 ;
27801 bool temp4
= false ;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj1
= 0 ;
27804 PyObject
* obj2
= 0 ;
27805 PyObject
* obj3
= 0 ;
27806 char * kwnames
[] = {
27807 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27812 if (!SWIG_IsOK(res1
)) {
27813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27815 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27817 if (!SWIG_IsOK(res2
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27821 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27822 if (!SWIG_IsOK(res3
)) {
27823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27825 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27827 arg4
= wxString_in_helper(obj3
);
27828 if (arg4
== NULL
) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= SWIG_Py_Void();
27852 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27853 PyObject
*resultobj
= 0;
27854 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27855 wxWindow
*arg2
= (wxWindow
*) 0 ;
27861 PyObject
* obj0
= 0 ;
27862 PyObject
* obj1
= 0 ;
27863 char * kwnames
[] = {
27864 (char *) "self",(char *) "parent", NULL
27867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27869 if (!SWIG_IsOK(res1
)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27872 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27874 if (!SWIG_IsOK(res2
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27877 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= (bool)(arg1
)->Setup(arg2
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27893 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
= 0;
27895 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27896 wxWindow
*arg2
= (wxWindow
*) 0 ;
27897 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27898 bool arg4
= (bool) true ;
27908 PyObject
* obj0
= 0 ;
27909 PyObject
* obj1
= 0 ;
27910 PyObject
* obj2
= 0 ;
27911 PyObject
* obj3
= 0 ;
27912 char * kwnames
[] = {
27913 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27918 if (!SWIG_IsOK(res1
)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27921 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27923 if (!SWIG_IsOK(res2
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27926 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27927 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27928 if (!SWIG_IsOK(res3
)) {
27929 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27931 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27933 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27934 if (!SWIG_IsOK(ecode4
)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27937 arg4
= static_cast< bool >(val4
);
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27954 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
= 0;
27956 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27957 wxWindow
*arg2
= (wxWindow
*) 0 ;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 char * kwnames
[] = {
27966 (char *) "self",(char *) "parent", NULL
27969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27971 if (!SWIG_IsOK(res1
)) {
27972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27974 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27976 if (!SWIG_IsOK(res2
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27995 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27996 PyObject
*resultobj
= 0;
27997 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27998 wxPrintDialogData
*result
= 0 ;
28001 PyObject
*swig_obj
[1] ;
28003 if (!args
) SWIG_fail
;
28004 swig_obj
[0] = args
;
28005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28009 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
28014 result
= (wxPrintDialogData
*) &_result_ref
;
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28026 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28027 PyObject
*resultobj
= 0;
28028 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28032 PyObject
*swig_obj
[1] ;
28034 if (!args
) SWIG_fail
;
28035 swig_obj
[0] = args
;
28036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28037 if (!SWIG_IsOK(res1
)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28040 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28043 result
= (bool)(arg1
)->GetAbort();
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28056 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28057 PyObject
*resultobj
= 0;
28058 wxPrinterError result
;
28060 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (wxPrinterError
)wxPrinter::GetLastError();
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_From_int(static_cast< int >(result
));
28074 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28077 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
28078 return SWIG_Py_Void();
28081 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28082 return SWIG_Python_InitShadowInstance(args
);
28085 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
= 0;
28087 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
28088 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28089 wxPyPrintout
*result
= 0 ;
28090 bool temp1
= false ;
28091 PyObject
* obj0
= 0 ;
28092 char * kwnames
[] = {
28093 (char *) "title", NULL
28096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
28099 arg1
= wxString_in_helper(obj0
);
28100 if (arg1
== NULL
) SWIG_fail
;
28105 if (!wxPyCheckForApp()) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
28126 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28127 PyObject
*resultobj
= 0;
28128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28131 PyObject
*swig_obj
[1] ;
28133 if (!args
) SWIG_fail
;
28134 swig_obj
[0] = args
;
28135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28139 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= SWIG_Py_Void();
28154 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
= 0;
28156 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28157 PyObject
*arg2
= (PyObject
*) 0 ;
28158 PyObject
*arg3
= (PyObject
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 PyObject
* obj2
= 0 ;
28164 char * kwnames
[] = {
28165 (char *) "self",(char *) "self",(char *) "_class", NULL
28168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28173 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_Py_Void();
28189 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28190 PyObject
*resultobj
= 0;
28191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28195 PyObject
*swig_obj
[1] ;
28197 if (!args
) SWIG_fail
;
28198 swig_obj
[0] = args
;
28199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28200 if (!SWIG_IsOK(res1
)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28203 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28223 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 PyObject
*resultobj
= 0;
28225 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28229 PyObject
*swig_obj
[1] ;
28231 if (!args
) SWIG_fail
;
28232 swig_obj
[0] = args
;
28233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28234 if (!SWIG_IsOK(res1
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28237 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (wxDC
*)(arg1
)->GetDC();
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28245 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28253 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
= 0;
28255 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28256 wxDC
*arg2
= (wxDC
*) 0 ;
28261 PyObject
* obj0
= 0 ;
28262 PyObject
* obj1
= 0 ;
28263 char * kwnames
[] = {
28264 (char *) "self",(char *) "dc", NULL
28267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28269 if (!SWIG_IsOK(res1
)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28272 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28274 if (!SWIG_IsOK(res2
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28277 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 (arg1
)->SetDC(arg2
);
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= SWIG_Py_Void();
28291 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
= 0;
28293 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28298 PyObject
* obj0
= 0 ;
28299 PyObject
* obj1
= 0 ;
28300 char * kwnames
[] = {
28301 (char *) "self",(char *) "imageSize", NULL
28304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28306 if (!SWIG_IsOK(res1
)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28309 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28312 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28316 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28320 resultobj
= SWIG_Py_Void();
28327 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
= 0;
28329 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 char * kwnames
[] = {
28337 (char *) "self",(char *) "imageSize", NULL
28340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28342 if (!SWIG_IsOK(res1
)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28345 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= SWIG_Py_Void();
28363 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
= 0;
28365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28367 wxPageSetupDialogData
*arg3
= 0 ;
28373 PyObject
* obj0
= 0 ;
28374 PyObject
* obj1
= 0 ;
28375 PyObject
* obj2
= 0 ;
28376 char * kwnames
[] = {
28377 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28382 if (!SWIG_IsOK(res1
)) {
28383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28385 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28388 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28390 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28391 if (!SWIG_IsOK(res3
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28397 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= SWIG_Py_Void();
28411 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28412 PyObject
*resultobj
= 0;
28413 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28416 PyObject
*swig_obj
[1] ;
28418 if (!args
) SWIG_fail
;
28419 swig_obj
[0] = args
;
28420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28424 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 (arg1
)->MapScreenSizeToPaper();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= SWIG_Py_Void();
28438 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28439 PyObject
*resultobj
= 0;
28440 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28443 PyObject
*swig_obj
[1] ;
28445 if (!args
) SWIG_fail
;
28446 swig_obj
[0] = args
;
28447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28451 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->MapScreenSizeToPage();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_Py_Void();
28465 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
= 0;
28467 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28468 wxPageSetupDialogData
*arg2
= 0 ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 char * kwnames
[] = {
28476 (char *) "self",(char *) "pageSetupData", NULL
28479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28481 if (!SWIG_IsOK(res1
)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28484 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28486 if (!SWIG_IsOK(res2
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28492 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= SWIG_Py_Void();
28506 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28507 PyObject
*resultobj
= 0;
28508 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28511 PyObject
*swig_obj
[1] ;
28513 if (!args
) SWIG_fail
;
28514 swig_obj
[0] = args
;
28515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28516 if (!SWIG_IsOK(res1
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28519 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 (arg1
)->MapScreenSizeToDevice();
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 resultobj
= SWIG_Py_Void();
28533 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28534 PyObject
*resultobj
= 0;
28535 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28539 PyObject
*swig_obj
[1] ;
28541 if (!args
) SWIG_fail
;
28542 swig_obj
[0] = args
;
28543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28544 if (!SWIG_IsOK(res1
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28547 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28561 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28562 PyObject
*resultobj
= 0;
28563 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28567 PyObject
*swig_obj
[1] ;
28569 if (!args
) SWIG_fail
;
28570 swig_obj
[0] = args
;
28571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28572 if (!SWIG_IsOK(res1
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28575 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28589 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
= 0;
28591 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28592 wxPageSetupDialogData
*arg2
= 0 ;
28598 PyObject
* obj0
= 0 ;
28599 PyObject
* obj1
= 0 ;
28600 char * kwnames
[] = {
28601 (char *) "self",(char *) "pageSetupData", NULL
28604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28606 if (!SWIG_IsOK(res1
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28609 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28611 if (!SWIG_IsOK(res2
)) {
28612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28617 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28631 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
= 0;
28633 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 PyObject
* obj2
= 0 ;
28645 char * kwnames
[] = {
28646 (char *) "self",(char *) "x",(char *) "y", NULL
28649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28654 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28656 if (!SWIG_IsOK(ecode2
)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28659 arg2
= static_cast< int >(val2
);
28660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28661 if (!SWIG_IsOK(ecode3
)) {
28662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28664 arg3
= static_cast< int >(val3
);
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= SWIG_Py_Void();
28678 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
= 0;
28680 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 PyObject
* obj2
= 0 ;
28692 char * kwnames
[] = {
28693 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28698 if (!SWIG_IsOK(res1
)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28701 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28703 if (!SWIG_IsOK(ecode2
)) {
28704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28706 arg2
= static_cast< int >(val2
);
28707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28708 if (!SWIG_IsOK(ecode3
)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28711 arg3
= static_cast< int >(val3
);
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= SWIG_Py_Void();
28725 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
= 0;
28727 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 PyObject
* obj2
= 0 ;
28739 char * kwnames
[] = {
28740 (char *) "self",(char *) "w",(char *) "h", NULL
28743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28748 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28750 if (!SWIG_IsOK(ecode2
)) {
28751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28753 arg2
= static_cast< int >(val2
);
28754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28755 if (!SWIG_IsOK(ecode3
)) {
28756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28758 arg3
= static_cast< int >(val3
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= SWIG_Py_Void();
28772 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28773 PyObject
*resultobj
= 0;
28774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28775 int *arg2
= (int *) 0 ;
28776 int *arg3
= (int *) 0 ;
28780 int res2
= SWIG_TMPOBJ
;
28782 int res3
= SWIG_TMPOBJ
;
28783 PyObject
*swig_obj
[1] ;
28787 if (!args
) SWIG_fail
;
28788 swig_obj
[0] = args
;
28789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28790 if (!SWIG_IsOK(res1
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28793 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_Py_Void();
28801 if (SWIG_IsTmpObj(res2
)) {
28802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28804 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28807 if (SWIG_IsTmpObj(res3
)) {
28808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28810 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28819 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
= 0;
28821 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 PyObject
* obj2
= 0 ;
28833 char * kwnames
[] = {
28834 (char *) "self",(char *) "w",(char *) "h", NULL
28837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28839 if (!SWIG_IsOK(res1
)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28842 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28844 if (!SWIG_IsOK(ecode2
)) {
28845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28847 arg2
= static_cast< int >(val2
);
28848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28849 if (!SWIG_IsOK(ecode3
)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28852 arg3
= static_cast< int >(val3
);
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= SWIG_Py_Void();
28866 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28867 PyObject
*resultobj
= 0;
28868 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28869 int *arg2
= (int *) 0 ;
28870 int *arg3
= (int *) 0 ;
28874 int res2
= SWIG_TMPOBJ
;
28876 int res3
= SWIG_TMPOBJ
;
28877 PyObject
*swig_obj
[1] ;
28881 if (!args
) SWIG_fail
;
28882 swig_obj
[0] = args
;
28883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28887 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_Py_Void();
28895 if (SWIG_IsTmpObj(res2
)) {
28896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28898 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28901 if (SWIG_IsTmpObj(res3
)) {
28902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28904 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28913 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
= 0;
28915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 PyObject
* obj2
= 0 ;
28927 char * kwnames
[] = {
28928 (char *) "self",(char *) "x",(char *) "y", NULL
28931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28933 if (!SWIG_IsOK(res1
)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28936 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28938 if (!SWIG_IsOK(ecode2
)) {
28939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28941 arg2
= static_cast< int >(val2
);
28942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28943 if (!SWIG_IsOK(ecode3
)) {
28944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28946 arg3
= static_cast< int >(val3
);
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 (arg1
)->SetPPIScreen(arg2
,arg3
);
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= SWIG_Py_Void();
28960 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28961 PyObject
*resultobj
= 0;
28962 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28963 int *arg2
= (int *) 0 ;
28964 int *arg3
= (int *) 0 ;
28968 int res2
= SWIG_TMPOBJ
;
28970 int res3
= SWIG_TMPOBJ
;
28971 PyObject
*swig_obj
[1] ;
28975 if (!args
) SWIG_fail
;
28976 swig_obj
[0] = args
;
28977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28978 if (!SWIG_IsOK(res1
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28981 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 (arg1
)->GetPPIScreen(arg2
,arg3
);
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_Py_Void();
28989 if (SWIG_IsTmpObj(res2
)) {
28990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28992 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28995 if (SWIG_IsTmpObj(res3
)) {
28996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28998 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29007 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29009 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 PyObject
* obj2
= 0 ;
29021 char * kwnames
[] = {
29022 (char *) "self",(char *) "x",(char *) "y", NULL
29025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29027 if (!SWIG_IsOK(res1
)) {
29028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29030 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29032 if (!SWIG_IsOK(ecode2
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29035 arg2
= static_cast< int >(val2
);
29036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29037 if (!SWIG_IsOK(ecode3
)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29040 arg3
= static_cast< int >(val3
);
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 (arg1
)->SetPPIPrinter(arg2
,arg3
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= SWIG_Py_Void();
29054 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29055 PyObject
*resultobj
= 0;
29056 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29057 int *arg2
= (int *) 0 ;
29058 int *arg3
= (int *) 0 ;
29062 int res2
= SWIG_TMPOBJ
;
29064 int res3
= SWIG_TMPOBJ
;
29065 PyObject
*swig_obj
[1] ;
29069 if (!args
) SWIG_fail
;
29070 swig_obj
[0] = args
;
29071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29075 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->GetPPIPrinter(arg2
,arg3
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_Py_Void();
29083 if (SWIG_IsTmpObj(res2
)) {
29084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29086 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29089 if (SWIG_IsTmpObj(res3
)) {
29090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29092 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29101 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
= 0;
29103 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "paperRectPixels", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29119 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29122 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29126 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= SWIG_Py_Void();
29137 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29138 PyObject
*resultobj
= 0;
29139 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29143 PyObject
*swig_obj
[1] ;
29145 if (!args
) SWIG_fail
;
29146 swig_obj
[0] = args
;
29147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29148 if (!SWIG_IsOK(res1
)) {
29149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29151 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29154 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29165 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29166 PyObject
*resultobj
= 0;
29167 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29171 PyObject
*swig_obj
[1] ;
29173 if (!args
) SWIG_fail
;
29174 swig_obj
[0] = args
;
29175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29176 if (!SWIG_IsOK(res1
)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29179 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= (bool)(arg1
)->IsPreview();
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29195 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
= 0;
29197 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "p", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29214 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29215 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29216 if (!SWIG_IsOK(ecode2
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29219 arg2
= static_cast< bool >(val2
);
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 (arg1
)->SetIsPreview(arg2
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= SWIG_Py_Void();
29233 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
= 0;
29235 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 PyObject
* obj2
= 0 ;
29248 char * kwnames
[] = {
29249 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29254 if (!SWIG_IsOK(res1
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29257 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29259 if (!SWIG_IsOK(ecode2
)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29262 arg2
= static_cast< int >(val2
);
29263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29264 if (!SWIG_IsOK(ecode3
)) {
29265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29267 arg3
= static_cast< int >(val3
);
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29270 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29283 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29284 PyObject
*resultobj
= 0;
29285 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29288 PyObject
*swig_obj
[1] ;
29290 if (!args
) SWIG_fail
;
29291 swig_obj
[0] = args
;
29292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29296 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 (arg1
)->OnEndDocument();
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_Py_Void();
29310 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29311 PyObject
*resultobj
= 0;
29312 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29315 PyObject
*swig_obj
[1] ;
29317 if (!args
) SWIG_fail
;
29318 swig_obj
[0] = args
;
29319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29320 if (!SWIG_IsOK(res1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29323 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 (arg1
)->OnBeginPrinting();
29327 wxPyEndAllowThreads(__tstate
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 resultobj
= SWIG_Py_Void();
29337 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29338 PyObject
*resultobj
= 0;
29339 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29342 PyObject
*swig_obj
[1] ;
29344 if (!args
) SWIG_fail
;
29345 swig_obj
[0] = args
;
29346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29347 if (!SWIG_IsOK(res1
)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29350 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 (arg1
)->OnEndPrinting();
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= SWIG_Py_Void();
29364 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29365 PyObject
*resultobj
= 0;
29366 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29369 PyObject
*swig_obj
[1] ;
29371 if (!args
) SWIG_fail
;
29372 swig_obj
[0] = args
;
29373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29377 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 (arg1
)->OnPreparePrinting();
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_Py_Void();
29391 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
= 0;
29393 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29400 PyObject
* obj0
= 0 ;
29401 PyObject
* obj1
= 0 ;
29402 char * kwnames
[] = {
29403 (char *) "self",(char *) "page", NULL
29406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29411 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29413 if (!SWIG_IsOK(ecode2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29416 arg2
= static_cast< int >(val2
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= (bool)(arg1
)->HasPage(arg2
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29432 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29433 PyObject
*resultobj
= 0;
29434 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29435 int *arg2
= (int *) 0 ;
29436 int *arg3
= (int *) 0 ;
29437 int *arg4
= (int *) 0 ;
29438 int *arg5
= (int *) 0 ;
29442 int res2
= SWIG_TMPOBJ
;
29444 int res3
= SWIG_TMPOBJ
;
29446 int res4
= SWIG_TMPOBJ
;
29448 int res5
= SWIG_TMPOBJ
;
29449 PyObject
*swig_obj
[1] ;
29455 if (!args
) SWIG_fail
;
29456 swig_obj
[0] = args
;
29457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29461 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_Py_Void();
29469 if (SWIG_IsTmpObj(res2
)) {
29470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29472 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29475 if (SWIG_IsTmpObj(res3
)) {
29476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29478 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29481 if (SWIG_IsTmpObj(res4
)) {
29482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29484 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29487 if (SWIG_IsTmpObj(res5
)) {
29488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29490 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29499 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29502 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29503 return SWIG_Py_Void();
29506 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29507 return SWIG_Python_InitShadowInstance(args
);
29510 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
= 0;
29512 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29513 wxWindow
*arg2
= (wxWindow
*) 0 ;
29514 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29515 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29516 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29517 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29518 long arg5
= (long) 0 ;
29519 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29520 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29521 wxPreviewCanvas
*result
= 0 ;
29530 bool temp6
= false ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 PyObject
* obj2
= 0 ;
29534 PyObject
* obj3
= 0 ;
29535 PyObject
* obj4
= 0 ;
29536 PyObject
* obj5
= 0 ;
29537 char * kwnames
[] = {
29538 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29543 if (!SWIG_IsOK(res1
)) {
29544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29546 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29548 if (!SWIG_IsOK(res2
)) {
29549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29561 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29565 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29566 if (!SWIG_IsOK(ecode5
)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29569 arg5
= static_cast< long >(val5
);
29573 arg6
= wxString_in_helper(obj5
);
29574 if (arg6
== NULL
) SWIG_fail
;
29579 if (!wxPyCheckForApp()) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29582 wxPyEndAllowThreads(__tstate
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29600 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29603 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29604 return SWIG_Py_Void();
29607 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 return SWIG_Python_InitShadowInstance(args
);
29611 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
= 0;
29613 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29614 wxFrame
*arg2
= (wxFrame
*) 0 ;
29615 wxString
*arg3
= 0 ;
29616 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29617 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29618 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29619 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29620 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29621 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29622 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29623 wxPreviewFrame
*result
= 0 ;
29627 bool temp3
= false ;
29632 bool temp7
= false ;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 PyObject
* obj2
= 0 ;
29636 PyObject
* obj3
= 0 ;
29637 PyObject
* obj4
= 0 ;
29638 PyObject
* obj5
= 0 ;
29639 PyObject
* obj6
= 0 ;
29640 char * kwnames
[] = {
29641 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29645 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29650 if (!SWIG_IsOK(res2
)) {
29651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29653 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29655 arg3
= wxString_in_helper(obj2
);
29656 if (arg3
== NULL
) SWIG_fail
;
29662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29673 if (!SWIG_IsOK(ecode6
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29676 arg6
= static_cast< long >(val6
);
29680 arg7
= wxString_in_helper(obj6
);
29681 if (arg7
== NULL
) SWIG_fail
;
29686 if (!wxPyCheckForApp()) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29715 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29716 PyObject
*resultobj
= 0;
29717 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29720 PyObject
*swig_obj
[1] ;
29722 if (!args
) SWIG_fail
;
29723 swig_obj
[0] = args
;
29724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29725 if (!SWIG_IsOK(res1
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29728 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 (arg1
)->Initialize();
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_Py_Void();
29742 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29743 PyObject
*resultobj
= 0;
29744 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29747 PyObject
*swig_obj
[1] ;
29749 if (!args
) SWIG_fail
;
29750 swig_obj
[0] = args
;
29751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29752 if (!SWIG_IsOK(res1
)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29755 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 (arg1
)->CreateControlBar();
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= SWIG_Py_Void();
29769 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29770 PyObject
*resultobj
= 0;
29771 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29774 PyObject
*swig_obj
[1] ;
29776 if (!args
) SWIG_fail
;
29777 swig_obj
[0] = args
;
29778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29779 if (!SWIG_IsOK(res1
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29782 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 (arg1
)->CreateCanvas();
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_Py_Void();
29796 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29797 PyObject
*resultobj
= 0;
29798 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29799 wxPreviewControlBar
*result
= 0 ;
29802 PyObject
*swig_obj
[1] ;
29804 if (!args
) SWIG_fail
;
29805 swig_obj
[0] = args
;
29806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29807 if (!SWIG_IsOK(res1
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29810 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29824 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29828 return SWIG_Py_Void();
29831 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29832 return SWIG_Python_InitShadowInstance(args
);
29835 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
= 0;
29837 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29839 wxWindow
*arg3
= (wxWindow
*) 0 ;
29840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29844 long arg6
= (long) wxTAB_TRAVERSAL
;
29845 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29847 wxPreviewControlBar
*result
= 0 ;
29858 bool temp7
= false ;
29859 PyObject
* obj0
= 0 ;
29860 PyObject
* obj1
= 0 ;
29861 PyObject
* obj2
= 0 ;
29862 PyObject
* obj3
= 0 ;
29863 PyObject
* obj4
= 0 ;
29864 PyObject
* obj5
= 0 ;
29865 PyObject
* obj6
= 0 ;
29866 char * kwnames
[] = {
29867 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29875 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29876 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29877 if (!SWIG_IsOK(ecode2
)) {
29878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29880 arg2
= static_cast< long >(val2
);
29881 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29882 if (!SWIG_IsOK(res3
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29885 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29900 if (!SWIG_IsOK(ecode6
)) {
29901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29903 arg6
= static_cast< long >(val6
);
29907 arg7
= wxString_in_helper(obj6
);
29908 if (arg7
== NULL
) SWIG_fail
;
29913 if (!wxPyCheckForApp()) SWIG_fail
;
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29934 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29935 PyObject
*resultobj
= 0;
29936 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29940 PyObject
*swig_obj
[1] ;
29942 if (!args
) SWIG_fail
;
29943 swig_obj
[0] = args
;
29944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29945 if (!SWIG_IsOK(res1
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29948 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (int)(arg1
)->GetZoomControl();
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= SWIG_From_int(static_cast< int >(result
));
29962 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29963 PyObject
*resultobj
= 0;
29964 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char * kwnames
[] = {
29973 (char *) "self",(char *) "zoom", NULL
29976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29978 if (!SWIG_IsOK(res1
)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29981 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29983 if (!SWIG_IsOK(ecode2
)) {
29984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29986 arg2
= static_cast< int >(val2
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->SetZoomControl(arg2
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_Py_Void();
30000 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30001 PyObject
*resultobj
= 0;
30002 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30003 wxPrintPreview
*result
= 0 ;
30006 PyObject
*swig_obj
[1] ;
30008 if (!args
) SWIG_fail
;
30009 swig_obj
[0] = args
;
30010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30014 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30028 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30029 PyObject
*resultobj
= 0;
30030 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30033 PyObject
*swig_obj
[1] ;
30035 if (!args
) SWIG_fail
;
30036 swig_obj
[0] = args
;
30037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30041 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_Py_Void();
30055 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30056 PyObject
*resultobj
= 0;
30057 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30060 PyObject
*swig_obj
[1] ;
30062 if (!args
) SWIG_fail
;
30063 swig_obj
[0] = args
;
30064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30065 if (!SWIG_IsOK(res1
)) {
30066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30068 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 (arg1
)->OnPrevious();
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= SWIG_Py_Void();
30082 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30083 PyObject
*resultobj
= 0;
30084 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30087 PyObject
*swig_obj
[1] ;
30089 if (!args
) SWIG_fail
;
30090 swig_obj
[0] = args
;
30091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30095 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_Py_Void();
30109 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30110 PyObject
*resultobj
= 0;
30111 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30114 PyObject
*swig_obj
[1] ;
30116 if (!args
) SWIG_fail
;
30117 swig_obj
[0] = args
;
30118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30119 if (!SWIG_IsOK(res1
)) {
30120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30122 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= SWIG_Py_Void();
30136 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30137 PyObject
*resultobj
= 0;
30138 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30141 PyObject
*swig_obj
[1] ;
30143 if (!args
) SWIG_fail
;
30144 swig_obj
[0] = args
;
30145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30146 if (!SWIG_IsOK(res1
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30149 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 wxPyEndAllowThreads(__tstate
);
30154 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= SWIG_Py_Void();
30163 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30167 return SWIG_Py_Void();
30170 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30171 return SWIG_Python_InitShadowInstance(args
);
30174 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30175 PyObject
*resultobj
= 0;
30176 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30177 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30178 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30179 wxPrintPreview
*result
= 0 ;
30185 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30186 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30187 if (!SWIG_IsOK(res1
)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30190 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30191 if (!SWIG_IsOK(res2
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30195 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30196 if (!SWIG_IsOK(res3
)) {
30197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30199 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30202 if (!wxPyCheckForApp()) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30205 wxPyEndAllowThreads(__tstate
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30215 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30216 PyObject
*resultobj
= 0;
30217 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30218 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30219 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30220 wxPrintPreview
*result
= 0 ;
30226 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30227 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30231 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30232 if (!SWIG_IsOK(res2
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30235 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30236 if (!SWIG_IsOK(res3
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30239 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30241 if (!wxPyCheckForApp()) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30254 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30258 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30260 if ((argc
>= 2) && (argc
<= 3)) {
30265 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30266 _v
= SWIG_CheckState(res
);
30268 if (!_v
) goto check_1
;
30270 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30275 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30279 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30284 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30285 PyObject
*resultobj
= 0;
30286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30289 PyObject
*swig_obj
[1] ;
30291 if (!args
) SWIG_fail
;
30292 swig_obj
[0] = args
;
30293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30297 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= 0;
30314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 char * kwnames
[] = {
30324 (char *) "self",(char *) "pageNum", NULL
30327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30329 if (!SWIG_IsOK(res1
)) {
30330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30332 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30334 if (!SWIG_IsOK(ecode2
)) {
30335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30337 arg2
= static_cast< int >(val2
);
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30353 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30354 PyObject
*resultobj
= 0;
30355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30359 PyObject
*swig_obj
[1] ;
30361 if (!args
) SWIG_fail
;
30362 swig_obj
[0] = args
;
30363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30367 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 result
= (int)(arg1
)->GetCurrentPage();
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= SWIG_From_int(static_cast< int >(result
));
30381 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
= 0;
30383 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30384 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30388 PyObject
* obj0
= 0 ;
30389 PyObject
* obj1
= 0 ;
30390 char * kwnames
[] = {
30391 (char *) "self",(char *) "printout", NULL
30394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30396 if (!SWIG_IsOK(res1
)) {
30397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30399 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30400 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30401 if (!SWIG_IsOK(res2
)) {
30402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 (arg1
)->SetPrintout(arg2
);
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= SWIG_Py_Void();
30417 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30418 PyObject
*resultobj
= 0;
30419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30420 wxPyPrintout
*result
= 0 ;
30423 PyObject
*swig_obj
[1] ;
30425 if (!args
) SWIG_fail
;
30426 swig_obj
[0] = args
;
30427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30428 if (!SWIG_IsOK(res1
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30431 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= wxPyMake_wxObject(result
, 0);
30447 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30448 PyObject
*resultobj
= 0;
30449 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30450 wxPyPrintout
*result
= 0 ;
30453 PyObject
*swig_obj
[1] ;
30455 if (!args
) SWIG_fail
;
30456 swig_obj
[0] = args
;
30457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30458 if (!SWIG_IsOK(res1
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30461 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= wxPyMake_wxObject(result
, 0);
30477 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
= 0;
30479 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30480 wxFrame
*arg2
= (wxFrame
*) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 char * kwnames
[] = {
30488 (char *) "self",(char *) "frame", NULL
30491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30496 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30498 if (!SWIG_IsOK(res2
)) {
30499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30501 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 (arg1
)->SetFrame(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_Py_Void();
30515 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
= 0;
30517 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30518 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 char * kwnames
[] = {
30526 (char *) "self",(char *) "canvas", NULL
30529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30531 if (!SWIG_IsOK(res1
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30534 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30536 if (!SWIG_IsOK(res2
)) {
30537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30539 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 (arg1
)->SetCanvas(arg2
);
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= SWIG_Py_Void();
30553 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 PyObject
*resultobj
= 0;
30555 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30556 wxFrame
*result
= 0 ;
30559 PyObject
*swig_obj
[1] ;
30561 if (!args
) SWIG_fail
;
30562 swig_obj
[0] = args
;
30563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30567 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= (wxFrame
*)(arg1
)->GetFrame();
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= wxPyMake_wxObject(result
, 0);
30583 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30584 PyObject
*resultobj
= 0;
30585 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30586 wxPreviewCanvas
*result
= 0 ;
30589 PyObject
*swig_obj
[1] ;
30591 if (!args
) SWIG_fail
;
30592 swig_obj
[0] = args
;
30593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30597 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30611 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
= 0;
30613 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30614 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30623 PyObject
* obj0
= 0 ;
30624 PyObject
* obj1
= 0 ;
30625 PyObject
* obj2
= 0 ;
30626 char * kwnames
[] = {
30627 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30632 if (!SWIG_IsOK(res1
)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30635 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30637 if (!SWIG_IsOK(res2
)) {
30638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30640 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30642 if (!SWIG_IsOK(res3
)) {
30643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30648 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30664 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
= 0;
30666 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30667 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30676 PyObject
* obj0
= 0 ;
30677 PyObject
* obj1
= 0 ;
30678 PyObject
* obj2
= 0 ;
30679 char * kwnames
[] = {
30680 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30685 if (!SWIG_IsOK(res1
)) {
30686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30688 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30690 if (!SWIG_IsOK(res2
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30693 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30694 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30695 if (!SWIG_IsOK(res3
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30701 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30717 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
= 0;
30719 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30726 PyObject
* obj0
= 0 ;
30727 PyObject
* obj1
= 0 ;
30728 char * kwnames
[] = {
30729 (char *) "self",(char *) "pageNum", NULL
30732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30734 if (!SWIG_IsOK(res1
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30737 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30739 if (!SWIG_IsOK(ecode2
)) {
30740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30742 arg2
= static_cast< int >(val2
);
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= (bool)(arg1
)->RenderPage(arg2
);
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30758 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
= 0;
30760 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30761 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30766 PyObject
* obj0
= 0 ;
30767 PyObject
* obj1
= 0 ;
30768 char * kwnames
[] = {
30769 (char *) "self",(char *) "canvas", NULL
30772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30777 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30779 if (!SWIG_IsOK(res2
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30782 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30785 (arg1
)->AdjustScrollbars(arg2
);
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= SWIG_Py_Void();
30796 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30797 PyObject
*resultobj
= 0;
30798 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30799 wxPrintDialogData
*result
= 0 ;
30802 PyObject
*swig_obj
[1] ;
30804 if (!args
) SWIG_fail
;
30805 swig_obj
[0] = args
;
30806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30807 if (!SWIG_IsOK(res1
)) {
30808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30810 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30815 result
= (wxPrintDialogData
*) &_result_ref
;
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30827 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30828 PyObject
*resultobj
= 0;
30829 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30835 PyObject
* obj0
= 0 ;
30836 PyObject
* obj1
= 0 ;
30837 char * kwnames
[] = {
30838 (char *) "self",(char *) "percent", NULL
30841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30846 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30848 if (!SWIG_IsOK(ecode2
)) {
30849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30851 arg2
= static_cast< int >(val2
);
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 (arg1
)->SetZoom(arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_Py_Void();
30865 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30866 PyObject
*resultobj
= 0;
30867 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30871 PyObject
*swig_obj
[1] ;
30873 if (!args
) SWIG_fail
;
30874 swig_obj
[0] = args
;
30875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30876 if (!SWIG_IsOK(res1
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30879 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 result
= (int)(arg1
)->GetZoom();
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= SWIG_From_int(static_cast< int >(result
));
30893 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30894 PyObject
*resultobj
= 0;
30895 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30899 PyObject
*swig_obj
[1] ;
30901 if (!args
) SWIG_fail
;
30902 swig_obj
[0] = args
;
30903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30904 if (!SWIG_IsOK(res1
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30907 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 result
= (int)(arg1
)->GetMaxPage();
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_From_int(static_cast< int >(result
));
30921 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30922 PyObject
*resultobj
= 0;
30923 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30927 PyObject
*swig_obj
[1] ;
30929 if (!args
) SWIG_fail
;
30930 swig_obj
[0] = args
;
30931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30932 if (!SWIG_IsOK(res1
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30935 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (int)(arg1
)->GetMinPage();
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= SWIG_From_int(static_cast< int >(result
));
30949 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30950 PyObject
*resultobj
= 0;
30951 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30955 PyObject
*swig_obj
[1] ;
30957 if (!args
) SWIG_fail
;
30958 swig_obj
[0] = args
;
30959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30960 if (!SWIG_IsOK(res1
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30963 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 result
= (bool)(arg1
)->IsOk();
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30979 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
= 0;
30981 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 char * kwnames
[] = {
30990 (char *) "self",(char *) "ok", NULL
30993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30995 if (!SWIG_IsOK(res1
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30998 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30999 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31000 if (!SWIG_IsOK(ecode2
)) {
31001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31003 arg2
= static_cast< bool >(val2
);
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 (arg1
)->SetOk(arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= SWIG_Py_Void();
31017 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
= 0;
31019 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char * kwnames
[] = {
31029 (char *) "self",(char *) "interactive", NULL
31032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31034 if (!SWIG_IsOK(res1
)) {
31035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31037 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31038 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31039 if (!SWIG_IsOK(ecode2
)) {
31040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31042 arg2
= static_cast< bool >(val2
);
31044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31045 result
= (bool)(arg1
)->Print(arg2
);
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31058 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31059 PyObject
*resultobj
= 0;
31060 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31063 PyObject
*swig_obj
[1] ;
31065 if (!args
) SWIG_fail
;
31066 swig_obj
[0] = args
;
31067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31068 if (!SWIG_IsOK(res1
)) {
31069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31071 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 (arg1
)->DetermineScaling();
31075 wxPyEndAllowThreads(__tstate
);
31076 if (PyErr_Occurred()) SWIG_fail
;
31078 resultobj
= SWIG_Py_Void();
31085 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31088 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
31089 return SWIG_Py_Void();
31092 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31093 return SWIG_Python_InitShadowInstance(args
);
31096 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31097 PyObject
*resultobj
= 0;
31098 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31099 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31100 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
31101 wxPyPrintPreview
*result
= 0 ;
31107 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
31108 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31109 if (!SWIG_IsOK(res1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31112 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31113 if (!SWIG_IsOK(res2
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31117 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
31118 if (!SWIG_IsOK(res3
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31121 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
31124 if (!wxPyCheckForApp()) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31137 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31138 PyObject
*resultobj
= 0;
31139 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31140 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31141 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31142 wxPyPrintPreview
*result
= 0 ;
31148 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31149 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31153 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31154 if (!SWIG_IsOK(res2
)) {
31155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31157 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31158 if (!SWIG_IsOK(res3
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31161 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31163 if (!wxPyCheckForApp()) SWIG_fail
;
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31176 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31180 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31182 if ((argc
>= 2) && (argc
<= 3)) {
31187 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31188 _v
= SWIG_CheckState(res
);
31190 if (!_v
) goto check_1
;
31192 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31197 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31201 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31206 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31207 PyObject
*resultobj
= 0;
31208 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31209 PyObject
*arg2
= (PyObject
*) 0 ;
31210 PyObject
*arg3
= (PyObject
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 PyObject
* obj2
= 0 ;
31216 char * kwnames
[] = {
31217 (char *) "self",(char *) "self",(char *) "_class", NULL
31220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31222 if (!SWIG_IsOK(res1
)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31225 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_Py_Void();
31241 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31244 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31245 return SWIG_Py_Void();
31248 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31249 return SWIG_Python_InitShadowInstance(args
);
31252 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
= 0;
31254 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31255 wxFrame
*arg2
= (wxFrame
*) 0 ;
31256 wxString
*arg3
= 0 ;
31257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31261 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31262 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31264 wxPyPreviewFrame
*result
= 0 ;
31268 bool temp3
= false ;
31273 bool temp7
= false ;
31274 PyObject
* obj0
= 0 ;
31275 PyObject
* obj1
= 0 ;
31276 PyObject
* obj2
= 0 ;
31277 PyObject
* obj3
= 0 ;
31278 PyObject
* obj4
= 0 ;
31279 PyObject
* obj5
= 0 ;
31280 PyObject
* obj6
= 0 ;
31281 char * kwnames
[] = {
31282 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31286 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31287 if (!SWIG_IsOK(res1
)) {
31288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31291 if (!SWIG_IsOK(res2
)) {
31292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31294 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31296 arg3
= wxString_in_helper(obj2
);
31297 if (arg3
== NULL
) SWIG_fail
;
31303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31313 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31314 if (!SWIG_IsOK(ecode6
)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31317 arg6
= static_cast< long >(val6
);
31321 arg7
= wxString_in_helper(obj6
);
31322 if (arg7
== NULL
) SWIG_fail
;
31327 if (!wxPyCheckForApp()) SWIG_fail
;
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31356 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
= 0;
31358 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31359 PyObject
*arg2
= (PyObject
*) 0 ;
31360 PyObject
*arg3
= (PyObject
*) 0 ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 PyObject
* obj2
= 0 ;
31366 char * kwnames
[] = {
31367 (char *) "self",(char *) "self",(char *) "_class", NULL
31370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31372 if (!SWIG_IsOK(res1
)) {
31373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31375 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31384 resultobj
= SWIG_Py_Void();
31391 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31392 PyObject
*resultobj
= 0;
31393 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31394 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31399 PyObject
* obj0
= 0 ;
31400 PyObject
* obj1
= 0 ;
31401 char * kwnames
[] = {
31402 (char *) "self",(char *) "canvas", NULL
31405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31407 if (!SWIG_IsOK(res1
)) {
31408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31410 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31412 if (!SWIG_IsOK(res2
)) {
31413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31415 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 (arg1
)->SetPreviewCanvas(arg2
);
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= SWIG_Py_Void();
31429 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31430 PyObject
*resultobj
= 0;
31431 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31432 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31437 PyObject
* obj0
= 0 ;
31438 PyObject
* obj1
= 0 ;
31439 char * kwnames
[] = {
31440 (char *) "self",(char *) "bar", NULL
31443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31445 if (!SWIG_IsOK(res1
)) {
31446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31448 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31450 if (!SWIG_IsOK(res2
)) {
31451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31453 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 (arg1
)->SetControlBar(arg2
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31460 resultobj
= SWIG_Py_Void();
31467 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31468 PyObject
*resultobj
= 0;
31469 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31472 PyObject
*swig_obj
[1] ;
31474 if (!args
) SWIG_fail
;
31475 swig_obj
[0] = args
;
31476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31477 if (!SWIG_IsOK(res1
)) {
31478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31480 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 (arg1
)->Initialize();
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= SWIG_Py_Void();
31494 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31495 PyObject
*resultobj
= 0;
31496 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31499 PyObject
*swig_obj
[1] ;
31501 if (!args
) SWIG_fail
;
31502 swig_obj
[0] = args
;
31503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31504 if (!SWIG_IsOK(res1
)) {
31505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31507 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31510 (arg1
)->CreateCanvas();
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 resultobj
= SWIG_Py_Void();
31521 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31522 PyObject
*resultobj
= 0;
31523 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31526 PyObject
*swig_obj
[1] ;
31528 if (!args
) SWIG_fail
;
31529 swig_obj
[0] = args
;
31530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31534 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31537 (arg1
)->CreateControlBar();
31538 wxPyEndAllowThreads(__tstate
);
31539 if (PyErr_Occurred()) SWIG_fail
;
31541 resultobj
= SWIG_Py_Void();
31548 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31551 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31552 return SWIG_Py_Void();
31555 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31556 return SWIG_Python_InitShadowInstance(args
);
31559 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31560 PyObject
*resultobj
= 0;
31561 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31563 wxWindow
*arg3
= (wxWindow
*) 0 ;
31564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31568 long arg6
= (long) 0 ;
31569 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31570 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31571 wxPyPreviewControlBar
*result
= 0 ;
31581 bool temp7
= false ;
31582 PyObject
* obj0
= 0 ;
31583 PyObject
* obj1
= 0 ;
31584 PyObject
* obj2
= 0 ;
31585 PyObject
* obj3
= 0 ;
31586 PyObject
* obj4
= 0 ;
31587 PyObject
* obj5
= 0 ;
31588 PyObject
* obj6
= 0 ;
31589 char * kwnames
[] = {
31590 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31594 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31595 if (!SWIG_IsOK(res1
)) {
31596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31599 if (!SWIG_IsOK(ecode2
)) {
31600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31602 arg2
= static_cast< long >(val2
);
31603 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31604 if (!SWIG_IsOK(res3
)) {
31605 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31607 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31621 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31622 if (!SWIG_IsOK(ecode6
)) {
31623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31625 arg6
= static_cast< long >(val6
);
31629 arg7
= wxString_in_helper(obj6
);
31630 if (arg7
== NULL
) SWIG_fail
;
31635 if (!wxPyCheckForApp()) SWIG_fail
;
31636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31637 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31656 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
= 0;
31658 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31659 PyObject
*arg2
= (PyObject
*) 0 ;
31660 PyObject
*arg3
= (PyObject
*) 0 ;
31663 PyObject
* obj0
= 0 ;
31664 PyObject
* obj1
= 0 ;
31665 PyObject
* obj2
= 0 ;
31666 char * kwnames
[] = {
31667 (char *) "self",(char *) "self",(char *) "_class", NULL
31670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31672 if (!SWIG_IsOK(res1
)) {
31673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31675 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= SWIG_Py_Void();
31691 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31692 PyObject
*resultobj
= 0;
31693 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31694 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 PyObject
* obj1
= 0 ;
31700 char * kwnames
[] = {
31701 (char *) "self",(char *) "preview", NULL
31704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31706 if (!SWIG_IsOK(res1
)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31709 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31710 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31711 if (!SWIG_IsOK(res2
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 (arg1
)->SetPrintPreview(arg2
);
31717 wxPyEndAllowThreads(__tstate
);
31718 if (PyErr_Occurred()) SWIG_fail
;
31720 resultobj
= SWIG_Py_Void();
31727 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31728 PyObject
*resultobj
= 0;
31729 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31732 PyObject
*swig_obj
[1] ;
31734 if (!args
) SWIG_fail
;
31735 swig_obj
[0] = args
;
31736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31740 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 (arg1
)->CreateButtons();
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_Py_Void();
31754 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
= 0;
31756 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31762 PyObject
* obj0
= 0 ;
31763 PyObject
* obj1
= 0 ;
31764 char * kwnames
[] = {
31765 (char *) "self",(char *) "zoom", NULL
31768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31770 if (!SWIG_IsOK(res1
)) {
31771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31773 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31775 if (!SWIG_IsOK(ecode2
)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31778 arg2
= static_cast< int >(val2
);
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 (arg1
)->SetZoomControl(arg2
);
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31785 resultobj
= SWIG_Py_Void();
31792 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31795 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31796 return SWIG_Py_Void();
31799 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31800 return SWIG_Python_InitShadowInstance(args
);
31803 static PyMethodDef SwigMethods
[] = {
31804 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31806 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31808 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31810 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31811 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31813 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31820 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31822 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31824 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31825 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31826 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31827 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31828 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31831 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31834 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31835 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31837 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31839 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31840 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31841 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31842 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31846 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31848 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31852 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31854 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31856 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31859 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31860 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31862 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31864 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31866 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31869 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31876 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31878 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31883 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31884 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31886 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31889 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31891 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31893 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31898 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31899 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31902 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31903 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31905 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31907 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31908 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31911 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31912 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31913 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31915 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31916 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31917 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31918 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31919 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31921 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31924 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31933 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31934 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31936 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31937 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31939 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31941 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31942 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31944 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31950 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31951 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31954 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31955 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31957 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31959 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31961 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31963 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31965 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31968 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31971 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31972 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31973 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31974 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31975 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31976 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31978 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31986 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31988 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31991 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31992 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31995 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31996 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31998 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
32000 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
32003 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
32005 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
32007 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
32008 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
32009 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
32012 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
32014 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
32016 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
32018 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
32020 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
32022 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
32025 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
32027 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
32028 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
32029 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
32031 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
32033 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
32034 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
32039 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
32040 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
32041 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
32045 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
32046 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
32048 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
32051 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
32052 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
32054 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
32057 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
32058 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
32059 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
32062 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
32063 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
32064 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
32066 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
32075 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
32076 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
32077 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
32078 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
32080 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
32081 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32084 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32085 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
32087 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
32090 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
32091 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
32092 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
32095 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
32096 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
32098 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
32099 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
32101 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
32106 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
32107 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
32113 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
32114 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
32116 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
32120 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32122 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32123 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
32125 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32127 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32128 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
32129 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
32130 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
32132 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
32133 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
32134 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
32136 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
32138 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32139 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32142 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32143 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32144 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32145 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32146 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32151 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32152 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32154 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32155 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32156 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32159 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32160 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32163 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32164 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32172 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32173 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32174 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32175 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32176 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32177 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32178 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32179 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32180 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32181 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32184 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32185 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32186 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32188 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32189 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32191 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32192 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32194 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32196 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32197 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32199 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32200 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32202 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32203 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32204 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32205 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32206 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32208 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32209 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32210 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32211 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32212 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32213 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32220 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32221 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32223 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32224 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32225 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32228 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32229 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32233 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32234 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32235 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32237 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32238 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32239 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32240 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32244 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32245 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32247 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32248 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32249 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32250 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32254 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32255 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32257 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32259 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32261 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32262 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32264 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32266 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32267 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32268 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32269 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32270 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32271 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32273 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32274 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32276 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32278 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32279 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32280 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32282 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32284 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32285 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32287 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32294 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32295 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32296 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32297 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32298 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32299 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32300 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32301 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32302 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32304 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32311 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32312 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32313 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32314 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32315 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32316 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32317 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32318 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32319 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32321 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32328 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32329 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32330 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32331 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32332 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32333 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32334 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32335 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32336 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32337 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32338 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32339 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32340 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32341 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32342 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32343 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32344 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32345 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32346 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32347 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32348 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32349 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32350 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32351 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32352 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32366 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32368 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32370 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32371 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32372 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32373 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32379 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32380 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32381 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32382 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32383 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32384 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32385 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32386 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32387 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32388 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32389 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32390 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32391 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32392 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32393 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32403 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32404 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32405 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32406 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32408 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32409 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32410 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32411 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32412 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32413 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32414 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32415 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32416 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32417 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32418 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32419 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32420 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32421 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32422 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32423 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32424 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32438 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32439 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32440 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32441 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32442 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32443 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32445 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32446 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32448 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32449 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32450 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32451 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32452 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32453 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32454 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32456 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32462 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32463 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32464 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32465 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32466 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32468 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32470 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32471 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32476 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32477 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32479 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32480 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32481 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32486 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32488 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32490 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32492 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32494 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32495 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32498 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32499 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32500 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32501 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32503 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32504 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32505 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32507 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32508 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32510 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32511 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32512 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32513 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32514 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32515 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32517 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32519 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32520 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32521 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32522 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32523 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32524 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32525 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32526 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32527 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32528 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32530 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32532 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32533 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32536 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32537 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32542 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32544 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32545 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32546 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32547 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32550 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32551 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32552 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32553 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32555 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32556 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32561 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32562 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32563 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32564 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32565 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32569 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32571 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32572 { NULL
, NULL
, 0, NULL
}
32576 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32578 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32579 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32581 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32582 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32584 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32585 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32587 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32588 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32590 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32591 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32593 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32594 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32596 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32597 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32599 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32600 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32602 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32603 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32605 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32608 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32611 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32614 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32615 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32617 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32618 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32620 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32621 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32623 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32624 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32626 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32629 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32630 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32632 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32633 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32635 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32636 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32638 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32639 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32641 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32642 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32644 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32645 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32647 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32650 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32651 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32653 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32654 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32656 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32659 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32660 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32662 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32663 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32665 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32666 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32668 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32669 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32671 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32672 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32674 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32675 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32677 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32678 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32680 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32683 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32686 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32687 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32689 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32690 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32692 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32693 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32695 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32698 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32701 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32702 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32704 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32705 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32707 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32708 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32710 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32711 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32713 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32714 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32716 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32717 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32719 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32720 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32722 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32723 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32725 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32728 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32731 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
32732 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
32734 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32737 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32738 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32740 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32741 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32743 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32744 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32746 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32747 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32749 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32752 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32755 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32758 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32761 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32764 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32767 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32770 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32773 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32776 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32777 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32779 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32780 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32782 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32785 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32788 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32791 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32792 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32794 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32797 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32798 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32800 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32801 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32803 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32804 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32806 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32807 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32809 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32812 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32815 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32816 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32818 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32821 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32822 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32824 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32827 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32830 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32833 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32834 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32836 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32839 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32842 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32845 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32848 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32851 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32854 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32857 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32860 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32861 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32863 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32866 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32869 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32872 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32875 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32878 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32881 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32882 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32884 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32885 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32887 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32888 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32890 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32891 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32893 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32894 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32896 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32897 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32899 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32900 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32902 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32903 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32905 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32906 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32908 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32909 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32911 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32914 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32917 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
32920 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32923 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32926 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32929 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32932 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32935 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32938 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32941 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32944 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) ((wxSizer
*) x
));
32947 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32950 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32953 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32956 static void *_p_wxEventTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) ((wxEvent
*) x
));
32959 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) ((wxFontData
*) x
));
32962 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32965 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32968 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32971 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32974 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32977 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32980 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32983 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32986 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32989 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32992 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32995 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32998 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33001 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33004 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33007 static void *_p_wxControlTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33010 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33013 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33016 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33019 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33022 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33025 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33028 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) ((wxColourData
*) x
));
33031 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33034 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33037 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33040 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33043 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33046 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33049 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33052 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33055 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33058 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33061 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33064 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33067 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33070 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33073 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33076 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33079 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33082 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33085 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33088 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33091 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33094 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33097 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33100 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33103 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33106 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33109 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33112 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33115 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33118 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33121 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33124 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33127 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33130 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33133 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33136 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33142 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33145 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33148 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33151 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33154 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33157 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33160 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33163 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33166 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33169 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33172 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33175 static void *_p_wxImageTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) ((wxImage
*) x
));
33178 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33181 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33184 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33187 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33190 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33193 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33196 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33199 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33202 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33205 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33208 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33211 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33214 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33217 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33220 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33223 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33226 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33229 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33232 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33235 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33238 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33241 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33244 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33247 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33250 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33253 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33256 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33259 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33262 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33265 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33268 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33271 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33274 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33277 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33280 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33283 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33286 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33289 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33292 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33295 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33298 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33301 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33304 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33307 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33310 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33313 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33316 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33319 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33322 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33325 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33326 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33328 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33329 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33331 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33334 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33335 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33337 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33338 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33340 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33341 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33343 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33344 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33346 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33347 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33349 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33350 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33352 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33353 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33355 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33356 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33358 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33359 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33361 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33362 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33364 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33365 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33367 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33368 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33370 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33371 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33373 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33374 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33376 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33377 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33379 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33380 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33382 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33383 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33385 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33386 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33388 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33389 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33391 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33392 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33394 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33395 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33397 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33398 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33400 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33401 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33403 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33404 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33406 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33407 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33409 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33410 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33412 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33413 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33415 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33416 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33418 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33419 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33421 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33422 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33424 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33425 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33427 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33428 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33430 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33431 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33433 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33434 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33436 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33437 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33439 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33442 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33445 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33446 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33448 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33449 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33451 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33452 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33454 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33455 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33457 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33458 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33460 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33461 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33463 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33464 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33466 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33467 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33469 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33470 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33472 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33473 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33475 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33476 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33478 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33479 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33481 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33482 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33484 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33485 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33487 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33488 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33490 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33491 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33493 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33494 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33496 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33497 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33499 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33500 return (void *)((wxWindow
*) ((wxControl
*) x
));
33502 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33503 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33505 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33506 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33508 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33509 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33511 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33512 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33514 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33515 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33517 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33518 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33520 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33521 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33523 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33524 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33526 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33527 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33529 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33530 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33532 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33533 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33535 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33536 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33538 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33541 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33544 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33547 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33548 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33550 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33553 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33554 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33556 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33557 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33559 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33560 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33562 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33563 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33565 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33566 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33568 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33569 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33571 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33572 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33574 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33575 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33577 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33578 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33580 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33581 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33583 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33584 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33586 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33587 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33589 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33590 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33592 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33593 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33595 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33596 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33598 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33599 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33601 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33602 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33604 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33605 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33607 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33608 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33610 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33611 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33613 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33614 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33616 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33617 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33619 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33620 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33622 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33623 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33625 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33626 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33628 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33629 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33631 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33632 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33634 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33635 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33637 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33638 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33640 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33641 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33643 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33644 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33646 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33647 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33649 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33650 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33652 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33653 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33655 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33656 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33659 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33661 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33662 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33664 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33665 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33667 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33668 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33670 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33672 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};
33673 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33679 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33680 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33681 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33682 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33683 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33684 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33685 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33686 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33687 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33688 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33689 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33690 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33691 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33692 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33693 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33694 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33695 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33696 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33697 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33698 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33699 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33700 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33701 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33702 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33703 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33704 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33705 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33706 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33707 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33708 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33709 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33710 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33711 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33712 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33713 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33714 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33715 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33716 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33717 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33718 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33719 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33720 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33721 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33722 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33723 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33724 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33725 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33726 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33727 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33728 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33729 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33730 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33731 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33732 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33733 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33734 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33735 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33736 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33737 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33738 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33739 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33740 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33741 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33742 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33743 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33744 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33746 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33747 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33748 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33749 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33750 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33751 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33752 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33753 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33754 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33755 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33756 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33757 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33758 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33759 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33760 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33761 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33762 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33763 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33764 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33765 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33766 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33767 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33768 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33769 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33770 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33771 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33772 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33773 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33774 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33775 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33776 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33777 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33778 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33779 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33780 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33781 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33782 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33783 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33784 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33785 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33786 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33787 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33788 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33789 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33790 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33791 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33792 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33793 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33794 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33795 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33796 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33797 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33798 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33799 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33801 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33802 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33829 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33830 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33831 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33832 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33833 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33834 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33835 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33836 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33837 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33838 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33839 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33841 static swig_type_info
*swig_type_initial
[] = {
33844 &_swigt__p_form_ops_t
,
33846 &_swigt__p_unsigned_char
,
33847 &_swigt__p_unsigned_int
,
33848 &_swigt__p_unsigned_long
,
33849 &_swigt__p_wxANIHandler
,
33850 &_swigt__p_wxAcceleratorTable
,
33851 &_swigt__p_wxActivateEvent
,
33852 &_swigt__p_wxArrayInt
,
33853 &_swigt__p_wxArrayString
,
33854 &_swigt__p_wxBMPHandler
,
33855 &_swigt__p_wxBitmap
,
33856 &_swigt__p_wxBoxSizer
,
33857 &_swigt__p_wxCURHandler
,
33858 &_swigt__p_wxCalculateLayoutEvent
,
33859 &_swigt__p_wxChildFocusEvent
,
33860 &_swigt__p_wxClipboardTextEvent
,
33861 &_swigt__p_wxCloseEvent
,
33862 &_swigt__p_wxColour
,
33863 &_swigt__p_wxColourData
,
33864 &_swigt__p_wxColourDialog
,
33865 &_swigt__p_wxCommandEvent
,
33866 &_swigt__p_wxContextMenuEvent
,
33867 &_swigt__p_wxControl
,
33868 &_swigt__p_wxControlWithItems
,
33870 &_swigt__p_wxDateEvent
,
33871 &_swigt__p_wxDialog
,
33872 &_swigt__p_wxDirDialog
,
33873 &_swigt__p_wxDisplayChangedEvent
,
33874 &_swigt__p_wxDropFilesEvent
,
33875 &_swigt__p_wxDuplexMode
,
33876 &_swigt__p_wxEraseEvent
,
33877 &_swigt__p_wxEvent
,
33878 &_swigt__p_wxEventBlocker
,
33879 &_swigt__p_wxEvtHandler
,
33880 &_swigt__p_wxFSFile
,
33881 &_swigt__p_wxFileDialog
,
33882 &_swigt__p_wxFileSystem
,
33883 &_swigt__p_wxFindDialogEvent
,
33884 &_swigt__p_wxFindReplaceData
,
33885 &_swigt__p_wxFindReplaceDialog
,
33886 &_swigt__p_wxFlexGridSizer
,
33887 &_swigt__p_wxFocusEvent
,
33889 &_swigt__p_wxFontData
,
33890 &_swigt__p_wxFontDialog
,
33891 &_swigt__p_wxFrame
,
33892 &_swigt__p_wxGBSizerItem
,
33893 &_swigt__p_wxGIFHandler
,
33894 &_swigt__p_wxGridBagSizer
,
33895 &_swigt__p_wxGridSizer
,
33896 &_swigt__p_wxHtmlLinkInfo
,
33897 &_swigt__p_wxICOHandler
,
33899 &_swigt__p_wxIconBundle
,
33900 &_swigt__p_wxIconizeEvent
,
33901 &_swigt__p_wxIdleEvent
,
33902 &_swigt__p_wxImage
,
33903 &_swigt__p_wxImageHandler
,
33904 &_swigt__p_wxIndividualLayoutConstraint
,
33905 &_swigt__p_wxInitDialogEvent
,
33906 &_swigt__p_wxItemContainer
,
33907 &_swigt__p_wxJPEGHandler
,
33908 &_swigt__p_wxKeyEvent
,
33909 &_swigt__p_wxLayoutAlgorithm
,
33910 &_swigt__p_wxLayoutConstraints
,
33911 &_swigt__p_wxMDIChildFrame
,
33912 &_swigt__p_wxMDIClientWindow
,
33913 &_swigt__p_wxMDIParentFrame
,
33914 &_swigt__p_wxMaximizeEvent
,
33916 &_swigt__p_wxMenuBar
,
33917 &_swigt__p_wxMenuEvent
,
33918 &_swigt__p_wxMenuItem
,
33919 &_swigt__p_wxMessageDialog
,
33920 &_swigt__p_wxMiniFrame
,
33921 &_swigt__p_wxMouseCaptureChangedEvent
,
33922 &_swigt__p_wxMouseCaptureLostEvent
,
33923 &_swigt__p_wxMouseEvent
,
33924 &_swigt__p_wxMoveEvent
,
33925 &_swigt__p_wxMultiChoiceDialog
,
33926 &_swigt__p_wxNavigationKeyEvent
,
33927 &_swigt__p_wxNcPaintEvent
,
33928 &_swigt__p_wxNotifyEvent
,
33929 &_swigt__p_wxNumberEntryDialog
,
33930 &_swigt__p_wxObject
,
33931 &_swigt__p_wxPCXHandler
,
33932 &_swigt__p_wxPNGHandler
,
33933 &_swigt__p_wxPNMHandler
,
33934 &_swigt__p_wxPageSetupDialog
,
33935 &_swigt__p_wxPageSetupDialogData
,
33936 &_swigt__p_wxPaintEvent
,
33937 &_swigt__p_wxPaletteChangedEvent
,
33938 &_swigt__p_wxPanel
,
33939 &_swigt__p_wxPaperSize
,
33940 &_swigt__p_wxPasswordEntryDialog
,
33941 &_swigt__p_wxPoint
,
33942 &_swigt__p_wxPopupWindow
,
33943 &_swigt__p_wxPreviewCanvas
,
33944 &_swigt__p_wxPreviewControlBar
,
33945 &_swigt__p_wxPreviewFrame
,
33946 &_swigt__p_wxPrintData
,
33947 &_swigt__p_wxPrintDialog
,
33948 &_swigt__p_wxPrintDialogData
,
33949 &_swigt__p_wxPrintPreview
,
33950 &_swigt__p_wxPrinter
,
33951 &_swigt__p_wxProgressDialog
,
33952 &_swigt__p_wxPyApp
,
33953 &_swigt__p_wxPyCommandEvent
,
33954 &_swigt__p_wxPyEvent
,
33955 &_swigt__p_wxPyHtmlListBox
,
33956 &_swigt__p_wxPyImageHandler
,
33957 &_swigt__p_wxPyPanel
,
33958 &_swigt__p_wxPyPopupTransientWindow
,
33959 &_swigt__p_wxPyPreviewControlBar
,
33960 &_swigt__p_wxPyPreviewFrame
,
33961 &_swigt__p_wxPyPrintPreview
,
33962 &_swigt__p_wxPyPrintout
,
33963 &_swigt__p_wxPyScrolledWindow
,
33964 &_swigt__p_wxPySizer
,
33965 &_swigt__p_wxPyTaskBarIcon
,
33966 &_swigt__p_wxPyVListBox
,
33967 &_swigt__p_wxPyVScrolledWindow
,
33968 &_swigt__p_wxPyValidator
,
33969 &_swigt__p_wxPyWindow
,
33970 &_swigt__p_wxQueryLayoutInfoEvent
,
33971 &_swigt__p_wxQueryNewPaletteEvent
,
33973 &_swigt__p_wxRegion
,
33974 &_swigt__p_wxSashEvent
,
33975 &_swigt__p_wxSashLayoutWindow
,
33976 &_swigt__p_wxSashWindow
,
33977 &_swigt__p_wxScrollEvent
,
33978 &_swigt__p_wxScrollWinEvent
,
33979 &_swigt__p_wxScrolledWindow
,
33980 &_swigt__p_wxSetCursorEvent
,
33981 &_swigt__p_wxShowEvent
,
33982 &_swigt__p_wxSimpleHtmlListBox
,
33983 &_swigt__p_wxSingleChoiceDialog
,
33985 &_swigt__p_wxSizeEvent
,
33986 &_swigt__p_wxSizer
,
33987 &_swigt__p_wxSizerItem
,
33988 &_swigt__p_wxSplashScreen
,
33989 &_swigt__p_wxSplashScreenWindow
,
33990 &_swigt__p_wxSplitterEvent
,
33991 &_swigt__p_wxSplitterWindow
,
33992 &_swigt__p_wxStaticBoxSizer
,
33993 &_swigt__p_wxStatusBar
,
33994 &_swigt__p_wxStdDialogButtonSizer
,
33995 &_swigt__p_wxString
,
33996 &_swigt__p_wxSysColourChangedEvent
,
33997 &_swigt__p_wxTGAHandler
,
33998 &_swigt__p_wxTIFFHandler
,
33999 &_swigt__p_wxTaskBarIcon
,
34000 &_swigt__p_wxTaskBarIconEvent
,
34001 &_swigt__p_wxTextEntryDialog
,
34002 &_swigt__p_wxTipWindow
,
34003 &_swigt__p_wxToolBar
,
34004 &_swigt__p_wxTopLevelWindow
,
34005 &_swigt__p_wxUpdateUIEvent
,
34006 &_swigt__p_wxValidator
,
34007 &_swigt__p_wxVisualAttributes
,
34008 &_swigt__p_wxWindow
,
34009 &_swigt__p_wxWindowCreateEvent
,
34010 &_swigt__p_wxWindowDestroyEvent
,
34011 &_swigt__p_wxXPMHandler
,
34014 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
34025 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34026 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
34027 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34029 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34035 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34036 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34037 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}};
34038 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34039 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}};
34040 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
34041 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34045 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34047 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34048 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34049 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
34050 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34051 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34052 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34053 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34054 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34055 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34056 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34057 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34058 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34059 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34060 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34061 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34062 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34063 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34064 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34065 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34066 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34067 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34068 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}};
34069 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
34070 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34071 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34072 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34073 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34074 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}};
34075 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
34076 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34077 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34078 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
34079 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34080 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34081 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
34082 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
34083 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}};
34084 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
34085 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34086 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
34087 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}};
34088 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34097 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}};
34098 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34100 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34101 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34102 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34103 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34115 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34116 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34119 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34120 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34122 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34123 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34124 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34125 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
34126 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34127 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34128 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}};
34129 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
34130 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34131 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}};
34132 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34133 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34134 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34135 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}};
34136 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
34137 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}};
34138 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}};
34139 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34142 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}};
34143 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34145 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}};
34146 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34147 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}};
34148 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34154 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}};
34155 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}};
34156 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34162 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}};
34163 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34164 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}};
34165 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34166 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34172 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34174 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34176 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34177 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}};
34178 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34180 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}};
34181 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}};
34182 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34183 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}};
34185 static swig_cast_info
*swig_cast_initial
[] = {
34188 _swigc__p_form_ops_t
,
34190 _swigc__p_unsigned_char
,
34191 _swigc__p_unsigned_int
,
34192 _swigc__p_unsigned_long
,
34193 _swigc__p_wxANIHandler
,
34194 _swigc__p_wxAcceleratorTable
,
34195 _swigc__p_wxActivateEvent
,
34196 _swigc__p_wxArrayInt
,
34197 _swigc__p_wxArrayString
,
34198 _swigc__p_wxBMPHandler
,
34199 _swigc__p_wxBitmap
,
34200 _swigc__p_wxBoxSizer
,
34201 _swigc__p_wxCURHandler
,
34202 _swigc__p_wxCalculateLayoutEvent
,
34203 _swigc__p_wxChildFocusEvent
,
34204 _swigc__p_wxClipboardTextEvent
,
34205 _swigc__p_wxCloseEvent
,
34206 _swigc__p_wxColour
,
34207 _swigc__p_wxColourData
,
34208 _swigc__p_wxColourDialog
,
34209 _swigc__p_wxCommandEvent
,
34210 _swigc__p_wxContextMenuEvent
,
34211 _swigc__p_wxControl
,
34212 _swigc__p_wxControlWithItems
,
34214 _swigc__p_wxDateEvent
,
34215 _swigc__p_wxDialog
,
34216 _swigc__p_wxDirDialog
,
34217 _swigc__p_wxDisplayChangedEvent
,
34218 _swigc__p_wxDropFilesEvent
,
34219 _swigc__p_wxDuplexMode
,
34220 _swigc__p_wxEraseEvent
,
34222 _swigc__p_wxEventBlocker
,
34223 _swigc__p_wxEvtHandler
,
34224 _swigc__p_wxFSFile
,
34225 _swigc__p_wxFileDialog
,
34226 _swigc__p_wxFileSystem
,
34227 _swigc__p_wxFindDialogEvent
,
34228 _swigc__p_wxFindReplaceData
,
34229 _swigc__p_wxFindReplaceDialog
,
34230 _swigc__p_wxFlexGridSizer
,
34231 _swigc__p_wxFocusEvent
,
34233 _swigc__p_wxFontData
,
34234 _swigc__p_wxFontDialog
,
34236 _swigc__p_wxGBSizerItem
,
34237 _swigc__p_wxGIFHandler
,
34238 _swigc__p_wxGridBagSizer
,
34239 _swigc__p_wxGridSizer
,
34240 _swigc__p_wxHtmlLinkInfo
,
34241 _swigc__p_wxICOHandler
,
34243 _swigc__p_wxIconBundle
,
34244 _swigc__p_wxIconizeEvent
,
34245 _swigc__p_wxIdleEvent
,
34247 _swigc__p_wxImageHandler
,
34248 _swigc__p_wxIndividualLayoutConstraint
,
34249 _swigc__p_wxInitDialogEvent
,
34250 _swigc__p_wxItemContainer
,
34251 _swigc__p_wxJPEGHandler
,
34252 _swigc__p_wxKeyEvent
,
34253 _swigc__p_wxLayoutAlgorithm
,
34254 _swigc__p_wxLayoutConstraints
,
34255 _swigc__p_wxMDIChildFrame
,
34256 _swigc__p_wxMDIClientWindow
,
34257 _swigc__p_wxMDIParentFrame
,
34258 _swigc__p_wxMaximizeEvent
,
34260 _swigc__p_wxMenuBar
,
34261 _swigc__p_wxMenuEvent
,
34262 _swigc__p_wxMenuItem
,
34263 _swigc__p_wxMessageDialog
,
34264 _swigc__p_wxMiniFrame
,
34265 _swigc__p_wxMouseCaptureChangedEvent
,
34266 _swigc__p_wxMouseCaptureLostEvent
,
34267 _swigc__p_wxMouseEvent
,
34268 _swigc__p_wxMoveEvent
,
34269 _swigc__p_wxMultiChoiceDialog
,
34270 _swigc__p_wxNavigationKeyEvent
,
34271 _swigc__p_wxNcPaintEvent
,
34272 _swigc__p_wxNotifyEvent
,
34273 _swigc__p_wxNumberEntryDialog
,
34274 _swigc__p_wxObject
,
34275 _swigc__p_wxPCXHandler
,
34276 _swigc__p_wxPNGHandler
,
34277 _swigc__p_wxPNMHandler
,
34278 _swigc__p_wxPageSetupDialog
,
34279 _swigc__p_wxPageSetupDialogData
,
34280 _swigc__p_wxPaintEvent
,
34281 _swigc__p_wxPaletteChangedEvent
,
34283 _swigc__p_wxPaperSize
,
34284 _swigc__p_wxPasswordEntryDialog
,
34286 _swigc__p_wxPopupWindow
,
34287 _swigc__p_wxPreviewCanvas
,
34288 _swigc__p_wxPreviewControlBar
,
34289 _swigc__p_wxPreviewFrame
,
34290 _swigc__p_wxPrintData
,
34291 _swigc__p_wxPrintDialog
,
34292 _swigc__p_wxPrintDialogData
,
34293 _swigc__p_wxPrintPreview
,
34294 _swigc__p_wxPrinter
,
34295 _swigc__p_wxProgressDialog
,
34297 _swigc__p_wxPyCommandEvent
,
34298 _swigc__p_wxPyEvent
,
34299 _swigc__p_wxPyHtmlListBox
,
34300 _swigc__p_wxPyImageHandler
,
34301 _swigc__p_wxPyPanel
,
34302 _swigc__p_wxPyPopupTransientWindow
,
34303 _swigc__p_wxPyPreviewControlBar
,
34304 _swigc__p_wxPyPreviewFrame
,
34305 _swigc__p_wxPyPrintPreview
,
34306 _swigc__p_wxPyPrintout
,
34307 _swigc__p_wxPyScrolledWindow
,
34308 _swigc__p_wxPySizer
,
34309 _swigc__p_wxPyTaskBarIcon
,
34310 _swigc__p_wxPyVListBox
,
34311 _swigc__p_wxPyVScrolledWindow
,
34312 _swigc__p_wxPyValidator
,
34313 _swigc__p_wxPyWindow
,
34314 _swigc__p_wxQueryLayoutInfoEvent
,
34315 _swigc__p_wxQueryNewPaletteEvent
,
34317 _swigc__p_wxRegion
,
34318 _swigc__p_wxSashEvent
,
34319 _swigc__p_wxSashLayoutWindow
,
34320 _swigc__p_wxSashWindow
,
34321 _swigc__p_wxScrollEvent
,
34322 _swigc__p_wxScrollWinEvent
,
34323 _swigc__p_wxScrolledWindow
,
34324 _swigc__p_wxSetCursorEvent
,
34325 _swigc__p_wxShowEvent
,
34326 _swigc__p_wxSimpleHtmlListBox
,
34327 _swigc__p_wxSingleChoiceDialog
,
34329 _swigc__p_wxSizeEvent
,
34331 _swigc__p_wxSizerItem
,
34332 _swigc__p_wxSplashScreen
,
34333 _swigc__p_wxSplashScreenWindow
,
34334 _swigc__p_wxSplitterEvent
,
34335 _swigc__p_wxSplitterWindow
,
34336 _swigc__p_wxStaticBoxSizer
,
34337 _swigc__p_wxStatusBar
,
34338 _swigc__p_wxStdDialogButtonSizer
,
34339 _swigc__p_wxString
,
34340 _swigc__p_wxSysColourChangedEvent
,
34341 _swigc__p_wxTGAHandler
,
34342 _swigc__p_wxTIFFHandler
,
34343 _swigc__p_wxTaskBarIcon
,
34344 _swigc__p_wxTaskBarIconEvent
,
34345 _swigc__p_wxTextEntryDialog
,
34346 _swigc__p_wxTipWindow
,
34347 _swigc__p_wxToolBar
,
34348 _swigc__p_wxTopLevelWindow
,
34349 _swigc__p_wxUpdateUIEvent
,
34350 _swigc__p_wxValidator
,
34351 _swigc__p_wxVisualAttributes
,
34352 _swigc__p_wxWindow
,
34353 _swigc__p_wxWindowCreateEvent
,
34354 _swigc__p_wxWindowDestroyEvent
,
34355 _swigc__p_wxXPMHandler
,
34359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34361 static swig_const_info swig_const_table
[] = {
34362 {0, 0, 0, 0.0, 0, 0}};
34367 /* -----------------------------------------------------------------------------
34368 * Type initialization:
34369 * This problem is tough by the requirement that no dynamic
34370 * memory is used. Also, since swig_type_info structures store pointers to
34371 * swig_cast_info structures and swig_cast_info structures store pointers back
34372 * to swig_type_info structures, we need some lookup code at initialization.
34373 * The idea is that swig generates all the structures that are needed.
34374 * The runtime then collects these partially filled structures.
34375 * The SWIG_InitializeModule function takes these initial arrays out of
34376 * swig_module, and does all the lookup, filling in the swig_module.types
34377 * array with the correct data and linking the correct swig_cast_info
34378 * structures together.
34380 * The generated swig_type_info structures are assigned staticly to an initial
34381 * array. We just loop though that array, and handle each type individually.
34382 * First we lookup if this type has been already loaded, and if so, use the
34383 * loaded structure instead of the generated one. Then we have to fill in the
34384 * cast linked list. The cast data is initially stored in something like a
34385 * two-dimensional array. Each row corresponds to a type (there are the same
34386 * number of rows as there are in the swig_type_initial array). Each entry in
34387 * a column is one of the swig_cast_info structures for that type.
34388 * The cast_initial array is actually an array of arrays, because each row has
34389 * a variable number of columns. So to actually build the cast linked list,
34390 * we find the array of casts associated with the type, and loop through it
34391 * adding the casts to the list. The one last trick we need to do is making
34392 * sure the type pointer in the swig_cast_info struct is correct.
34394 * First off, we lookup the cast->type name to see if it is already loaded.
34395 * There are three cases to handle:
34396 * 1) If the cast->type has already been loaded AND the type we are adding
34397 * casting info to has not been loaded (it is in this module), THEN we
34398 * replace the cast->type pointer with the type pointer that has already
34400 * 2) If BOTH types (the one we are adding casting info to, and the
34401 * cast->type) are loaded, THEN the cast info has already been loaded by
34402 * the previous module so we just ignore it.
34403 * 3) Finally, if cast->type has not already been loaded, then we add that
34404 * swig_cast_info to the linked list (because the cast->type) pointer will
34406 * ----------------------------------------------------------------------------- */
34416 #define SWIGRUNTIME_DEBUG
34420 SWIG_InitializeModule(void *clientdata
) {
34422 swig_module_info
*module_head
;
34423 static int init_run
= 0;
34425 clientdata
= clientdata
;
34427 if (init_run
) return;
34430 /* Initialize the swig_module */
34431 swig_module
.type_initial
= swig_type_initial
;
34432 swig_module
.cast_initial
= swig_cast_initial
;
34434 /* Try and load any already created modules */
34435 module_head
= SWIG_GetModule(clientdata
);
34437 swig_module
.next
= module_head
->next
;
34438 module_head
->next
= &swig_module
;
34440 /* This is the first module loaded */
34441 swig_module
.next
= &swig_module
;
34442 SWIG_SetModule(clientdata
, &swig_module
);
34445 /* Now work on filling in swig_module.types */
34446 #ifdef SWIGRUNTIME_DEBUG
34447 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34449 for (i
= 0; i
< swig_module
.size
; ++i
) {
34450 swig_type_info
*type
= 0;
34451 swig_type_info
*ret
;
34452 swig_cast_info
*cast
;
34454 #ifdef SWIGRUNTIME_DEBUG
34455 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34458 /* if there is another module already loaded */
34459 if (swig_module
.next
!= &swig_module
) {
34460 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34463 /* Overwrite clientdata field */
34464 #ifdef SWIGRUNTIME_DEBUG
34465 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34467 if (swig_module
.type_initial
[i
]->clientdata
) {
34468 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34469 #ifdef SWIGRUNTIME_DEBUG
34470 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34474 type
= swig_module
.type_initial
[i
];
34477 /* Insert casting types */
34478 cast
= swig_module
.cast_initial
[i
];
34479 while (cast
->type
) {
34480 /* Don't need to add information already in the list */
34482 #ifdef SWIGRUNTIME_DEBUG
34483 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34485 if (swig_module
.next
!= &swig_module
) {
34486 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34487 #ifdef SWIGRUNTIME_DEBUG
34488 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34492 if (type
== swig_module
.type_initial
[i
]) {
34493 #ifdef SWIGRUNTIME_DEBUG
34494 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34499 /* Check for casting already in the list */
34500 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34501 #ifdef SWIGRUNTIME_DEBUG
34502 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34504 if (!ocast
) ret
= 0;
34509 #ifdef SWIGRUNTIME_DEBUG
34510 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34513 type
->cast
->prev
= cast
;
34514 cast
->next
= type
->cast
;
34520 /* Set entry in modules->types array equal to the type */
34521 swig_module
.types
[i
] = type
;
34523 swig_module
.types
[i
] = 0;
34525 #ifdef SWIGRUNTIME_DEBUG
34526 printf("**** SWIG_InitializeModule: Cast List ******\n");
34527 for (i
= 0; i
< swig_module
.size
; ++i
) {
34529 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34530 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34531 while (cast
->type
) {
34532 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34536 printf("---- Total casts: %d\n",j
);
34538 printf("**** SWIG_InitializeModule: Cast List ******\n");
34542 /* This function will propagate the clientdata field of type to
34543 * any new swig_type_info structures that have been added into the list
34544 * of equivalent types. It is like calling
34545 * SWIG_TypeClientData(type, clientdata) a second time.
34548 SWIG_PropagateClientData(void) {
34550 swig_cast_info
*equiv
;
34551 static int init_run
= 0;
34553 if (init_run
) return;
34556 for (i
= 0; i
< swig_module
.size
; i
++) {
34557 if (swig_module
.types
[i
]->clientdata
) {
34558 equiv
= swig_module
.types
[i
]->cast
;
34560 if (!equiv
->converter
) {
34561 if (equiv
->type
&& !equiv
->type
->clientdata
)
34562 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34564 equiv
= equiv
->next
;
34584 /* Python-specific SWIG API */
34585 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34586 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34587 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34589 /* -----------------------------------------------------------------------------
34590 * global variable support code.
34591 * ----------------------------------------------------------------------------- */
34593 typedef struct swig_globalvar
{
34594 char *name
; /* Name of global variable */
34595 PyObject
*(*get_attr
)(void); /* Return the current value */
34596 int (*set_attr
)(PyObject
*); /* Set the value */
34597 struct swig_globalvar
*next
;
34600 typedef struct swig_varlinkobject
{
34602 swig_globalvar
*vars
;
34603 } swig_varlinkobject
;
34605 SWIGINTERN PyObject
*
34606 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34607 return PyString_FromString("<Swig global variables>");
34610 SWIGINTERN PyObject
*
34611 swig_varlink_str(swig_varlinkobject
*v
) {
34612 PyObject
*str
= PyString_FromString("(");
34613 swig_globalvar
*var
;
34614 for (var
= v
->vars
; var
; var
=var
->next
) {
34615 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34616 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34618 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34623 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34624 PyObject
*str
= swig_varlink_str(v
);
34625 fprintf(fp
,"Swig global variables ");
34626 fprintf(fp
,"%s\n", PyString_AsString(str
));
34632 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34633 swig_globalvar
*var
= v
->vars
;
34635 swig_globalvar
*n
= var
->next
;
34642 SWIGINTERN PyObject
*
34643 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34644 PyObject
*res
= NULL
;
34645 swig_globalvar
*var
= v
->vars
;
34647 if (strcmp(var
->name
,n
) == 0) {
34648 res
= (*var
->get_attr
)();
34653 if (res
== NULL
&& !PyErr_Occurred()) {
34654 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34660 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34662 swig_globalvar
*var
= v
->vars
;
34664 if (strcmp(var
->name
,n
) == 0) {
34665 res
= (*var
->set_attr
)(p
);
34670 if (res
== 1 && !PyErr_Occurred()) {
34671 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34676 SWIGINTERN PyTypeObject
*
34677 swig_varlink_type(void) {
34678 static char varlink__doc__
[] = "Swig var link object";
34679 static PyTypeObject varlink_type
;
34680 static int type_init
= 0;
34682 const PyTypeObject tmp
34684 PyObject_HEAD_INIT(NULL
)
34685 0, /* Number of items in variable part (ob_size) */
34686 (char *)"swigvarlink", /* Type name (tp_name) */
34687 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34688 0, /* Itemsize (tp_itemsize) */
34689 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34690 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34691 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34692 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34693 0, /* tp_compare */
34694 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34695 0, /* tp_as_number */
34696 0, /* tp_as_sequence */
34697 0, /* tp_as_mapping */
34700 (reprfunc
)swig_varlink_str
, /* tp_str */
34701 0, /* tp_getattro */
34702 0, /* tp_setattro */
34703 0, /* tp_as_buffer */
34705 varlink__doc__
, /* tp_doc */
34706 0, /* tp_traverse */
34708 0, /* tp_richcompare */
34709 0, /* tp_weaklistoffset */
34710 #if PY_VERSION_HEX >= 0x02020000
34711 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34713 #if PY_VERSION_HEX >= 0x02030000
34716 #ifdef COUNT_ALLOCS
34717 0,0,0,0 /* tp_alloc -> tp_next */
34720 varlink_type
= tmp
;
34721 varlink_type
.ob_type
= &PyType_Type
;
34724 return &varlink_type
;
34727 /* Create a variable linking object for use later */
34728 SWIGINTERN PyObject
*
34729 SWIG_Python_newvarlink(void) {
34730 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34734 return ((PyObject
*) result
);
34738 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34739 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34740 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34742 size_t size
= strlen(name
)+1;
34743 gv
->name
= (char *)malloc(size
);
34745 strncpy(gv
->name
,name
,size
);
34746 gv
->get_attr
= get_attr
;
34747 gv
->set_attr
= set_attr
;
34748 gv
->next
= v
->vars
;
34754 SWIGINTERN PyObject
*
34756 static PyObject
*_SWIG_globals
= 0;
34757 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34758 return _SWIG_globals
;
34761 /* -----------------------------------------------------------------------------
34762 * constants/methods manipulation
34763 * ----------------------------------------------------------------------------- */
34765 /* Install Constants */
34767 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34770 for (i
= 0; constants
[i
].type
; ++i
) {
34771 switch(constants
[i
].type
) {
34772 case SWIG_PY_POINTER
:
34773 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34775 case SWIG_PY_BINARY
:
34776 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34783 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34789 /* -----------------------------------------------------------------------------*/
34790 /* Fix SwigMethods to carry the callback ptrs when needed */
34791 /* -----------------------------------------------------------------------------*/
34794 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34795 swig_const_info
*const_table
,
34796 swig_type_info
**types
,
34797 swig_type_info
**types_initial
) {
34799 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34800 const char *c
= methods
[i
].ml_doc
;
34801 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34803 swig_const_info
*ci
= 0;
34804 const char *name
= c
+ 10;
34805 for (j
= 0; const_table
[j
].type
; ++j
) {
34806 if (strncmp(const_table
[j
].name
, name
,
34807 strlen(const_table
[j
].name
)) == 0) {
34808 ci
= &(const_table
[j
]);
34813 size_t shift
= (ci
->ptype
) - types
;
34814 swig_type_info
*ty
= types_initial
[shift
];
34815 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34816 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34817 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34820 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34822 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34824 strncpy(buff
, "swig_ptr: ", 10);
34826 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34827 methods
[i
].ml_doc
= ndoc
;
34839 /* -----------------------------------------------------------------------------*
34840 * Partial Init method
34841 * -----------------------------------------------------------------------------*/
34846 SWIGEXPORT
void SWIG_init(void) {
34849 /* Fix SwigMethods to carry the callback ptrs when needed */
34850 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34852 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34853 d
= PyModule_GetDict(m
);
34855 SWIG_InitializeModule(0);
34856 SWIG_InstallConstants(d
,swig_const_table
);
34859 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34860 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34861 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34862 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34863 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34864 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34865 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34866 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34867 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34868 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34869 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34870 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34871 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34872 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34873 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34874 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34875 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34876 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34877 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34878 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34879 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34880 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34881 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34882 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34883 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34884 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34885 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34886 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34887 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34888 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34889 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34890 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34891 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34892 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34893 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34894 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34895 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34896 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34897 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34898 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34899 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34900 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34901 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34902 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34903 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34904 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34905 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34906 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34907 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34908 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34909 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34910 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34911 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34912 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34913 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34914 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34915 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34916 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34917 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34918 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34919 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34920 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34921 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34922 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34923 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34924 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34925 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34926 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34927 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34928 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34929 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34930 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34931 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34932 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34933 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34934 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34935 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34936 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34937 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34938 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34939 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34940 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34941 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34942 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34943 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34944 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34945 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34946 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34947 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34948 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34949 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34950 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34951 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34952 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34953 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34954 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34955 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34956 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34957 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34958 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34959 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34960 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34961 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34962 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34963 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34964 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34965 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
34966 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
34967 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
34969 // Map renamed classes back to their common name for OOR
34970 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34971 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34972 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34974 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34975 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34976 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34977 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34978 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34979 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34980 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34981 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
34982 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34983 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34984 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34985 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34986 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34987 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34988 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34989 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34990 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34991 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34992 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34993 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34994 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34995 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34996 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34997 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34998 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34999 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
35000 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
35001 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
35002 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
35003 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
35004 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
35005 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
35006 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
35007 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
35008 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
35009 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
35010 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
35011 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
35012 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
35013 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
35014 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
35015 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
35016 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
35017 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
35018 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
35019 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
35020 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
35021 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
35022 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
35023 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
35024 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
35025 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
35026 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
35027 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
35028 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
35029 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35030 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35031 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35032 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35033 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35034 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35035 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35036 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35037 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35038 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
35039 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
35040 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
35041 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
35042 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
35043 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
35044 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
35045 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
35046 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
35047 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
35048 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
35049 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
35050 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
35051 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
35052 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
35053 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
35054 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
35055 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
35056 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
35057 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
35058 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
35059 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
35060 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
35061 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
35062 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
35063 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
35064 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
35065 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
35066 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
35067 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
35068 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
35069 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
35070 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
35071 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
35072 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
35073 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
35074 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
35075 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
35076 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
35077 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
35078 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
35080 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");