1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
2513 #define SWIGTYPE_p_wxICOHandler swig_types[51]
2514 #define SWIGTYPE_p_wxIcon swig_types[52]
2515 #define SWIGTYPE_p_wxIconBundle swig_types[53]
2516 #define SWIGTYPE_p_wxIconizeEvent swig_types[54]
2517 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
2518 #define SWIGTYPE_p_wxImage swig_types[56]
2519 #define SWIGTYPE_p_wxImageHandler swig_types[57]
2520 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[58]
2521 #define SWIGTYPE_p_wxInitDialogEvent swig_types[59]
2522 #define SWIGTYPE_p_wxJPEGHandler swig_types[60]
2523 #define SWIGTYPE_p_wxKeyEvent swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[62]
2525 #define SWIGTYPE_p_wxLayoutConstraints swig_types[63]
2526 #define SWIGTYPE_p_wxMDIChildFrame swig_types[64]
2527 #define SWIGTYPE_p_wxMDIClientWindow swig_types[65]
2528 #define SWIGTYPE_p_wxMDIParentFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMaximizeEvent swig_types[67]
2530 #define SWIGTYPE_p_wxMenu swig_types[68]
2531 #define SWIGTYPE_p_wxMenuBar swig_types[69]
2532 #define SWIGTYPE_p_wxMenuEvent swig_types[70]
2533 #define SWIGTYPE_p_wxMenuItem swig_types[71]
2534 #define SWIGTYPE_p_wxMessageDialog swig_types[72]
2535 #define SWIGTYPE_p_wxMiniFrame swig_types[73]
2536 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMoveEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77]
2540 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxObject swig_types[81]
2544 #define SWIGTYPE_p_wxPCXHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNMHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialog swig_types[85]
2548 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[86]
2549 #define SWIGTYPE_p_wxPaintEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[88]
2551 #define SWIGTYPE_p_wxPanel swig_types[89]
2552 #define SWIGTYPE_p_wxPaperSize swig_types[90]
2553 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[91]
2554 #define SWIGTYPE_p_wxPoint swig_types[92]
2555 #define SWIGTYPE_p_wxPopupWindow swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewCanvas swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewControlBar swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewFrame swig_types[96]
2559 #define SWIGTYPE_p_wxPrintData swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialog swig_types[98]
2561 #define SWIGTYPE_p_wxPrintDialogData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintPreview swig_types[100]
2563 #define SWIGTYPE_p_wxPrinter swig_types[101]
2564 #define SWIGTYPE_p_wxProgressDialog swig_types[102]
2565 #define SWIGTYPE_p_wxPyApp swig_types[103]
2566 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyEvent swig_types[105]
2568 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[106]
2569 #define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPyPanel swig_types[108]
2571 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110]
2573 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintPreview swig_types[112]
2575 #define SWIGTYPE_p_wxPyPrintout swig_types[113]
2576 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[114]
2577 #define SWIGTYPE_p_wxPySizer swig_types[115]
2578 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116]
2579 #define SWIGTYPE_p_wxPyVListBox swig_types[117]
2580 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118]
2581 #define SWIGTYPE_p_wxPyValidator swig_types[119]
2582 #define SWIGTYPE_p_wxPyWindow swig_types[120]
2583 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121]
2584 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122]
2585 #define SWIGTYPE_p_wxRect swig_types[123]
2586 #define SWIGTYPE_p_wxRegion swig_types[124]
2587 #define SWIGTYPE_p_wxSashEvent swig_types[125]
2588 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[126]
2589 #define SWIGTYPE_p_wxSashWindow swig_types[127]
2590 #define SWIGTYPE_p_wxScrollEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrollWinEvent swig_types[129]
2592 #define SWIGTYPE_p_wxScrolledWindow swig_types[130]
2593 #define SWIGTYPE_p_wxSetCursorEvent swig_types[131]
2594 #define SWIGTYPE_p_wxShowEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[133]
2596 #define SWIGTYPE_p_wxSize swig_types[134]
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[135]
2598 #define SWIGTYPE_p_wxSizer swig_types[136]
2599 #define SWIGTYPE_p_wxSizerItem swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreen swig_types[138]
2601 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterEvent swig_types[140]
2603 #define SWIGTYPE_p_wxSplitterWindow swig_types[141]
2604 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[142]
2605 #define SWIGTYPE_p_wxStatusBar swig_types[143]
2606 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[144]
2607 #define SWIGTYPE_p_wxString swig_types[145]
2608 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[146]
2609 #define SWIGTYPE_p_wxTIFFHandler swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIcon swig_types[148]
2611 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[149]
2612 #define SWIGTYPE_p_wxTextEntryDialog swig_types[150]
2613 #define SWIGTYPE_p_wxTipWindow swig_types[151]
2614 #define SWIGTYPE_p_wxToolBar swig_types[152]
2615 #define SWIGTYPE_p_wxTopLevelWindow swig_types[153]
2616 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[154]
2617 #define SWIGTYPE_p_wxValidator swig_types[155]
2618 #define SWIGTYPE_p_wxVisualAttributes swig_types[156]
2619 #define SWIGTYPE_p_wxWindow swig_types[157]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[158]
2621 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[159]
2622 #define SWIGTYPE_p_wxXPMHandler swig_types[160]
2623 static swig_type_info
*swig_types
[162];
2624 static swig_module_info swig_module
= {swig_types
, 161, 0, 0, 0, 0};
2625 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2626 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2628 /* -------- TYPES TABLE (END) -------- */
2630 #if (PY_VERSION_HEX <= 0x02000000)
2631 # if !defined(SWIG_PYTHON_CLASSIC)
2632 # error "This python version requires to use swig with the '-classic' option"
2635 #if (PY_VERSION_HEX <= 0x02020000)
2636 # error "This python version requires to use swig with the '-nomodern' option"
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 /*-----------------------------------------------
2646 @(target):= _windows_.so
2647 ------------------------------------------------*/
2648 #define SWIG_init init_windows_
2650 #define SWIG_name "_windows_"
2652 #define SWIGVERSION 0x010329
2655 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2656 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659 #include <stdexcept>
2663 class PyObject_ptr
{
2668 PyObject_ptr() :_obj(0)
2672 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2677 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2679 if (initial_ref
) Py_XINCREF(_obj
);
2682 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2684 Py_XINCREF(item
._obj
);
2695 operator PyObject
*() const
2700 PyObject
*operator->() const
2709 struct PyObject_var
: PyObject_ptr
{
2710 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2712 PyObject_var
& operator = (PyObject
* obj
)
2722 #include "wx/wxPython/wxPython.h"
2723 #include "wx/wxPython/pyclasses.h"
2726 static const wxString
wxPyEmptyString(wxEmptyString
);
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2733 # define LLONG_MIN LONG_LONG_MIN
2736 # define LLONG_MAX LONG_LONG_MAX
2739 # define ULLONG_MAX ULONG_LONG_MAX
2744 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2746 if (PyNumber_Check(obj
)) {
2747 if (val
) *val
= PyInt_AsLong(obj
);
2750 return SWIG_TypeError
;
2755 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2758 int res
= SWIG_AsVal_long (obj
, &v
);
2759 if (SWIG_IsOK(res
)) {
2760 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2761 return SWIG_OverflowError
;
2763 if (val
) *val
= static_cast< int >(v
);
2771 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2773 if (obj
== Py_True
) {
2774 if (val
) *val
= true;
2776 } else if (obj
== Py_False
) {
2777 if (val
) *val
= false;
2781 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2782 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2788 #define SWIG_From_long PyInt_FromLong
2791 SWIGINTERNINLINE PyObject
*
2792 SWIG_From_int (int value
)
2794 return SWIG_From_long (value
);
2799 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2801 if (PyNumber_Check(obj
)) {
2802 if (val
) *val
= PyFloat_AsDouble(obj
);
2805 return SWIG_TypeError
;
2809 #define SWIG_From_double PyFloat_FromDouble
2811 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2812 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2813 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2814 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2815 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2816 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2819 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2821 self
->GetFieldRect(i
, r
);
2824 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2825 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2826 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2828 #include <wx/popupwin.h>
2831 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2834 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2835 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2836 : wxPopupTransientWindow(parent
, style
) {}
2838 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2839 DEC_PYCALLBACK__(OnDismiss
);
2840 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2845 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2846 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2847 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2850 #include <wx/tipwin.h>
2852 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2853 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2856 #include <wx/tipwin.h>
2859 #include <wx/vscroll.h>
2862 class wxPyVScrolledWindow
: public wxVScrolledWindow
2864 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2866 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2868 wxPyVScrolledWindow(wxWindow
*parent
,
2869 wxWindowID id
= wxID_ANY
,
2870 const wxPoint
& pos
= wxDefaultPosition
,
2871 const wxSize
& size
= wxDefaultSize
,
2873 const wxString
& name
= wxPyPanelNameStr
)
2874 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2877 // Overridable virtuals
2879 // this function must be overridden in the derived class and it should
2880 // return the height of the given line in pixels
2881 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2884 // this function doesn't have to be overridden but it may be useful to do
2885 // it if calculating the lines heights is a relatively expensive operation
2886 // as it gives the user code a possibility to calculate several of them at
2889 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2890 // shouldn't rely on the latter being called for all lines in the interval
2891 // specified here. It is also possible that OnGetLineHeight() will be
2892 // called for the lines outside of this interval, so this is really just a
2893 // hint, not a promise.
2895 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2897 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2900 // when the number of lines changes, we try to estimate the total height
2901 // of all lines which is a rather expensive operation in terms of lines
2902 // access, so if the user code may estimate the average height
2903 // better/faster than we do, it should override this function to implement
2906 // this function should return the best guess for the total height it may
2908 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2911 // Also expose some other interesting protected methods
2914 // find the index of the line we need to show at the top of the window such
2915 // that the last (fully or partially) visible line is the given one
2916 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2917 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2919 // get the total height of the lines between lineMin (inclusive) and
2920 // lineMax (exclusive)
2921 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2922 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2928 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2930 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2931 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2932 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2936 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2939 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2940 return SWIG_TypeError
;
2943 *val
= (unsigned long)v
;
2948 SWIGINTERNINLINE
int
2949 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2952 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2953 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2958 SWIGINTERNINLINE PyObject
*
2959 SWIG_From_unsigned_SS_long (unsigned long value
)
2961 return (value
> LONG_MAX
) ?
2962 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2966 SWIGINTERNINLINE PyObject
*
2967 SWIG_From_size_t (size_t value
)
2969 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2973 #include <wx/vlbox.h>
2975 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2977 class wxPyVListBox
: public wxVListBox
2979 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2981 wxPyVListBox() : wxVListBox() {}
2983 wxPyVListBox(wxWindow
*parent
,
2984 wxWindowID id
= wxID_ANY
,
2985 const wxPoint
& pos
= wxDefaultPosition
,
2986 const wxSize
& size
= wxDefaultSize
,
2988 const wxString
& name
= wxPyVListBoxNameStr
)
2989 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2992 // Overridable virtuals
2994 // the derived class must implement this function to actually draw the item
2995 // with the given index on the provided DC
2996 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2997 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3000 // the derived class must implement this method to return the height of the
3002 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3003 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3006 // this method may be used to draw separators between the lines; note that
3007 // the rectangle may be modified, typically to deflate it a bit before
3008 // passing to OnDrawItem()
3010 // the base class version doesn't do anything
3011 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3012 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3015 // this method is used to draw the items background and, maybe, a border
3018 // the base class version implements a reasonable default behaviour which
3019 // consists in drawing the selected item with the standard background
3020 // colour and drawing a border around the item if it is either selected or
3022 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3029 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3031 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3032 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3033 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3034 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3037 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3038 unsigned long cookie
= 0;
3039 int selected
= self
->GetFirstSelected(cookie
);
3040 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3041 PyObject
* tup
= PyTuple_New(2);
3042 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3043 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3044 wxPyEndBlockThreads(blocked
);
3047 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3048 int selected
= self
->GetNextSelected(cookie
);
3049 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3050 PyObject
* tup
= PyTuple_New(2);
3051 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3052 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3053 wxPyEndBlockThreads(blocked
);
3057 #include <wx/htmllbox.h>
3060 class wxPyHtmlListBox
: public wxHtmlListBox
3062 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3064 wxPyHtmlListBox() : wxHtmlListBox() {}
3066 wxPyHtmlListBox(wxWindow
*parent
,
3067 wxWindowID id
= wxID_ANY
,
3068 const wxPoint
& pos
= wxDefaultPosition
,
3069 const wxSize
& size
= wxDefaultSize
,
3071 const wxString
& name
= wxPyVListBoxNameStr
)
3072 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3075 // Overridable virtuals
3077 // this method must be implemented in the derived class and should return
3078 // the body (i.e. without <html>) of the HTML for the given item
3079 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3081 // this function may be overridden to decorate HTML returned by OnGetItem()
3082 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3084 // These are from wxVListBox
3085 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3086 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3089 // // this method allows to customize the selection appearance: it may be used
3090 // // to specify the colour of the text which normally has the given colour
3091 // // colFg when it is inside the selection
3093 // // by default, the original colour is not used at all and all text has the
3094 // // same (default for this system) colour inside selection
3095 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3097 // // this is the same as GetSelectedTextColour() but allows to customize the
3098 // // background colour -- this is even more rarely used as you can change it
3099 // // globally using SetSelectionBackground()
3100 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3103 // This method may be overriden to handle clicking on a link in
3104 // the listbox. By default, clicking links is ignored.
3105 virtual void OnLinkClicked(size_t n
,
3106 const wxHtmlLinkInfo
& link
);
3112 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3114 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3115 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3116 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3117 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3120 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3121 const wxHtmlLinkInfo
& link
) {
3123 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3124 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3125 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3126 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3129 wxPyEndBlockThreads(blocked
);
3131 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3138 #ifndef wxHAS_TASK_BAR_ICON
3139 // implement dummy classes for platforms that don't have it
3141 class wxTaskBarIcon
: public wxEvtHandler
3144 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3148 class wxTaskBarIconEvent
: public wxEvent
3151 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3152 { wxPyRaiseNotImplemented(); }
3153 virtual wxEvent
* Clone() const { return NULL
; }
3154 bool IsOk() const { return false; }
3155 bool IsIconInstalled() const { return false; }
3156 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3157 bool RemoveIcon() { return false; }
3158 bool PopupMenu(wxMenu
*menu
) { return false; }
3162 wxEVT_TASKBAR_MOVE
= 0,
3163 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3164 wxEVT_TASKBAR_LEFT_UP
= 0,
3165 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3166 wxEVT_TASKBAR_RIGHT_UP
= 0,
3167 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3168 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3173 // Otherwise make a class that can virtualize CreatePopupMenu
3174 class wxPyTaskBarIcon
: public wxTaskBarIcon
3176 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3178 wxPyTaskBarIcon() : wxTaskBarIcon()
3181 wxMenu
* CreatePopupMenu() {
3182 wxMenu
*rval
= NULL
;
3184 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3185 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3188 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3190 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3195 wxPyEndBlockThreads(blocked
);
3197 rval
= wxTaskBarIcon::CreatePopupMenu();
3204 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3208 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3212 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3213 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3214 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3215 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3216 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3217 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3218 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3220 self
->GetFilenames(arr
);
3221 return wxArrayString2PyList_helper(arr
);
3223 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3225 self
->GetPaths(arr
);
3226 return wxArrayString2PyList_helper(arr
);
3228 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3229 return wxArrayInt2PyList_helper(self
->GetSelections());
3231 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
){
3232 return new wxSingleChoiceDialog(parent
, message
, caption
,
3233 choices
, choices_array
, NULL
, style
, pos
);
3235 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3239 // C++ version of Python aware wxWindow
3240 class wxPyWindow
: public wxWindow
3242 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3244 wxPyWindow() : wxWindow() {}
3245 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3246 const wxPoint
& pos
= wxDefaultPosition
,
3247 const wxSize
& size
= wxDefaultSize
,
3249 const wxString
& name
= wxPyPanelNameStr
)
3250 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3252 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3254 bool DoEraseBackground(wxDC
* dc
) {
3256 return wxWindow::DoEraseBackground(dc
->GetHDC());
3258 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3265 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3276 DEC_PYCALLBACK__(InitDialog
);
3277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3279 DEC_PYCALLBACK_BOOL_(Validate
);
3281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3283 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3289 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3291 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3293 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3298 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3300 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3301 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3309 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3312 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3313 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3314 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3317 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3319 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3324 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3325 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3329 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3331 // C++ version of Python aware wxPanel
3332 class wxPyPanel
: public wxPanel
3334 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3336 wxPyPanel() : wxPanel() {}
3337 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3338 const wxPoint
& pos
= wxDefaultPosition
,
3339 const wxSize
& size
= wxDefaultSize
,
3341 const wxString
& name
= wxPyPanelNameStr
)
3342 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3344 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3345 bool DoEraseBackground(wxDC
* dc
) {
3347 return wxWindow::DoEraseBackground(dc
->GetHDC());
3349 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3356 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3357 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3358 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3359 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3361 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3362 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3363 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3365 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3366 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3368 DEC_PYCALLBACK__(InitDialog
);
3369 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3370 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3371 DEC_PYCALLBACK_BOOL_(Validate
);
3373 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3374 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3375 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3377 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3378 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3380 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3381 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3383 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3385 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3390 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3392 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3393 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3394 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3395 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3397 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3398 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3399 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3401 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3402 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3404 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3405 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3406 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3407 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3409 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3410 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3411 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3413 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3414 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3416 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3417 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3421 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3423 // C++ version of Python aware wxScrolledWindow
3424 class wxPyScrolledWindow
: public wxScrolledWindow
3426 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3428 wxPyScrolledWindow() : wxScrolledWindow() {}
3429 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3430 const wxPoint
& pos
= wxDefaultPosition
,
3431 const wxSize
& size
= wxDefaultSize
,
3433 const wxString
& name
= wxPyPanelNameStr
)
3434 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3436 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3437 bool DoEraseBackground(wxDC
* dc
) {
3439 return wxWindow::DoEraseBackground(dc
->GetHDC());
3441 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3447 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3448 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3449 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3450 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3452 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3453 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3454 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3456 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3457 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3459 DEC_PYCALLBACK__(InitDialog
);
3460 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3461 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3462 DEC_PYCALLBACK_BOOL_(Validate
);
3464 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3465 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3466 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3468 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3469 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3471 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3472 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3474 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3476 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3481 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3483 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3484 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3485 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3486 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3488 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3489 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3490 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3492 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3493 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3495 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3496 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3497 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3498 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3500 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3501 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3502 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3504 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3505 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3507 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3508 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3512 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3515 #include "wx/wxPython/printfw.h"
3518 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3519 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3520 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3522 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3523 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3524 self
->GetPrivDataLen());
3525 wxPyEndBlockThreads(blocked
);
3528 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3529 if (! PyString_Check(data
)) {
3530 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3531 "Expected string object"));
3535 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3536 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3537 wxPyEndBlockThreads(blocked
);
3541 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3543 // Since this one would be tough and ugly to do with the Macros...
3544 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3545 bool hadErr
= false;
3548 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3549 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3550 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3551 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3554 val
= PyTuple_GetItem(result
, 0);
3555 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3558 val
= PyTuple_GetItem(result
, 1);
3559 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3562 val
= PyTuple_GetItem(result
, 2);
3563 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3566 val
= PyTuple_GetItem(result
, 3);
3567 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3574 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3579 wxPyEndBlockThreads(blocked
);
3581 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3586 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3587 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3588 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3589 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3590 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3591 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3592 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3598 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3599 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3602 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3603 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3606 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3608 PyObject* win = wxPyMake_wxObject(a,false); \
3609 PyObject* dc = wxPyMake_wxObject(&b,false); \
3610 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3614 wxPyEndBlockThreads(blocked); \
3616 rval = PCLASS::CBNAME(a, b); \
3623 class wxPyPrintPreview
: public wxPrintPreview
3625 DECLARE_CLASS(wxPyPrintPreview
)
3627 wxPyPrintPreview(wxPyPrintout
* printout
,
3628 wxPyPrintout
* printoutForPrinting
,
3629 wxPrintDialogData
* data
=NULL
)
3630 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3632 wxPyPrintPreview(wxPyPrintout
* printout
,
3633 wxPyPrintout
* printoutForPrinting
,
3635 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3638 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3639 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3640 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3641 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3642 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3643 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3644 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3649 // Stupid renamed classes... Fix this in 2.5...
3650 #if defined(__WXMSW__)
3651 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3652 #elif defined(__WXMAC__)
3653 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3655 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3658 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3659 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3660 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3661 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3662 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3663 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3664 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3667 class wxPyPreviewFrame
: public wxPreviewFrame
3669 DECLARE_CLASS(wxPyPreviewFrame
)
3671 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3672 const wxString
& title
,
3673 const wxPoint
& pos
= wxDefaultPosition
,
3674 const wxSize
& size
= wxDefaultSize
,
3675 long style
= wxDEFAULT_FRAME_STYLE
,
3676 const wxString
& name
= wxPyFrameNameStr
)
3677 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3680 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3681 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3683 DEC_PYCALLBACK_VOID_(Initialize
);
3684 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3685 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3690 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3692 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3693 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3694 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3697 class wxPyPreviewControlBar
: public wxPreviewControlBar
3699 DECLARE_CLASS(wxPyPreviewControlBar
)
3701 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3704 const wxPoint
& pos
= wxDefaultPosition
,
3705 const wxSize
& size
= wxDefaultSize
,
3707 const wxString
& name
= wxPyPanelNameStr
)
3708 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3711 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3713 DEC_PYCALLBACK_VOID_(CreateButtons
);
3714 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3719 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3721 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3726 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
= 0;
3728 wxWindow
*arg1
= (wxWindow
*) 0 ;
3729 int arg2
= (int) (int)-1 ;
3730 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3731 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3732 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3733 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3734 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3735 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3736 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3737 wxPanel
*result
= 0 ;
3746 bool temp6
= false ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3749 PyObject
* obj2
= 0 ;
3750 PyObject
* obj3
= 0 ;
3751 PyObject
* obj4
= 0 ;
3752 PyObject
* obj5
= 0 ;
3753 char * kwnames
[] = {
3754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3759 if (!SWIG_IsOK(res1
)) {
3760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3765 if (!SWIG_IsOK(ecode2
)) {
3766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3768 arg2
= static_cast< int >(val2
);
3773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3779 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3783 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3784 if (!SWIG_IsOK(ecode5
)) {
3785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3787 arg5
= static_cast< long >(val5
);
3791 arg6
= wxString_in_helper(obj5
);
3792 if (arg6
== NULL
) SWIG_fail
;
3797 if (!wxPyCheckForApp()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3818 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3819 PyObject
*resultobj
= 0;
3820 wxPanel
*result
= 0 ;
3822 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3824 if (!wxPyCheckForApp()) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (wxPanel
*)new wxPanel();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3837 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
= 0;
3839 wxPanel
*arg1
= (wxPanel
*) 0 ;
3840 wxWindow
*arg2
= (wxWindow
*) 0 ;
3841 int arg3
= (int) (int)-1 ;
3842 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3843 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3844 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3845 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3846 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3847 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3848 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3860 bool temp7
= false ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3863 PyObject
* obj2
= 0 ;
3864 PyObject
* obj3
= 0 ;
3865 PyObject
* obj4
= 0 ;
3866 PyObject
* obj5
= 0 ;
3867 PyObject
* obj6
= 0 ;
3868 char * kwnames
[] = {
3869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3874 if (!SWIG_IsOK(res1
)) {
3875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3877 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3879 if (!SWIG_IsOK(res2
)) {
3880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3885 if (!SWIG_IsOK(ecode3
)) {
3886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3888 arg3
= static_cast< int >(val3
);
3893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3903 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3904 if (!SWIG_IsOK(ecode6
)) {
3905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3907 arg6
= static_cast< long >(val6
);
3911 arg7
= wxString_in_helper(obj6
);
3912 if (arg7
== NULL
) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3939 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3940 PyObject
*resultobj
= 0;
3941 wxPanel
*arg1
= (wxPanel
*) 0 ;
3944 PyObject
*swig_obj
[1] ;
3946 if (!args
) SWIG_fail
;
3948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3949 if (!SWIG_IsOK(res1
)) {
3950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3952 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 (arg1
)->SetFocusIgnoringChildren();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_Py_Void();
3966 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
= 0;
3968 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3969 SwigValueWrapper
<wxVisualAttributes
> result
;
3972 PyObject
* obj0
= 0 ;
3973 char * kwnames
[] = {
3974 (char *) "variant", NULL
3977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3980 if (!SWIG_IsOK(ecode1
)) {
3981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3983 arg1
= static_cast< wxWindowVariant
>(val1
);
3986 if (!wxPyCheckForApp()) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3999 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4002 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4003 return SWIG_Py_Void();
4006 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4007 return SWIG_Python_InitShadowInstance(args
);
4010 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
= 0;
4012 wxWindow
*arg1
= (wxWindow
*) 0 ;
4013 int arg2
= (int) (int)-1 ;
4014 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4015 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4018 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4019 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4020 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4021 wxScrolledWindow
*result
= 0 ;
4030 bool temp6
= false ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4033 PyObject
* obj2
= 0 ;
4034 PyObject
* obj3
= 0 ;
4035 PyObject
* obj4
= 0 ;
4036 PyObject
* obj5
= 0 ;
4037 char * kwnames
[] = {
4038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4043 if (!SWIG_IsOK(res1
)) {
4044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4049 if (!SWIG_IsOK(ecode2
)) {
4050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4052 arg2
= static_cast< int >(val2
);
4057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4067 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4068 if (!SWIG_IsOK(ecode5
)) {
4069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4071 arg5
= static_cast< long >(val5
);
4075 arg6
= wxString_in_helper(obj5
);
4076 if (arg6
== NULL
) SWIG_fail
;
4081 if (!wxPyCheckForApp()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4102 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4103 PyObject
*resultobj
= 0;
4104 wxScrolledWindow
*result
= 0 ;
4106 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4108 if (!wxPyCheckForApp()) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4121 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
= 0;
4123 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4124 wxWindow
*arg2
= (wxWindow
*) 0 ;
4125 int arg3
= (int) (int)-1 ;
4126 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4127 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4128 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4129 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4130 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4131 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4132 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4144 bool temp7
= false ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4147 PyObject
* obj2
= 0 ;
4148 PyObject
* obj3
= 0 ;
4149 PyObject
* obj4
= 0 ;
4150 PyObject
* obj5
= 0 ;
4151 PyObject
* obj6
= 0 ;
4152 char * kwnames
[] = {
4153 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4158 if (!SWIG_IsOK(res1
)) {
4159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4161 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4163 if (!SWIG_IsOK(res2
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4166 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4169 if (!SWIG_IsOK(ecode3
)) {
4170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4172 arg3
= static_cast< int >(val3
);
4177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4183 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4187 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4188 if (!SWIG_IsOK(ecode6
)) {
4189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4191 arg6
= static_cast< long >(val6
);
4195 arg7
= wxString_in_helper(obj6
);
4196 if (arg7
== NULL
) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4223 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
= 0;
4225 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4230 int arg6
= (int) 0 ;
4231 int arg7
= (int) 0 ;
4232 bool arg8
= (bool) false ;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4251 PyObject
* obj2
= 0 ;
4252 PyObject
* obj3
= 0 ;
4253 PyObject
* obj4
= 0 ;
4254 PyObject
* obj5
= 0 ;
4255 PyObject
* obj6
= 0 ;
4256 PyObject
* obj7
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4263 if (!SWIG_IsOK(res1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4266 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4268 if (!SWIG_IsOK(ecode2
)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4271 arg2
= static_cast< int >(val2
);
4272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4273 if (!SWIG_IsOK(ecode3
)) {
4274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4276 arg3
= static_cast< int >(val3
);
4277 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4278 if (!SWIG_IsOK(ecode4
)) {
4279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4281 arg4
= static_cast< int >(val4
);
4282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4283 if (!SWIG_IsOK(ecode5
)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4286 arg5
= static_cast< int >(val5
);
4288 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4289 if (!SWIG_IsOK(ecode6
)) {
4290 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4292 arg6
= static_cast< int >(val6
);
4295 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4296 if (!SWIG_IsOK(ecode7
)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4299 arg7
= static_cast< int >(val7
);
4302 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4303 if (!SWIG_IsOK(ecode8
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4306 arg8
= static_cast< bool >(val8
);
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 resultobj
= SWIG_Py_Void();
4321 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
= 0;
4323 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 PyObject
* obj2
= 0 ;
4335 char * kwnames
[] = {
4336 (char *) "self",(char *) "x",(char *) "y", NULL
4339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4341 if (!SWIG_IsOK(res1
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4344 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4346 if (!SWIG_IsOK(ecode2
)) {
4347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4349 arg2
= static_cast< int >(val2
);
4350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4351 if (!SWIG_IsOK(ecode3
)) {
4352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4354 arg3
= static_cast< int >(val3
);
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 (arg1
)->Scroll(arg2
,arg3
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= SWIG_Py_Void();
4368 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
= 0;
4370 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 char * kwnames
[] = {
4380 (char *) "self",(char *) "orient", NULL
4383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4385 if (!SWIG_IsOK(res1
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4388 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4390 if (!SWIG_IsOK(ecode2
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4393 arg2
= static_cast< int >(val2
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_From_int(static_cast< int >(result
));
4407 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4419 PyObject
* obj1
= 0 ;
4420 PyObject
* obj2
= 0 ;
4421 char * kwnames
[] = {
4422 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4427 if (!SWIG_IsOK(res1
)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4430 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4432 if (!SWIG_IsOK(ecode2
)) {
4433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4435 arg2
= static_cast< int >(val2
);
4436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4437 if (!SWIG_IsOK(ecode3
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4440 arg3
= static_cast< int >(val3
);
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_Py_Void();
4454 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
= 0;
4456 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4467 PyObject
* obj2
= 0 ;
4468 char * kwnames
[] = {
4469 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4474 if (!SWIG_IsOK(res1
)) {
4475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4477 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4479 if (!SWIG_IsOK(ecode2
)) {
4480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4482 arg2
= static_cast< int >(val2
);
4483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4484 if (!SWIG_IsOK(ecode3
)) {
4485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4487 arg3
= static_cast< int >(val3
);
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 (arg1
)->SetScrollRate(arg2
,arg3
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= SWIG_Py_Void();
4501 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4502 PyObject
*resultobj
= 0;
4503 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4504 int *arg2
= (int *) 0 ;
4505 int *arg3
= (int *) 0 ;
4509 int res2
= SWIG_TMPOBJ
;
4511 int res3
= SWIG_TMPOBJ
;
4512 PyObject
*swig_obj
[1] ;
4516 if (!args
) SWIG_fail
;
4518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4519 if (!SWIG_IsOK(res1
)) {
4520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4522 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_Py_Void();
4530 if (SWIG_IsTmpObj(res2
)) {
4531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4533 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4536 if (SWIG_IsTmpObj(res3
)) {
4537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4539 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4548 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
= 0;
4550 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4561 PyObject
* obj2
= 0 ;
4562 char * kwnames
[] = {
4563 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4568 if (!SWIG_IsOK(res1
)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4571 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4572 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4573 if (!SWIG_IsOK(ecode2
)) {
4574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4576 arg2
= static_cast< bool >(val2
);
4577 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4578 if (!SWIG_IsOK(ecode3
)) {
4579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4581 arg3
= static_cast< bool >(val3
);
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 (arg1
)->EnableScrolling(arg2
,arg3
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= SWIG_Py_Void();
4595 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4596 PyObject
*resultobj
= 0;
4597 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4598 int *arg2
= (int *) 0 ;
4599 int *arg3
= (int *) 0 ;
4603 int res2
= SWIG_TMPOBJ
;
4605 int res3
= SWIG_TMPOBJ
;
4606 PyObject
*swig_obj
[1] ;
4610 if (!args
) SWIG_fail
;
4612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4613 if (!SWIG_IsOK(res1
)) {
4614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4616 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_Py_Void();
4624 if (SWIG_IsTmpObj(res2
)) {
4625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4627 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4630 if (SWIG_IsTmpObj(res3
)) {
4631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4633 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4642 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= 0;
4644 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4655 PyObject
* obj2
= 0 ;
4656 char * kwnames
[] = {
4657 (char *) "self",(char *) "xs",(char *) "ys", NULL
4660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4662 if (!SWIG_IsOK(res1
)) {
4663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4665 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4666 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4667 if (!SWIG_IsOK(ecode2
)) {
4668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4670 arg2
= static_cast< double >(val2
);
4671 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4672 if (!SWIG_IsOK(ecode3
)) {
4673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4675 arg3
= static_cast< double >(val3
);
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 (arg1
)->SetScale(arg2
,arg3
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_Py_Void();
4689 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4690 PyObject
*resultobj
= 0;
4691 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4695 PyObject
*swig_obj
[1] ;
4697 if (!args
) SWIG_fail
;
4699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4700 if (!SWIG_IsOK(res1
)) {
4701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4703 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_From_double(static_cast< double >(result
));
4717 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4718 PyObject
*resultobj
= 0;
4719 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4723 PyObject
*swig_obj
[1] ;
4725 if (!args
) SWIG_fail
;
4727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4728 if (!SWIG_IsOK(res1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4731 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= SWIG_From_double(static_cast< double >(result
));
4745 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4746 PyObject
*resultobj
= 0;
4747 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4754 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4756 if (!SWIG_IsOK(res1
)) {
4757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4759 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4762 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4777 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4778 PyObject
*resultobj
= 0;
4779 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4782 int *arg4
= (int *) 0 ;
4783 int *arg5
= (int *) 0 ;
4791 int res4
= SWIG_TMPOBJ
;
4793 int res5
= SWIG_TMPOBJ
;
4797 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4799 if (!SWIG_IsOK(res1
)) {
4800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4802 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4803 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4804 if (!SWIG_IsOK(ecode2
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4807 arg2
= static_cast< int >(val2
);
4808 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4809 if (!SWIG_IsOK(ecode3
)) {
4810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4812 arg3
= static_cast< int >(val3
);
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= SWIG_Py_Void();
4820 if (SWIG_IsTmpObj(res4
)) {
4821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4823 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4826 if (SWIG_IsTmpObj(res5
)) {
4827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4829 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4838 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4842 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4845 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4848 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4852 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4857 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4858 PyObject
*resultobj
= 0;
4859 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4866 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4871 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4874 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4889 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4890 PyObject
*resultobj
= 0;
4891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4894 int *arg4
= (int *) 0 ;
4895 int *arg5
= (int *) 0 ;
4903 int res4
= SWIG_TMPOBJ
;
4905 int res5
= SWIG_TMPOBJ
;
4909 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4911 if (!SWIG_IsOK(res1
)) {
4912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4914 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4915 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4916 if (!SWIG_IsOK(ecode2
)) {
4917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4919 arg2
= static_cast< int >(val2
);
4920 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4921 if (!SWIG_IsOK(ecode3
)) {
4922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4924 arg3
= static_cast< int >(val3
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_Py_Void();
4932 if (SWIG_IsTmpObj(res4
)) {
4933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4935 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4938 if (SWIG_IsTmpObj(res5
)) {
4939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4941 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4950 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4954 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4957 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4960 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4964 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4969 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4982 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 (arg1
)->AdjustScrollbars();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_Py_Void();
4996 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
= 0;
4998 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4999 wxScrollWinEvent
*arg2
= 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5007 char * kwnames
[] = {
5008 (char *) "self",(char *) "event", NULL
5011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5016 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5018 if (!SWIG_IsOK(res2
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5024 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_From_int(static_cast< int >(result
));
5038 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
= 0;
5040 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5041 wxWindow
*arg2
= (wxWindow
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 char * kwnames
[] = {
5049 (char *) "self",(char *) "target", NULL
5052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5054 if (!SWIG_IsOK(res1
)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5057 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5059 if (!SWIG_IsOK(res2
)) {
5060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 (arg1
)->SetTargetWindow(arg2
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= SWIG_Py_Void();
5076 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5077 PyObject
*resultobj
= 0;
5078 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5079 wxWindow
*result
= 0 ;
5082 PyObject
*swig_obj
[1] ;
5084 if (!args
) SWIG_fail
;
5086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5087 if (!SWIG_IsOK(res1
)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5090 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= wxPyMake_wxObject(result
, 0);
5106 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
= 0;
5108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5116 char * kwnames
[] = {
5117 (char *) "self",(char *) "dc", NULL
5120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5122 if (!SWIG_IsOK(res1
)) {
5123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5125 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5127 if (!SWIG_IsOK(res2
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5133 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->DoPrepareDC(*arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_Py_Void();
5147 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
= 0;
5149 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5150 SwigValueWrapper
<wxVisualAttributes
> result
;
5153 PyObject
* obj0
= 0 ;
5154 char * kwnames
[] = {
5155 (char *) "variant", NULL
5158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5160 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5161 if (!SWIG_IsOK(ecode1
)) {
5162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5164 arg1
= static_cast< wxWindowVariant
>(val1
);
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5180 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5183 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5184 return SWIG_Py_Void();
5187 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5188 return SWIG_Python_InitShadowInstance(args
);
5191 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5192 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5197 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5198 PyObject
*pyobj
= 0;
5202 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5204 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5211 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5212 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5217 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5218 PyObject
*pyobj
= 0;
5222 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5224 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5231 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5232 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5237 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5238 PyObject
*pyobj
= 0;
5242 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5244 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5251 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5252 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5257 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5258 PyObject
*pyobj
= 0;
5262 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5264 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5271 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
= 0;
5273 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5274 bool arg2
= (bool) true ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5281 char * kwnames
[] = {
5282 (char *) "self",(char *) "maximize", NULL
5285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5287 if (!SWIG_IsOK(res1
)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5290 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5292 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5293 if (!SWIG_IsOK(ecode2
)) {
5294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5296 arg2
= static_cast< bool >(val2
);
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 (arg1
)->Maximize(arg2
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= SWIG_Py_Void();
5311 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5312 PyObject
*resultobj
= 0;
5313 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5316 PyObject
*swig_obj
[1] ;
5318 if (!args
) SWIG_fail
;
5320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5321 if (!SWIG_IsOK(res1
)) {
5322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5324 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_Py_Void();
5338 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
= 0;
5340 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5341 bool arg2
= (bool) true ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 char * kwnames
[] = {
5349 (char *) "self",(char *) "iconize", NULL
5352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5354 if (!SWIG_IsOK(res1
)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5357 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5359 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5360 if (!SWIG_IsOK(ecode2
)) {
5361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5363 arg2
= static_cast< bool >(val2
);
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 (arg1
)->Iconize(arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_Py_Void();
5378 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5379 PyObject
*resultobj
= 0;
5380 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5384 PyObject
*swig_obj
[1] ;
5386 if (!args
) SWIG_fail
;
5388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5389 if (!SWIG_IsOK(res1
)) {
5390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5392 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5408 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5409 PyObject
*resultobj
= 0;
5410 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5414 PyObject
*swig_obj
[1] ;
5416 if (!args
) SWIG_fail
;
5418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5419 if (!SWIG_IsOK(res1
)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5422 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5438 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5439 PyObject
*resultobj
= 0;
5440 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5444 PyObject
*swig_obj
[1] ;
5446 if (!args
) SWIG_fail
;
5448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5449 if (!SWIG_IsOK(res1
)) {
5450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5452 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5466 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
= 0;
5468 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5476 char * kwnames
[] = {
5477 (char *) "self",(char *) "icon", NULL
5480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5482 if (!SWIG_IsOK(res1
)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5485 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5487 if (!SWIG_IsOK(res2
)) {
5488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5493 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_Py_Void();
5507 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
= 0;
5509 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5510 wxIconBundle
*arg2
= 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5517 char * kwnames
[] = {
5518 (char *) "self",(char *) "icons", NULL
5521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5523 if (!SWIG_IsOK(res1
)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5526 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5528 if (!SWIG_IsOK(res2
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5534 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_Py_Void();
5548 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
= 0;
5550 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5552 long arg3
= (long) wxFULLSCREEN_ALL
;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj1
= 0 ;
5562 PyObject
* obj2
= 0 ;
5563 char * kwnames
[] = {
5564 (char *) "self",(char *) "show",(char *) "style", NULL
5567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5569 if (!SWIG_IsOK(res1
)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5572 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5573 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5574 if (!SWIG_IsOK(ecode2
)) {
5575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5577 arg2
= static_cast< bool >(val2
);
5579 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5580 if (!SWIG_IsOK(ecode3
)) {
5581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5583 arg3
= static_cast< long >(val3
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5600 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5601 PyObject
*resultobj
= 0;
5602 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5606 PyObject
*swig_obj
[1] ;
5608 if (!args
) SWIG_fail
;
5610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5611 if (!SWIG_IsOK(res1
)) {
5612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5614 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5630 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
= 0;
5632 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5633 wxString
*arg2
= 0 ;
5636 bool temp2
= false ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5639 char * kwnames
[] = {
5640 (char *) "self",(char *) "title", NULL
5643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5645 if (!SWIG_IsOK(res1
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5648 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5650 arg2
= wxString_in_helper(obj1
);
5651 if (arg2
== NULL
) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 (arg1
)->SetTitle((wxString
const &)*arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_Py_Void();
5675 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5676 PyObject
*resultobj
= 0;
5677 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5681 PyObject
*swig_obj
[1] ;
5683 if (!args
) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5689 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5709 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
= 0;
5711 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5712 wxRegion
*arg2
= 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 char * kwnames
[] = {
5721 (char *) "self",(char *) "region", NULL
5724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5726 if (!SWIG_IsOK(res1
)) {
5727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5729 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5731 if (!SWIG_IsOK(res2
)) {
5732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5737 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5753 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
= 0;
5755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5756 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5761 PyObject
* obj0
= 0 ;
5762 PyObject
* obj1
= 0 ;
5763 char * kwnames
[] = {
5764 (char *) "self",(char *) "flags", NULL
5767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5769 if (!SWIG_IsOK(res1
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5772 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5775 if (!SWIG_IsOK(ecode2
)) {
5776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5778 arg2
= static_cast< int >(val2
);
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 (arg1
)->RequestUserAttention(arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= SWIG_Py_Void();
5793 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5794 PyObject
*resultobj
= 0;
5795 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5799 PyObject
*swig_obj
[1] ;
5801 if (!args
) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5807 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (bool)(arg1
)->IsActive();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5823 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
= 0;
5825 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "on", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5842 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5844 if (!SWIG_IsOK(ecode2
)) {
5845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5847 arg2
= static_cast< bool >(val2
);
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_Py_Void();
5861 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5862 PyObject
*resultobj
= 0;
5863 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5867 PyObject
*swig_obj
[1] ;
5869 if (!args
) SWIG_fail
;
5871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5872 if (!SWIG_IsOK(res1
)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5875 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5891 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
= 0;
5893 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5894 int arg2
= (int) wxBOTH
;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5901 char * kwnames
[] = {
5902 (char *) "self",(char *) "dir", NULL
5905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5907 if (!SWIG_IsOK(res1
)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5910 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5913 if (!SWIG_IsOK(ecode2
)) {
5914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5916 arg2
= static_cast< int >(val2
);
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 (arg1
)->CenterOnScreen(arg2
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_Py_Void();
5931 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5934 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5935 return SWIG_Py_Void();
5938 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
= 0;
5940 wxWindow
*arg1
= (wxWindow
*) 0 ;
5941 int arg2
= (int) (int)-1 ;
5942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5948 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5949 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5951 wxFrame
*result
= 0 ;
5956 bool temp3
= false ;
5961 bool temp7
= false ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5965 PyObject
* obj3
= 0 ;
5966 PyObject
* obj4
= 0 ;
5967 PyObject
* obj5
= 0 ;
5968 PyObject
* obj6
= 0 ;
5969 char * kwnames
[] = {
5970 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5975 if (!SWIG_IsOK(res1
)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
5978 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5981 if (!SWIG_IsOK(ecode2
)) {
5982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
5984 arg2
= static_cast< int >(val2
);
5988 arg3
= wxString_in_helper(obj2
);
5989 if (arg3
== NULL
) SWIG_fail
;
5996 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6002 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6006 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6007 if (!SWIG_IsOK(ecode6
)) {
6008 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6010 arg6
= static_cast< long >(val6
);
6014 arg7
= wxString_in_helper(obj6
);
6015 if (arg7
== NULL
) SWIG_fail
;
6020 if (!wxPyCheckForApp()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6049 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 PyObject
*resultobj
= 0;
6051 wxFrame
*result
= 0 ;
6053 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6055 if (!wxPyCheckForApp()) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (wxFrame
*)new wxFrame();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6068 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
= 0;
6070 wxFrame
*arg1
= (wxFrame
*) 0 ;
6071 wxWindow
*arg2
= (wxWindow
*) 0 ;
6072 int arg3
= (int) (int)-1 ;
6073 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6074 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6075 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6076 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6077 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6078 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6079 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6080 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6081 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6089 bool temp4
= false ;
6094 bool temp8
= false ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6097 PyObject
* obj2
= 0 ;
6098 PyObject
* obj3
= 0 ;
6099 PyObject
* obj4
= 0 ;
6100 PyObject
* obj5
= 0 ;
6101 PyObject
* obj6
= 0 ;
6102 PyObject
* obj7
= 0 ;
6103 char * kwnames
[] = {
6104 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6109 if (!SWIG_IsOK(res1
)) {
6110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6112 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6114 if (!SWIG_IsOK(res2
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6117 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6120 if (!SWIG_IsOK(ecode3
)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6123 arg3
= static_cast< int >(val3
);
6127 arg4
= wxString_in_helper(obj3
);
6128 if (arg4
== NULL
) SWIG_fail
;
6135 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6141 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6145 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6146 if (!SWIG_IsOK(ecode7
)) {
6147 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6149 arg7
= static_cast< long >(val7
);
6153 arg8
= wxString_in_helper(obj7
);
6154 if (arg8
== NULL
) SWIG_fail
;
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6189 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6190 PyObject
*resultobj
= 0;
6191 wxFrame
*arg1
= (wxFrame
*) 0 ;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6202 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 (arg1
)->SendSizeEvent();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_Py_Void();
6216 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= 0;
6218 wxFrame
*arg1
= (wxFrame
*) 0 ;
6219 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "self",(char *) "menubar", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6232 if (!SWIG_IsOK(res1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6235 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6237 if (!SWIG_IsOK(res2
)) {
6238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6240 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 (arg1
)->SetMenuBar(arg2
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_Py_Void();
6254 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6255 PyObject
*resultobj
= 0;
6256 wxFrame
*arg1
= (wxFrame
*) 0 ;
6257 wxMenuBar
*result
= 0 ;
6260 PyObject
*swig_obj
[1] ;
6262 if (!args
) SWIG_fail
;
6264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6265 if (!SWIG_IsOK(res1
)) {
6266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6268 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= wxPyMake_wxObject(result
, 0);
6284 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
= 0;
6286 wxFrame
*arg1
= (wxFrame
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 char * kwnames
[] = {
6296 (char *) "self",(char *) "winid", NULL
6299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6304 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6306 if (!SWIG_IsOK(ecode2
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6309 arg2
= static_cast< int >(val2
);
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6325 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 wxFrame
*arg1
= (wxFrame
*) 0 ;
6328 int arg2
= (int) 1 ;
6329 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6330 int arg4
= (int) 0 ;
6331 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6332 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6333 wxStatusBar
*result
= 0 ;
6342 bool temp5
= false ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6345 PyObject
* obj2
= 0 ;
6346 PyObject
* obj3
= 0 ;
6347 PyObject
* obj4
= 0 ;
6348 char * kwnames
[] = {
6349 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6354 if (!SWIG_IsOK(res1
)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6357 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6360 if (!SWIG_IsOK(ecode2
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6363 arg2
= static_cast< int >(val2
);
6366 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6367 if (!SWIG_IsOK(ecode3
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6370 arg3
= static_cast< long >(val3
);
6373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6374 if (!SWIG_IsOK(ecode4
)) {
6375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6377 arg4
= static_cast< int >(val4
);
6381 arg5
= wxString_in_helper(obj4
);
6382 if (arg5
== NULL
) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6409 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6410 PyObject
*resultobj
= 0;
6411 wxFrame
*arg1
= (wxFrame
*) 0 ;
6412 wxStatusBar
*result
= 0 ;
6415 PyObject
*swig_obj
[1] ;
6417 if (!args
) SWIG_fail
;
6419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6420 if (!SWIG_IsOK(res1
)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6423 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6439 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
= 0;
6441 wxFrame
*arg1
= (wxFrame
*) 0 ;
6442 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6449 char * kwnames
[] = {
6450 (char *) "self",(char *) "statBar", NULL
6453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6455 if (!SWIG_IsOK(res1
)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6458 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6460 if (!SWIG_IsOK(res2
)) {
6461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6463 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->SetStatusBar(arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_Py_Void();
6477 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
= 0;
6479 wxFrame
*arg1
= (wxFrame
*) 0 ;
6480 wxString
*arg2
= 0 ;
6481 int arg3
= (int) 0 ;
6484 bool temp2
= false ;
6487 PyObject
* obj0
= 0 ;
6488 PyObject
* obj1
= 0 ;
6489 PyObject
* obj2
= 0 ;
6490 char * kwnames
[] = {
6491 (char *) "self",(char *) "text",(char *) "number", NULL
6494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6499 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6501 arg2
= wxString_in_helper(obj1
);
6502 if (arg2
== NULL
) SWIG_fail
;
6506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6507 if (!SWIG_IsOK(ecode3
)) {
6508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6510 arg3
= static_cast< int >(val3
);
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_Py_Void();
6533 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= 0;
6535 wxFrame
*arg1
= (wxFrame
*) 0 ;
6537 int *arg3
= (int *) 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6542 char * kwnames
[] = {
6543 (char *) "self",(char *) "widths", NULL
6546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6551 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6553 arg2
= PyList_Size(obj1
);
6554 arg3
= int_LIST_helper(obj1
);
6555 if (arg3
== NULL
) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_Py_Void();
6565 if (arg3
) delete [] arg3
;
6570 if (arg3
) delete [] arg3
;
6576 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
= 0;
6578 wxFrame
*arg1
= (wxFrame
*) 0 ;
6579 wxString
*arg2
= 0 ;
6580 int arg3
= (int) 0 ;
6583 bool temp2
= false ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 PyObject
* obj2
= 0 ;
6589 char * kwnames
[] = {
6590 (char *) "self",(char *) "text",(char *) "number", NULL
6593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6595 if (!SWIG_IsOK(res1
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6598 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6600 arg2
= wxString_in_helper(obj1
);
6601 if (arg2
== NULL
) SWIG_fail
;
6605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6606 if (!SWIG_IsOK(ecode3
)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6609 arg3
= static_cast< int >(val3
);
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_Py_Void();
6632 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
= 0;
6634 wxFrame
*arg1
= (wxFrame
*) 0 ;
6635 int arg2
= (int) 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 char * kwnames
[] = {
6643 (char *) "self",(char *) "number", NULL
6646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6648 if (!SWIG_IsOK(res1
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6651 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6654 if (!SWIG_IsOK(ecode2
)) {
6655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6657 arg2
= static_cast< int >(val2
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 (arg1
)->PopStatusText(arg2
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_Py_Void();
6672 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxFrame
*arg1
= (wxFrame
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "n", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6691 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6693 if (!SWIG_IsOK(ecode2
)) {
6694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6696 arg2
= static_cast< int >(val2
);
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 (arg1
)->SetStatusBarPane(arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_Py_Void();
6710 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6711 PyObject
*resultobj
= 0;
6712 wxFrame
*arg1
= (wxFrame
*) 0 ;
6716 PyObject
*swig_obj
[1] ;
6718 if (!args
) SWIG_fail
;
6720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6721 if (!SWIG_IsOK(res1
)) {
6722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6724 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= SWIG_From_int(static_cast< int >(result
));
6738 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= 0;
6740 wxFrame
*arg1
= (wxFrame
*) 0 ;
6741 long arg2
= (long) -1 ;
6742 int arg3
= (int) -1 ;
6743 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6744 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6745 wxToolBar
*result
= 0 ;
6752 bool temp4
= false ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 char * kwnames
[] = {
6758 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6763 if (!SWIG_IsOK(res1
)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6766 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6768 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6769 if (!SWIG_IsOK(ecode2
)) {
6770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6772 arg2
= static_cast< long >(val2
);
6775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6776 if (!SWIG_IsOK(ecode3
)) {
6777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6779 arg3
= static_cast< int >(val3
);
6783 arg4
= wxString_in_helper(obj3
);
6784 if (arg4
== NULL
) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6811 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6812 PyObject
*resultobj
= 0;
6813 wxFrame
*arg1
= (wxFrame
*) 0 ;
6814 wxToolBar
*result
= 0 ;
6817 PyObject
*swig_obj
[1] ;
6819 if (!args
) SWIG_fail
;
6821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6822 if (!SWIG_IsOK(res1
)) {
6823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6825 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6841 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
= 0;
6843 wxFrame
*arg1
= (wxFrame
*) 0 ;
6844 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6851 char * kwnames
[] = {
6852 (char *) "self",(char *) "toolbar", NULL
6855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6857 if (!SWIG_IsOK(res1
)) {
6858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6860 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6862 if (!SWIG_IsOK(res2
)) {
6863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6865 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->SetToolBar(arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_Py_Void();
6879 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
= 0;
6881 wxFrame
*arg1
= (wxFrame
*) 0 ;
6882 wxString
*arg2
= 0 ;
6886 bool temp2
= false ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6891 PyObject
* obj2
= 0 ;
6892 char * kwnames
[] = {
6893 (char *) "self",(char *) "text",(char *) "show", NULL
6896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6898 if (!SWIG_IsOK(res1
)) {
6899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6901 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6903 arg2
= wxString_in_helper(obj1
);
6904 if (arg2
== NULL
) SWIG_fail
;
6907 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6908 if (!SWIG_IsOK(ecode3
)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6911 arg3
= static_cast< bool >(val3
);
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_Py_Void();
6933 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
= 0;
6935 wxFrame
*arg1
= (wxFrame
*) 0 ;
6936 wxMenu
*arg2
= (wxMenu
*) NULL
;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 char * kwnames
[] = {
6944 (char *) "self",(char *) "menu", NULL
6947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6949 if (!SWIG_IsOK(res1
)) {
6950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6952 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6955 if (!SWIG_IsOK(res2
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6958 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 (arg1
)->DoMenuUpdates(arg2
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_Py_Void();
6973 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
= 0;
6975 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6976 SwigValueWrapper
<wxVisualAttributes
> result
;
6979 PyObject
* obj0
= 0 ;
6980 char * kwnames
[] = {
6981 (char *) "variant", NULL
6984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6987 if (!SWIG_IsOK(ecode1
)) {
6988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6990 arg1
= static_cast< wxWindowVariant
>(val1
);
6993 if (!wxPyCheckForApp()) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= wxFrame::GetClassDefaultAttributes(arg1
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7006 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7009 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7010 return SWIG_Py_Void();
7013 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7014 return SWIG_Python_InitShadowInstance(args
);
7017 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxWindow
*arg1
= (wxWindow
*) 0 ;
7020 int arg2
= (int) (int)-1 ;
7021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7027 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7028 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7030 wxDialog
*result
= 0 ;
7035 bool temp3
= false ;
7040 bool temp7
= false ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7043 PyObject
* obj2
= 0 ;
7044 PyObject
* obj3
= 0 ;
7045 PyObject
* obj4
= 0 ;
7046 PyObject
* obj5
= 0 ;
7047 PyObject
* obj6
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7060 if (!SWIG_IsOK(ecode2
)) {
7061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7063 arg2
= static_cast< int >(val2
);
7067 arg3
= wxString_in_helper(obj2
);
7068 if (arg3
== NULL
) SWIG_fail
;
7075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7086 if (!SWIG_IsOK(ecode6
)) {
7087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7089 arg6
= static_cast< long >(val6
);
7093 arg7
= wxString_in_helper(obj6
);
7094 if (arg7
== NULL
) SWIG_fail
;
7099 if (!wxPyCheckForApp()) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7128 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7129 PyObject
*resultobj
= 0;
7130 wxDialog
*result
= 0 ;
7132 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7134 if (!wxPyCheckForApp()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (wxDialog
*)new wxDialog();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7147 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7149 wxDialog
*arg1
= (wxDialog
*) 0 ;
7150 wxWindow
*arg2
= (wxWindow
*) 0 ;
7151 int arg3
= (int) (int)-1 ;
7152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7158 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7159 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7168 bool temp4
= false ;
7173 bool temp8
= false ;
7174 PyObject
* obj0
= 0 ;
7175 PyObject
* obj1
= 0 ;
7176 PyObject
* obj2
= 0 ;
7177 PyObject
* obj3
= 0 ;
7178 PyObject
* obj4
= 0 ;
7179 PyObject
* obj5
= 0 ;
7180 PyObject
* obj6
= 0 ;
7181 PyObject
* obj7
= 0 ;
7182 char * kwnames
[] = {
7183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7188 if (!SWIG_IsOK(res1
)) {
7189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7191 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7193 if (!SWIG_IsOK(res2
)) {
7194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7199 if (!SWIG_IsOK(ecode3
)) {
7200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7202 arg3
= static_cast< int >(val3
);
7206 arg4
= wxString_in_helper(obj3
);
7207 if (arg4
== NULL
) SWIG_fail
;
7214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7225 if (!SWIG_IsOK(ecode7
)) {
7226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7228 arg7
= static_cast< long >(val7
);
7232 arg8
= wxString_in_helper(obj7
);
7233 if (arg8
== NULL
) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7268 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
= 0;
7270 wxDialog
*arg1
= (wxDialog
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 char * kwnames
[] = {
7279 (char *) "self",(char *) "returnCode", NULL
7282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7284 if (!SWIG_IsOK(res1
)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7287 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7289 if (!SWIG_IsOK(ecode2
)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7292 arg2
= static_cast< int >(val2
);
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 (arg1
)->SetReturnCode(arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_Py_Void();
7306 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 PyObject
*resultobj
= 0;
7308 wxDialog
*arg1
= (wxDialog
*) 0 ;
7312 PyObject
*swig_obj
[1] ;
7314 if (!args
) SWIG_fail
;
7316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7317 if (!SWIG_IsOK(res1
)) {
7318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7320 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= SWIG_From_int(static_cast< int >(result
));
7334 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
= 0;
7336 wxDialog
*arg1
= (wxDialog
*) 0 ;
7342 PyObject
* obj0
= 0 ;
7343 PyObject
* obj1
= 0 ;
7344 char * kwnames
[] = {
7345 (char *) "self",(char *) "affirmativeId", NULL
7348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7350 if (!SWIG_IsOK(res1
)) {
7351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7353 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7355 if (!SWIG_IsOK(ecode2
)) {
7356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7358 arg2
= static_cast< int >(val2
);
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 (arg1
)->SetAffirmativeId(arg2
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_Py_Void();
7372 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 PyObject
*resultobj
= 0;
7374 wxDialog
*arg1
= (wxDialog
*) 0 ;
7378 PyObject
*swig_obj
[1] ;
7380 if (!args
) SWIG_fail
;
7382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7383 if (!SWIG_IsOK(res1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7386 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_From_int(static_cast< int >(result
));
7400 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
= 0;
7402 wxDialog
*arg1
= (wxDialog
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7409 PyObject
* obj1
= 0 ;
7410 char * kwnames
[] = {
7411 (char *) "self",(char *) "escapeId", NULL
7414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7416 if (!SWIG_IsOK(res1
)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7419 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7421 if (!SWIG_IsOK(ecode2
)) {
7422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7424 arg2
= static_cast< int >(val2
);
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 (arg1
)->SetEscapeId(arg2
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= SWIG_Py_Void();
7438 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7439 PyObject
*resultobj
= 0;
7440 wxDialog
*arg1
= (wxDialog
*) 0 ;
7444 PyObject
*swig_obj
[1] ;
7446 if (!args
) SWIG_fail
;
7448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7449 if (!SWIG_IsOK(res1
)) {
7450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7452 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= SWIG_From_int(static_cast< int >(result
));
7466 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
= 0;
7468 wxDialog
*arg1
= (wxDialog
*) 0 ;
7469 wxString
*arg2
= 0 ;
7470 wxSizer
*result
= 0 ;
7473 bool temp2
= false ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 char * kwnames
[] = {
7477 (char *) "self",(char *) "message", NULL
7480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7482 if (!SWIG_IsOK(res1
)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7485 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7487 arg2
= wxString_in_helper(obj1
);
7488 if (arg2
== NULL
) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7514 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
= 0;
7516 wxDialog
*arg1
= (wxDialog
*) 0 ;
7518 bool arg3
= (bool) false ;
7519 int arg4
= (int) 0 ;
7520 wxSizer
*result
= 0 ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7531 PyObject
* obj2
= 0 ;
7532 PyObject
* obj3
= 0 ;
7533 char * kwnames
[] = {
7534 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7539 if (!SWIG_IsOK(res1
)) {
7540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7542 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7543 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7544 if (!SWIG_IsOK(ecode2
)) {
7545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7547 arg2
= static_cast< long >(val2
);
7549 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7550 if (!SWIG_IsOK(ecode3
)) {
7551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7553 arg3
= static_cast< bool >(val3
);
7556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7557 if (!SWIG_IsOK(ecode4
)) {
7558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7560 arg4
= static_cast< int >(val4
);
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7577 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
= 0;
7579 wxDialog
*arg1
= (wxDialog
*) 0 ;
7581 wxStdDialogButtonSizer
*result
= 0 ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7588 char * kwnames
[] = {
7589 (char *) "self",(char *) "flags", NULL
7592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7594 if (!SWIG_IsOK(res1
)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7597 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7599 if (!SWIG_IsOK(ecode2
)) {
7600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7602 arg2
= static_cast< long >(val2
);
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7616 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7617 PyObject
*resultobj
= 0;
7618 wxDialog
*arg1
= (wxDialog
*) 0 ;
7622 PyObject
*swig_obj
[1] ;
7624 if (!args
) SWIG_fail
;
7626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7627 if (!SWIG_IsOK(res1
)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7630 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7646 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7647 PyObject
*resultobj
= 0;
7648 wxDialog
*arg1
= (wxDialog
*) 0 ;
7652 PyObject
*swig_obj
[1] ;
7654 if (!args
) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7660 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (int)(arg1
)->ShowModal();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_From_int(static_cast< int >(result
));
7674 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
= 0;
7676 wxDialog
*arg1
= (wxDialog
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7684 char * kwnames
[] = {
7685 (char *) "self",(char *) "retCode", NULL
7688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7690 if (!SWIG_IsOK(res1
)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7693 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7695 if (!SWIG_IsOK(ecode2
)) {
7696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7698 arg2
= static_cast< int >(val2
);
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->EndModal(arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_Py_Void();
7712 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
= 0;
7714 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7715 SwigValueWrapper
<wxVisualAttributes
> result
;
7718 PyObject
* obj0
= 0 ;
7719 char * kwnames
[] = {
7720 (char *) "variant", NULL
7723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7726 if (!SWIG_IsOK(ecode1
)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7729 arg1
= static_cast< wxWindowVariant
>(val1
);
7732 if (!wxPyCheckForApp()) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7745 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7748 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7749 return SWIG_Py_Void();
7752 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 return SWIG_Python_InitShadowInstance(args
);
7756 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxWindow
*arg1
= (wxWindow
*) 0 ;
7759 int arg2
= (int) (int)-1 ;
7760 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7761 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7766 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7767 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7768 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7769 wxMiniFrame
*result
= 0 ;
7774 bool temp3
= false ;
7779 bool temp7
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7783 PyObject
* obj3
= 0 ;
7784 PyObject
* obj4
= 0 ;
7785 PyObject
* obj5
= 0 ;
7786 PyObject
* obj6
= 0 ;
7787 char * kwnames
[] = {
7788 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7793 if (!SWIG_IsOK(res1
)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7799 if (!SWIG_IsOK(ecode2
)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7802 arg2
= static_cast< int >(val2
);
7806 arg3
= wxString_in_helper(obj2
);
7807 if (arg3
== NULL
) SWIG_fail
;
7814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7824 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7825 if (!SWIG_IsOK(ecode6
)) {
7826 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7828 arg6
= static_cast< long >(val6
);
7832 arg7
= wxString_in_helper(obj6
);
7833 if (arg7
== NULL
) SWIG_fail
;
7838 if (!wxPyCheckForApp()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7867 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7868 PyObject
*resultobj
= 0;
7869 wxMiniFrame
*result
= 0 ;
7871 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7873 if (!wxPyCheckForApp()) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (wxMiniFrame
*)new wxMiniFrame();
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7886 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
= 0;
7888 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7889 wxWindow
*arg2
= (wxWindow
*) 0 ;
7890 int arg3
= (int) (int)-1 ;
7891 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7897 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7898 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7899 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7907 bool temp4
= false ;
7912 bool temp8
= false ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 PyObject
* obj2
= 0 ;
7916 PyObject
* obj3
= 0 ;
7917 PyObject
* obj4
= 0 ;
7918 PyObject
* obj5
= 0 ;
7919 PyObject
* obj6
= 0 ;
7920 PyObject
* obj7
= 0 ;
7921 char * kwnames
[] = {
7922 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7930 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7932 if (!SWIG_IsOK(res2
)) {
7933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7938 if (!SWIG_IsOK(ecode3
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7941 arg3
= static_cast< int >(val3
);
7945 arg4
= wxString_in_helper(obj3
);
7946 if (arg4
== NULL
) SWIG_fail
;
7953 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7959 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7963 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7964 if (!SWIG_IsOK(ecode7
)) {
7965 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
7967 arg7
= static_cast< long >(val7
);
7971 arg8
= wxString_in_helper(obj7
);
7972 if (arg8
== NULL
) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8007 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8010 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8011 return SWIG_Py_Void();
8014 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8015 return SWIG_Python_InitShadowInstance(args
);
8018 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
= 0;
8020 wxBitmap
*arg1
= 0 ;
8021 wxWindow
*arg2
= (wxWindow
*) 0 ;
8023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8027 long arg6
= (long) wxNO_BORDER
;
8028 wxSplashScreenWindow
*result
= 0 ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8042 PyObject
* obj3
= 0 ;
8043 PyObject
* obj4
= 0 ;
8044 PyObject
* obj5
= 0 ;
8045 char * kwnames
[] = {
8046 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8050 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8051 if (!SWIG_IsOK(res1
)) {
8052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8059 if (!SWIG_IsOK(res2
)) {
8060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8064 if (!SWIG_IsOK(ecode3
)) {
8065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8067 arg3
= static_cast< int >(val3
);
8071 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8077 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8081 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8082 if (!SWIG_IsOK(ecode6
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8085 arg6
= static_cast< long >(val6
);
8088 if (!wxPyCheckForApp()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8101 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
= 0;
8103 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8104 wxBitmap
*arg2
= 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8111 char * kwnames
[] = {
8112 (char *) "self",(char *) "bitmap", NULL
8115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8117 if (!SWIG_IsOK(res1
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8120 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8122 if (!SWIG_IsOK(res2
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8128 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_Py_Void();
8142 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8143 PyObject
*resultobj
= 0;
8144 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8145 wxBitmap
*result
= 0 ;
8148 PyObject
*swig_obj
[1] ;
8150 if (!args
) SWIG_fail
;
8152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8153 if (!SWIG_IsOK(res1
)) {
8154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8156 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8161 result
= (wxBitmap
*) &_result_ref
;
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8167 wxBitmap
* resultptr
= new wxBitmap(*result
);
8168 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8176 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8179 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8180 return SWIG_Py_Void();
8183 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8184 return SWIG_Python_InitShadowInstance(args
);
8187 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
= 0;
8189 wxBitmap
*arg1
= 0 ;
8192 wxWindow
*arg4
= (wxWindow
*) 0 ;
8193 int arg5
= (int) -1 ;
8194 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8195 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8196 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8197 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8198 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8199 wxSplashScreen
*result
= 0 ;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 PyObject
* obj2
= 0 ;
8217 PyObject
* obj3
= 0 ;
8218 PyObject
* obj4
= 0 ;
8219 PyObject
* obj5
= 0 ;
8220 PyObject
* obj6
= 0 ;
8221 PyObject
* obj7
= 0 ;
8222 char * kwnames
[] = {
8223 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8234 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8235 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8236 if (!SWIG_IsOK(ecode2
)) {
8237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8239 arg2
= static_cast< long >(val2
);
8240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8241 if (!SWIG_IsOK(ecode3
)) {
8242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8244 arg3
= static_cast< int >(val3
);
8245 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8246 if (!SWIG_IsOK(res4
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8249 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8251 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8252 if (!SWIG_IsOK(ecode5
)) {
8253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8255 arg5
= static_cast< int >(val5
);
8260 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8266 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8270 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8271 if (!SWIG_IsOK(ecode8
)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8274 arg8
= static_cast< long >(val8
);
8277 if (!wxPyCheckForApp()) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8290 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8291 PyObject
*resultobj
= 0;
8292 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8296 PyObject
*swig_obj
[1] ;
8298 if (!args
) SWIG_fail
;
8300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8301 if (!SWIG_IsOK(res1
)) {
8302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8304 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= SWIG_From_long(static_cast< long >(result
));
8318 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8321 wxSplashScreenWindow
*result
= 0 ;
8324 PyObject
*swig_obj
[1] ;
8326 if (!args
) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8332 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8346 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8347 PyObject
*resultobj
= 0;
8348 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8352 PyObject
*swig_obj
[1] ;
8354 if (!args
) SWIG_fail
;
8356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8357 if (!SWIG_IsOK(res1
)) {
8358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8360 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_From_int(static_cast< int >(result
));
8374 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8377 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8378 return SWIG_Py_Void();
8381 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8382 return SWIG_Python_InitShadowInstance(args
);
8385 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
= 0;
8387 wxWindow
*arg1
= (wxWindow
*) 0 ;
8388 int arg2
= (int) -1 ;
8389 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8390 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8391 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8392 wxStatusBar
*result
= 0 ;
8399 bool temp4
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 PyObject
* obj3
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8416 if (!SWIG_IsOK(ecode2
)) {
8417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8419 arg2
= static_cast< int >(val2
);
8422 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8423 if (!SWIG_IsOK(ecode3
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8426 arg3
= static_cast< long >(val3
);
8430 arg4
= wxString_in_helper(obj3
);
8431 if (arg4
== NULL
) SWIG_fail
;
8436 if (!wxPyCheckForApp()) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8457 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8458 PyObject
*resultobj
= 0;
8459 wxStatusBar
*result
= 0 ;
8461 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8463 if (!wxPyCheckForApp()) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (wxStatusBar
*)new wxStatusBar();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8476 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
= 0;
8478 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8479 wxWindow
*arg2
= (wxWindow
*) 0 ;
8480 int arg3
= (int) -1 ;
8481 long arg4
= (long) wxST_SIZEGRIP
;
8482 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8483 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8493 bool temp5
= false ;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8496 PyObject
* obj2
= 0 ;
8497 PyObject
* obj3
= 0 ;
8498 PyObject
* obj4
= 0 ;
8499 char * kwnames
[] = {
8500 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8505 if (!SWIG_IsOK(res1
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8508 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8510 if (!SWIG_IsOK(res2
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8513 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8516 if (!SWIG_IsOK(ecode3
)) {
8517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8519 arg3
= static_cast< int >(val3
);
8522 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8523 if (!SWIG_IsOK(ecode4
)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8526 arg4
= static_cast< long >(val4
);
8530 arg5
= wxString_in_helper(obj4
);
8531 if (arg5
== NULL
) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8558 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
= 0;
8560 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8561 int arg2
= (int) 1 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8568 char * kwnames
[] = {
8569 (char *) "self",(char *) "number", NULL
8572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8574 if (!SWIG_IsOK(res1
)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8577 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8580 if (!SWIG_IsOK(ecode2
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8583 arg2
= static_cast< int >(val2
);
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 (arg1
)->SetFieldsCount(arg2
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= SWIG_Py_Void();
8598 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8599 PyObject
*resultobj
= 0;
8600 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8604 PyObject
*swig_obj
[1] ;
8606 if (!args
) SWIG_fail
;
8608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8609 if (!SWIG_IsOK(res1
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8612 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= SWIG_From_int(static_cast< int >(result
));
8626 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
= 0;
8628 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8629 wxString
*arg2
= 0 ;
8630 int arg3
= (int) 0 ;
8633 bool temp2
= false ;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8638 PyObject
* obj2
= 0 ;
8639 char * kwnames
[] = {
8640 (char *) "self",(char *) "text",(char *) "number", NULL
8643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8645 if (!SWIG_IsOK(res1
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8648 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8650 arg2
= wxString_in_helper(obj1
);
8651 if (arg2
== NULL
) SWIG_fail
;
8655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8656 if (!SWIG_IsOK(ecode3
)) {
8657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8659 arg3
= static_cast< int >(val3
);
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_Py_Void();
8682 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
= 0;
8684 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8685 int arg2
= (int) 0 ;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 char * kwnames
[] = {
8694 (char *) "self",(char *) "number", NULL
8697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8702 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8705 if (!SWIG_IsOK(ecode2
)) {
8706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8708 arg2
= static_cast< int >(val2
);
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8729 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
= 0;
8731 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8732 wxString
*arg2
= 0 ;
8733 int arg3
= (int) 0 ;
8736 bool temp2
= false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8742 char * kwnames
[] = {
8743 (char *) "self",(char *) "text",(char *) "number", NULL
8746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8748 if (!SWIG_IsOK(res1
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8751 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8753 arg2
= wxString_in_helper(obj1
);
8754 if (arg2
== NULL
) SWIG_fail
;
8758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8759 if (!SWIG_IsOK(ecode3
)) {
8760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8762 arg3
= static_cast< int >(val3
);
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_Py_Void();
8785 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
= 0;
8787 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8788 int arg2
= (int) 0 ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 char * kwnames
[] = {
8796 (char *) "self",(char *) "number", NULL
8799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8801 if (!SWIG_IsOK(res1
)) {
8802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8804 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8807 if (!SWIG_IsOK(ecode2
)) {
8808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8810 arg2
= static_cast< int >(val2
);
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->PopStatusText(arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_Py_Void();
8825 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
= 0;
8827 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8829 int *arg3
= (int *) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8834 char * kwnames
[] = {
8835 (char *) "self",(char *) "widths", NULL
8838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8840 if (!SWIG_IsOK(res1
)) {
8841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8843 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8845 arg2
= PyList_Size(obj1
);
8846 arg3
= int_LIST_helper(obj1
);
8847 if (arg3
== NULL
) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_Py_Void();
8857 if (arg3
) delete [] arg3
;
8862 if (arg3
) delete [] arg3
;
8868 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
= 0;
8870 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8872 int *arg3
= (int *) 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 char * kwnames
[] = {
8878 (char *) "self",(char *) "styles", NULL
8881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8883 if (!SWIG_IsOK(res1
)) {
8884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8886 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8888 arg2
= PyList_Size(obj1
);
8889 arg3
= int_LIST_helper(obj1
);
8890 if (arg3
== NULL
) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8900 if (arg3
) delete [] arg3
;
8905 if (arg3
) delete [] arg3
;
8911 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
= 0;
8913 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 char * kwnames
[] = {
8923 (char *) "self",(char *) "i", NULL
8926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8928 if (!SWIG_IsOK(res1
)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8931 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8933 if (!SWIG_IsOK(ecode2
)) {
8934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8936 arg2
= static_cast< int >(val2
);
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8950 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
= 0;
8952 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 char * kwnames
[] = {
8961 (char *) "self",(char *) "height", NULL
8964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8969 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8971 if (!SWIG_IsOK(ecode2
)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8974 arg2
= static_cast< int >(val2
);
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->SetMinHeight(arg2
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 resultobj
= SWIG_Py_Void();
8988 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8989 PyObject
*resultobj
= 0;
8990 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8994 PyObject
*swig_obj
[1] ;
8996 if (!args
) SWIG_fail
;
8998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8999 if (!SWIG_IsOK(res1
)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9002 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= SWIG_From_int(static_cast< int >(result
));
9016 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9017 PyObject
*resultobj
= 0;
9018 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9022 PyObject
*swig_obj
[1] ;
9024 if (!args
) SWIG_fail
;
9026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9027 if (!SWIG_IsOK(res1
)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9030 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_From_int(static_cast< int >(result
));
9044 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= 0;
9046 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9047 SwigValueWrapper
<wxVisualAttributes
> result
;
9050 PyObject
* obj0
= 0 ;
9051 char * kwnames
[] = {
9052 (char *) "variant", NULL
9055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9058 if (!SWIG_IsOK(ecode1
)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9061 arg1
= static_cast< wxWindowVariant
>(val1
);
9064 if (!wxPyCheckForApp()) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9077 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9080 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9081 return SWIG_Py_Void();
9084 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9085 return SWIG_Python_InitShadowInstance(args
);
9088 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9089 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9094 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9095 PyObject
*pyobj
= 0;
9099 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9101 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9108 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
= 0;
9110 wxWindow
*arg1
= (wxWindow
*) 0 ;
9111 int arg2
= (int) -1 ;
9112 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9113 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9114 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9115 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9116 long arg5
= (long) wxSP_3D
;
9117 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9118 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9119 wxSplitterWindow
*result
= 0 ;
9128 bool temp6
= false ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 PyObject
* obj2
= 0 ;
9132 PyObject
* obj3
= 0 ;
9133 PyObject
* obj4
= 0 ;
9134 PyObject
* obj5
= 0 ;
9135 char * kwnames
[] = {
9136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9141 if (!SWIG_IsOK(res1
)) {
9142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9147 if (!SWIG_IsOK(ecode2
)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9150 arg2
= static_cast< int >(val2
);
9155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9161 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9165 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9166 if (!SWIG_IsOK(ecode5
)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9169 arg5
= static_cast< long >(val5
);
9173 arg6
= wxString_in_helper(obj5
);
9174 if (arg6
== NULL
) SWIG_fail
;
9179 if (!wxPyCheckForApp()) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9200 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9201 PyObject
*resultobj
= 0;
9202 wxSplitterWindow
*result
= 0 ;
9204 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9206 if (!wxPyCheckForApp()) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9219 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
= 0;
9221 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9222 wxWindow
*arg2
= (wxWindow
*) 0 ;
9223 int arg3
= (int) -1 ;
9224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9228 long arg6
= (long) wxSP_3D
;
9229 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9242 bool temp7
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 PyObject
* obj2
= 0 ;
9246 PyObject
* obj3
= 0 ;
9247 PyObject
* obj4
= 0 ;
9248 PyObject
* obj5
= 0 ;
9249 PyObject
* obj6
= 0 ;
9250 char * kwnames
[] = {
9251 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9256 if (!SWIG_IsOK(res1
)) {
9257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9259 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9261 if (!SWIG_IsOK(res2
)) {
9262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9264 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9267 if (!SWIG_IsOK(ecode3
)) {
9268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9270 arg3
= static_cast< int >(val3
);
9275 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9281 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9285 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9286 if (!SWIG_IsOK(ecode6
)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9289 arg6
= static_cast< long >(val6
);
9293 arg7
= wxString_in_helper(obj6
);
9294 if (arg7
== NULL
) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9322 PyObject
*resultobj
= 0;
9323 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9324 wxWindow
*result
= 0 ;
9327 PyObject
*swig_obj
[1] ;
9329 if (!args
) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9335 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= wxPyMake_wxObject(result
, 0);
9351 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9352 PyObject
*resultobj
= 0;
9353 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9354 wxWindow
*result
= 0 ;
9357 PyObject
*swig_obj
[1] ;
9359 if (!args
) SWIG_fail
;
9361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9362 if (!SWIG_IsOK(res1
)) {
9363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9365 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= wxPyMake_wxObject(result
, 0);
9381 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "self",(char *) "mode", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9400 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9402 if (!SWIG_IsOK(ecode2
)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9405 arg2
= static_cast< int >(val2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->SetSplitMode(arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9420 PyObject
*resultobj
= 0;
9421 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9425 PyObject
*swig_obj
[1] ;
9427 if (!args
) SWIG_fail
;
9429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9430 if (!SWIG_IsOK(res1
)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9433 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_From_int(static_cast< int >(result
));
9447 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9450 wxWindow
*arg2
= (wxWindow
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 char * kwnames
[] = {
9458 (char *) "self",(char *) "window", NULL
9461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9463 if (!SWIG_IsOK(res1
)) {
9464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9466 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9468 if (!SWIG_IsOK(res2
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 (arg1
)->Initialize(arg2
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_Py_Void();
9485 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
= 0;
9487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9488 wxWindow
*arg2
= (wxWindow
*) 0 ;
9489 wxWindow
*arg3
= (wxWindow
*) 0 ;
9490 int arg4
= (int) 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 PyObject
* obj2
= 0 ;
9503 PyObject
* obj3
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9513 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9515 if (!SWIG_IsOK(res2
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9518 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9519 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9520 if (!SWIG_IsOK(res3
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9523 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9526 if (!SWIG_IsOK(ecode4
)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9529 arg4
= static_cast< int >(val4
);
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9546 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
= 0;
9548 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9549 wxWindow
*arg2
= (wxWindow
*) 0 ;
9550 wxWindow
*arg3
= (wxWindow
*) 0 ;
9551 int arg4
= (int) 0 ;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9563 PyObject
* obj2
= 0 ;
9564 PyObject
* obj3
= 0 ;
9565 char * kwnames
[] = {
9566 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9571 if (!SWIG_IsOK(res1
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9574 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9576 if (!SWIG_IsOK(res2
)) {
9577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9580 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9581 if (!SWIG_IsOK(res3
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9584 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9587 if (!SWIG_IsOK(ecode4
)) {
9588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9590 arg4
= static_cast< int >(val4
);
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9607 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
= 0;
9609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9610 wxWindow
*arg2
= (wxWindow
*) NULL
;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9618 char * kwnames
[] = {
9619 (char *) "self",(char *) "toRemove", NULL
9622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9624 if (!SWIG_IsOK(res1
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9627 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9630 if (!SWIG_IsOK(res2
)) {
9631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9633 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (bool)(arg1
)->Unsplit(arg2
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9650 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
= 0;
9652 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9653 wxWindow
*arg2
= (wxWindow
*) 0 ;
9654 wxWindow
*arg3
= (wxWindow
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9664 PyObject
* obj2
= 0 ;
9665 char * kwnames
[] = {
9666 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9671 if (!SWIG_IsOK(res1
)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9674 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9676 if (!SWIG_IsOK(res2
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9679 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9680 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9681 if (!SWIG_IsOK(res3
)) {
9682 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9684 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9700 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9701 PyObject
*resultobj
= 0;
9702 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9705 PyObject
*swig_obj
[1] ;
9707 if (!args
) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9713 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 (arg1
)->UpdateSize();
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= SWIG_Py_Void();
9727 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9728 PyObject
*resultobj
= 0;
9729 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9733 PyObject
*swig_obj
[1] ;
9735 if (!args
) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9741 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 char * kwnames
[] = {
9768 (char *) "self",(char *) "width", NULL
9771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9776 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9778 if (!SWIG_IsOK(ecode2
)) {
9779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9781 arg2
= static_cast< int >(val2
);
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 (arg1
)->SetSashSize(arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_Py_Void();
9795 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= 0;
9797 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 char * kwnames
[] = {
9806 (char *) "self",(char *) "width", NULL
9809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9811 if (!SWIG_IsOK(res1
)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9814 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9816 if (!SWIG_IsOK(ecode2
)) {
9817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9819 arg2
= static_cast< int >(val2
);
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetBorderSize(arg2
);
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_Py_Void();
9833 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9834 PyObject
*resultobj
= 0;
9835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9839 PyObject
*swig_obj
[1] ;
9841 if (!args
) SWIG_fail
;
9843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9844 if (!SWIG_IsOK(res1
)) {
9845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9847 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_From_int(static_cast< int >(result
));
9861 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9862 PyObject
*resultobj
= 0;
9863 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9867 PyObject
*swig_obj
[1] ;
9869 if (!args
) SWIG_fail
;
9871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9872 if (!SWIG_IsOK(res1
)) {
9873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9875 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_From_int(static_cast< int >(result
));
9889 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
= 0;
9891 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9893 bool arg3
= (bool) true ;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9902 PyObject
* obj2
= 0 ;
9903 char * kwnames
[] = {
9904 (char *) "self",(char *) "position",(char *) "redraw", NULL
9907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9909 if (!SWIG_IsOK(res1
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9912 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9914 if (!SWIG_IsOK(ecode2
)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9917 arg2
= static_cast< int >(val2
);
9919 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9920 if (!SWIG_IsOK(ecode3
)) {
9921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9923 arg3
= static_cast< bool >(val3
);
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 (arg1
)->SetSashPosition(arg2
,arg3
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_Py_Void();
9938 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9939 PyObject
*resultobj
= 0;
9940 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9944 PyObject
*swig_obj
[1] ;
9946 if (!args
) SWIG_fail
;
9948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9949 if (!SWIG_IsOK(res1
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9952 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_From_int(static_cast< int >(result
));
9966 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
= 0;
9968 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9976 char * kwnames
[] = {
9977 (char *) "self",(char *) "gravity", NULL
9980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9982 if (!SWIG_IsOK(res1
)) {
9983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9985 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9986 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9987 if (!SWIG_IsOK(ecode2
)) {
9988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
9990 arg2
= static_cast< double >(val2
);
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 (arg1
)->SetSashGravity(arg2
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_Py_Void();
10004 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10005 PyObject
*resultobj
= 0;
10006 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10010 PyObject
*swig_obj
[1] ;
10012 if (!args
) SWIG_fail
;
10013 swig_obj
[0] = args
;
10014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10015 if (!SWIG_IsOK(res1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10018 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_From_double(static_cast< double >(result
));
10032 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
= 0;
10034 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char * kwnames
[] = {
10043 (char *) "self",(char *) "min", NULL
10046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10048 if (!SWIG_IsOK(res1
)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10051 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10053 if (!SWIG_IsOK(ecode2
)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10056 arg2
= static_cast< int >(val2
);
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 (arg1
)->SetMinimumPaneSize(arg2
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_Py_Void();
10070 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10071 PyObject
*resultobj
= 0;
10072 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10076 PyObject
*swig_obj
[1] ;
10078 if (!args
) SWIG_fail
;
10079 swig_obj
[0] = args
;
10080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10081 if (!SWIG_IsOK(res1
)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10084 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_From_int(static_cast< int >(result
));
10098 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
= 0;
10100 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10103 int arg4
= (int) 5 ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 PyObject
* obj3
= 0 ;
10117 char * kwnames
[] = {
10118 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10123 if (!SWIG_IsOK(res1
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10126 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10128 if (!SWIG_IsOK(ecode2
)) {
10129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10131 arg2
= static_cast< int >(val2
);
10132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10133 if (!SWIG_IsOK(ecode3
)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10136 arg3
= static_cast< int >(val3
);
10138 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10139 if (!SWIG_IsOK(ecode4
)) {
10140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10142 arg4
= static_cast< int >(val4
);
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10159 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 PyObject
*resultobj
= 0;
10161 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10164 PyObject
*swig_obj
[1] ;
10166 if (!args
) SWIG_fail
;
10167 swig_obj
[0] = args
;
10168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10169 if (!SWIG_IsOK(res1
)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10172 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 (arg1
)->SizeWindows();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_Py_Void();
10186 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
= 0;
10188 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 char * kwnames
[] = {
10197 (char *) "self",(char *) "needUpdating", NULL
10200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10202 if (!SWIG_IsOK(res1
)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10205 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10206 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10207 if (!SWIG_IsOK(ecode2
)) {
10208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10210 arg2
= static_cast< bool >(val2
);
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 (arg1
)->SetNeedUpdating(arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= SWIG_Py_Void();
10224 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10225 PyObject
*resultobj
= 0;
10226 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10230 PyObject
*swig_obj
[1] ;
10232 if (!args
) SWIG_fail
;
10233 swig_obj
[0] = args
;
10234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10238 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10254 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
= 0;
10256 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10257 SwigValueWrapper
<wxVisualAttributes
> result
;
10260 PyObject
* obj0
= 0 ;
10261 char * kwnames
[] = {
10262 (char *) "variant", NULL
10265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10267 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10268 if (!SWIG_IsOK(ecode1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10271 arg1
= static_cast< wxWindowVariant
>(val1
);
10274 if (!wxPyCheckForApp()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10287 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10290 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10291 return SWIG_Py_Void();
10294 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10295 return SWIG_Python_InitShadowInstance(args
);
10298 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10301 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10302 wxSplitterEvent
*result
= 0 ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "type",(char *) "splitter", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10315 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10316 if (!SWIG_IsOK(ecode1
)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10319 arg1
= static_cast< wxEventType
>(val1
);
10322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10323 if (!SWIG_IsOK(res2
)) {
10324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10326 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10341 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
= 0;
10343 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 char * kwnames
[] = {
10352 (char *) "self",(char *) "pos", NULL
10355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10357 if (!SWIG_IsOK(res1
)) {
10358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10360 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10362 if (!SWIG_IsOK(ecode2
)) {
10363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10365 arg2
= static_cast< int >(val2
);
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetSashPosition(arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_Py_Void();
10379 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10380 PyObject
*resultobj
= 0;
10381 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10385 PyObject
*swig_obj
[1] ;
10387 if (!args
) SWIG_fail
;
10388 swig_obj
[0] = args
;
10389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10393 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= SWIG_From_int(static_cast< int >(result
));
10407 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10408 PyObject
*resultobj
= 0;
10409 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10410 wxWindow
*result
= 0 ;
10413 PyObject
*swig_obj
[1] ;
10415 if (!args
) SWIG_fail
;
10416 swig_obj
[0] = args
;
10417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10418 if (!SWIG_IsOK(res1
)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10421 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= wxPyMake_wxObject(result
, 0);
10437 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10438 PyObject
*resultobj
= 0;
10439 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10443 PyObject
*swig_obj
[1] ;
10445 if (!args
) SWIG_fail
;
10446 swig_obj
[0] = args
;
10447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10451 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= SWIG_From_int(static_cast< int >(result
));
10465 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10466 PyObject
*resultobj
= 0;
10467 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10471 PyObject
*swig_obj
[1] ;
10473 if (!args
) SWIG_fail
;
10474 swig_obj
[0] = args
;
10475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10476 if (!SWIG_IsOK(res1
)) {
10477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10479 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_From_int(static_cast< int >(result
));
10493 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10496 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10497 return SWIG_Py_Void();
10500 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10501 return SWIG_Python_InitShadowInstance(args
);
10504 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10505 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10510 SWIGINTERN PyObject
*SashNameStr_get(void) {
10511 PyObject
*pyobj
= 0;
10515 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10517 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10524 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10525 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10530 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10531 PyObject
*pyobj
= 0;
10535 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10537 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10544 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxWindow
*arg1
= (wxWindow
*) 0 ;
10547 int arg2
= (int) -1 ;
10548 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10549 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10550 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10551 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10552 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10553 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10554 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10555 wxSashWindow
*result
= 0 ;
10564 bool temp6
= false ;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 PyObject
* obj2
= 0 ;
10568 PyObject
* obj3
= 0 ;
10569 PyObject
* obj4
= 0 ;
10570 PyObject
* obj5
= 0 ;
10571 char * kwnames
[] = {
10572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10577 if (!SWIG_IsOK(res1
)) {
10578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10583 if (!SWIG_IsOK(ecode2
)) {
10584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10586 arg2
= static_cast< int >(val2
);
10591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10597 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10601 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10602 if (!SWIG_IsOK(ecode5
)) {
10603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10605 arg5
= static_cast< long >(val5
);
10609 arg6
= wxString_in_helper(obj5
);
10610 if (arg6
== NULL
) SWIG_fail
;
10615 if (!wxPyCheckForApp()) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10636 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10637 PyObject
*resultobj
= 0;
10638 wxSashWindow
*result
= 0 ;
10640 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10642 if (!wxPyCheckForApp()) SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (wxSashWindow
*)new wxSashWindow();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10655 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
= 0;
10657 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10658 wxWindow
*arg2
= (wxWindow
*) 0 ;
10659 int arg3
= (int) -1 ;
10660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10664 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10665 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10666 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10678 bool temp7
= false ;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 PyObject
* obj3
= 0 ;
10683 PyObject
* obj4
= 0 ;
10684 PyObject
* obj5
= 0 ;
10685 PyObject
* obj6
= 0 ;
10686 char * kwnames
[] = {
10687 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10695 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10697 if (!SWIG_IsOK(res2
)) {
10698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10700 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10703 if (!SWIG_IsOK(ecode3
)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10706 arg3
= static_cast< int >(val3
);
10711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10721 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10722 if (!SWIG_IsOK(ecode6
)) {
10723 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10725 arg6
= static_cast< long >(val6
);
10729 arg7
= wxString_in_helper(obj6
);
10730 if (arg7
== NULL
) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10757 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
= 0;
10759 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10760 wxSashEdgePosition arg2
;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 PyObject
* obj2
= 0 ;
10771 char * kwnames
[] = {
10772 (char *) "self",(char *) "edge",(char *) "sash", NULL
10775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10777 if (!SWIG_IsOK(res1
)) {
10778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10780 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10782 if (!SWIG_IsOK(ecode2
)) {
10783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10785 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10786 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10787 if (!SWIG_IsOK(ecode3
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10790 arg3
= static_cast< bool >(val3
);
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetSashVisible(arg2
,arg3
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_Py_Void();
10804 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
= 0;
10806 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10807 wxSashEdgePosition arg2
;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "edge", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10824 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10829 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10845 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= 0;
10847 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10848 wxSashEdgePosition arg2
;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 PyObject
* obj2
= 0 ;
10859 char * kwnames
[] = {
10860 (char *) "self",(char *) "edge",(char *) "border", NULL
10863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10868 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10870 if (!SWIG_IsOK(ecode2
)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10873 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10874 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10875 if (!SWIG_IsOK(ecode3
)) {
10876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10878 arg3
= static_cast< bool >(val3
);
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->SetSashBorder(arg2
,arg3
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_Py_Void();
10892 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
= 0;
10894 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10895 wxSashEdgePosition arg2
;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 char * kwnames
[] = {
10904 (char *) "self",(char *) "edge", NULL
10907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10909 if (!SWIG_IsOK(res1
)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10912 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10914 if (!SWIG_IsOK(ecode2
)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10917 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10933 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= 0;
10935 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10936 wxSashEdgePosition arg2
;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char * kwnames
[] = {
10945 (char *) "self",(char *) "edge", NULL
10948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10953 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10955 if (!SWIG_IsOK(ecode2
)) {
10956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10958 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_From_int(static_cast< int >(result
));
10972 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char * kwnames
[] = {
10983 (char *) "self",(char *) "width", NULL
10986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10991 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10993 if (!SWIG_IsOK(ecode2
)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
10996 arg2
= static_cast< int >(val2
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetDefaultBorderSize(arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_Py_Void();
11010 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11011 PyObject
*resultobj
= 0;
11012 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11016 PyObject
*swig_obj
[1] ;
11018 if (!args
) SWIG_fail
;
11019 swig_obj
[0] = args
;
11020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11021 if (!SWIG_IsOK(res1
)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11024 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_From_int(static_cast< int >(result
));
11038 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= 0;
11040 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 char * kwnames
[] = {
11049 (char *) "self",(char *) "width", NULL
11052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11054 if (!SWIG_IsOK(res1
)) {
11055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11057 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11059 if (!SWIG_IsOK(ecode2
)) {
11060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11062 arg2
= static_cast< int >(val2
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->SetExtraBorderSize(arg2
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= SWIG_Py_Void();
11076 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11077 PyObject
*resultobj
= 0;
11078 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11082 PyObject
*swig_obj
[1] ;
11084 if (!args
) SWIG_fail
;
11085 swig_obj
[0] = args
;
11086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11090 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_From_int(static_cast< int >(result
));
11104 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
= 0;
11106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 char * kwnames
[] = {
11115 (char *) "self",(char *) "min", NULL
11118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11120 if (!SWIG_IsOK(res1
)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11123 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11125 if (!SWIG_IsOK(ecode2
)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11128 arg2
= static_cast< int >(val2
);
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 (arg1
)->SetMinimumSizeX(arg2
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_Py_Void();
11142 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= 0;
11144 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 PyObject
* obj1
= 0 ;
11152 char * kwnames
[] = {
11153 (char *) "self",(char *) "min", NULL
11156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11158 if (!SWIG_IsOK(res1
)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11161 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11163 if (!SWIG_IsOK(ecode2
)) {
11164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11166 arg2
= static_cast< int >(val2
);
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetMinimumSizeY(arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= SWIG_Py_Void();
11180 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11181 PyObject
*resultobj
= 0;
11182 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11186 PyObject
*swig_obj
[1] ;
11188 if (!args
) SWIG_fail
;
11189 swig_obj
[0] = args
;
11190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11191 if (!SWIG_IsOK(res1
)) {
11192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11194 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= SWIG_From_int(static_cast< int >(result
));
11208 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11209 PyObject
*resultobj
= 0;
11210 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11214 PyObject
*swig_obj
[1] ;
11216 if (!args
) SWIG_fail
;
11217 swig_obj
[0] = args
;
11218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11219 if (!SWIG_IsOK(res1
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11222 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_From_int(static_cast< int >(result
));
11236 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
= 0;
11238 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char * kwnames
[] = {
11247 (char *) "self",(char *) "max", NULL
11250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11255 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11257 if (!SWIG_IsOK(ecode2
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11260 arg2
= static_cast< int >(val2
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 (arg1
)->SetMaximumSizeX(arg2
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_Py_Void();
11274 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
= 0;
11276 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char * kwnames
[] = {
11285 (char *) "self",(char *) "max", NULL
11288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11293 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11295 if (!SWIG_IsOK(ecode2
)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11298 arg2
= static_cast< int >(val2
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->SetMaximumSizeY(arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_Py_Void();
11312 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11313 PyObject
*resultobj
= 0;
11314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11318 PyObject
*swig_obj
[1] ;
11320 if (!args
) SWIG_fail
;
11321 swig_obj
[0] = args
;
11322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11323 if (!SWIG_IsOK(res1
)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11326 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= SWIG_From_int(static_cast< int >(result
));
11340 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11341 PyObject
*resultobj
= 0;
11342 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11346 PyObject
*swig_obj
[1] ;
11348 if (!args
) SWIG_fail
;
11349 swig_obj
[0] = args
;
11350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11351 if (!SWIG_IsOK(res1
)) {
11352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11354 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_From_int(static_cast< int >(result
));
11368 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
= 0;
11370 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11373 int arg4
= (int) 2 ;
11374 wxSashEdgePosition result
;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 PyObject
* obj3
= 0 ;
11387 char * kwnames
[] = {
11388 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11396 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11398 if (!SWIG_IsOK(ecode2
)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11401 arg2
= static_cast< int >(val2
);
11402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11403 if (!SWIG_IsOK(ecode3
)) {
11404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11406 arg3
= static_cast< int >(val3
);
11408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11409 if (!SWIG_IsOK(ecode4
)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11412 arg4
= static_cast< int >(val4
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_From_int(static_cast< int >(result
));
11427 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11428 PyObject
*resultobj
= 0;
11429 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11432 PyObject
*swig_obj
[1] ;
11434 if (!args
) SWIG_fail
;
11435 swig_obj
[0] = args
;
11436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SizeWindows();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_Py_Void();
11454 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11457 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11458 return SWIG_Py_Void();
11461 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11462 return SWIG_Python_InitShadowInstance(args
);
11465 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
= 0;
11467 int arg1
= (int) 0 ;
11468 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11469 wxSashEvent
*result
= 0 ;
11474 PyObject
* obj0
= 0 ;
11475 PyObject
* obj1
= 0 ;
11476 char * kwnames
[] = {
11477 (char *) "id",(char *) "edge", NULL
11480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11482 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11483 if (!SWIG_IsOK(ecode1
)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11486 arg1
= static_cast< int >(val1
);
11489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11490 if (!SWIG_IsOK(ecode2
)) {
11491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11493 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11508 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
= 0;
11510 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11511 wxSashEdgePosition arg2
;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 char * kwnames
[] = {
11519 (char *) "self",(char *) "edge", NULL
11522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11524 if (!SWIG_IsOK(res1
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11527 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11529 if (!SWIG_IsOK(ecode2
)) {
11530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11532 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 (arg1
)->SetEdge(arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_Py_Void();
11546 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11547 PyObject
*resultobj
= 0;
11548 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11549 wxSashEdgePosition result
;
11552 PyObject
*swig_obj
[1] ;
11554 if (!args
) SWIG_fail
;
11555 swig_obj
[0] = args
;
11556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11557 if (!SWIG_IsOK(res1
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11560 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_From_int(static_cast< int >(result
));
11574 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
= 0;
11576 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 char * kwnames
[] = {
11584 (char *) "self",(char *) "rect", NULL
11587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11589 if (!SWIG_IsOK(res1
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11592 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11595 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_Py_Void();
11610 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11611 PyObject
*resultobj
= 0;
11612 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11616 PyObject
*swig_obj
[1] ;
11618 if (!args
) SWIG_fail
;
11619 swig_obj
[0] = args
;
11620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11621 if (!SWIG_IsOK(res1
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11624 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11638 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
= 0;
11640 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11641 wxSashDragStatus arg2
;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 char * kwnames
[] = {
11649 (char *) "self",(char *) "status", NULL
11652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11654 if (!SWIG_IsOK(res1
)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11657 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11659 if (!SWIG_IsOK(ecode2
)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11662 arg2
= static_cast< wxSashDragStatus
>(val2
);
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 (arg1
)->SetDragStatus(arg2
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_Py_Void();
11676 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11677 PyObject
*resultobj
= 0;
11678 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11679 wxSashDragStatus result
;
11682 PyObject
*swig_obj
[1] ;
11684 if (!args
) SWIG_fail
;
11685 swig_obj
[0] = args
;
11686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11687 if (!SWIG_IsOK(res1
)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11690 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_From_int(static_cast< int >(result
));
11704 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11707 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11708 return SWIG_Py_Void();
11711 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 return SWIG_Python_InitShadowInstance(args
);
11715 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
= 0;
11717 int arg1
= (int) 0 ;
11718 wxQueryLayoutInfoEvent
*result
= 0 ;
11721 PyObject
* obj0
= 0 ;
11722 char * kwnames
[] = {
11723 (char *) "id", NULL
11726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11729 if (!SWIG_IsOK(ecode1
)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11732 arg1
= static_cast< int >(val1
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11747 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= 0;
11749 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char * kwnames
[] = {
11758 (char *) "self",(char *) "length", NULL
11761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11766 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11768 if (!SWIG_IsOK(ecode2
)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11771 arg2
= static_cast< int >(val2
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->SetRequestedLength(arg2
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_Py_Void();
11785 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11799 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_From_int(static_cast< int >(result
));
11813 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
= 0;
11815 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 PyObject
* obj1
= 0 ;
11823 char * kwnames
[] = {
11824 (char *) "self",(char *) "flags", NULL
11827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11829 if (!SWIG_IsOK(res1
)) {
11830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11832 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11834 if (!SWIG_IsOK(ecode2
)) {
11835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11837 arg2
= static_cast< int >(val2
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 (arg1
)->SetFlags(arg2
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_Py_Void();
11851 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11852 PyObject
*resultobj
= 0;
11853 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11857 PyObject
*swig_obj
[1] ;
11859 if (!args
) SWIG_fail
;
11860 swig_obj
[0] = args
;
11861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11865 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_From_int(static_cast< int >(result
));
11879 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
= 0;
11881 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11886 PyObject
* obj0
= 0 ;
11887 PyObject
* obj1
= 0 ;
11888 char * kwnames
[] = {
11889 (char *) "self",(char *) "size", NULL
11892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11894 if (!SWIG_IsOK(res1
)) {
11895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11897 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11900 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 (arg1
)->SetSize((wxSize
const &)*arg2
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_Py_Void();
11915 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11916 PyObject
*resultobj
= 0;
11917 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11921 PyObject
*swig_obj
[1] ;
11923 if (!args
) SWIG_fail
;
11924 swig_obj
[0] = args
;
11925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11926 if (!SWIG_IsOK(res1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11929 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11943 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
= 0;
11945 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11946 wxLayoutOrientation arg2
;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char * kwnames
[] = {
11954 (char *) "self",(char *) "orient", NULL
11957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11962 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11964 if (!SWIG_IsOK(ecode2
)) {
11965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
11967 arg2
= static_cast< wxLayoutOrientation
>(val2
);
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->SetOrientation(arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_Py_Void();
11981 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11982 PyObject
*resultobj
= 0;
11983 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11984 wxLayoutOrientation result
;
11987 PyObject
*swig_obj
[1] ;
11989 if (!args
) SWIG_fail
;
11990 swig_obj
[0] = args
;
11991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11992 if (!SWIG_IsOK(res1
)) {
11993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11995 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_From_int(static_cast< int >(result
));
12009 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
= 0;
12011 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12012 wxLayoutAlignment arg2
;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 char * kwnames
[] = {
12020 (char *) "self",(char *) "align", NULL
12023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",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_SetAlignment" "', 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_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12033 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 (arg1
)->SetAlignment(arg2
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_Py_Void();
12047 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12048 PyObject
*resultobj
= 0;
12049 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12050 wxLayoutAlignment result
;
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_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12061 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_From_int(static_cast< int >(result
));
12075 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12078 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12079 return SWIG_Py_Void();
12082 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12083 return SWIG_Python_InitShadowInstance(args
);
12086 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
= 0;
12088 int arg1
= (int) 0 ;
12089 wxCalculateLayoutEvent
*result
= 0 ;
12092 PyObject
* obj0
= 0 ;
12093 char * kwnames
[] = {
12094 (char *) "id", NULL
12097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12100 if (!SWIG_IsOK(ecode1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12103 arg1
= static_cast< int >(val1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12118 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
= 0;
12120 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 char * kwnames
[] = {
12129 (char *) "self",(char *) "flags", NULL
12132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12134 if (!SWIG_IsOK(res1
)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12137 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12139 if (!SWIG_IsOK(ecode2
)) {
12140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12142 arg2
= static_cast< int >(val2
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetFlags(arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_Py_Void();
12156 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12162 PyObject
*swig_obj
[1] ;
12164 if (!args
) SWIG_fail
;
12165 swig_obj
[0] = args
;
12166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12170 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_From_int(static_cast< int >(result
));
12184 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
= 0;
12186 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 char * kwnames
[] = {
12194 (char *) "self",(char *) "rect", NULL
12197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12199 if (!SWIG_IsOK(res1
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12202 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12205 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 (arg1
)->SetRect((wxRect
const &)*arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_Py_Void();
12220 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12221 PyObject
*resultobj
= 0;
12222 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12226 PyObject
*swig_obj
[1] ;
12228 if (!args
) SWIG_fail
;
12229 swig_obj
[0] = args
;
12230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12231 if (!SWIG_IsOK(res1
)) {
12232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12234 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12248 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12251 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12252 return SWIG_Py_Void();
12255 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12256 return SWIG_Python_InitShadowInstance(args
);
12259 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
= 0;
12261 wxWindow
*arg1
= (wxWindow
*) 0 ;
12262 int arg2
= (int) -1 ;
12263 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12264 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12265 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12266 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12267 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12268 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12269 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12270 wxSashLayoutWindow
*result
= 0 ;
12279 bool temp6
= false ;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 PyObject
* obj2
= 0 ;
12283 PyObject
* obj3
= 0 ;
12284 PyObject
* obj4
= 0 ;
12285 PyObject
* obj5
= 0 ;
12286 char * kwnames
[] = {
12287 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12292 if (!SWIG_IsOK(res1
)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12295 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12298 if (!SWIG_IsOK(ecode2
)) {
12299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12301 arg2
= static_cast< int >(val2
);
12306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12312 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12316 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12317 if (!SWIG_IsOK(ecode5
)) {
12318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12320 arg5
= static_cast< long >(val5
);
12324 arg6
= wxString_in_helper(obj5
);
12325 if (arg6
== NULL
) SWIG_fail
;
12330 if (!wxPyCheckForApp()) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12351 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12352 PyObject
*resultobj
= 0;
12353 wxSashLayoutWindow
*result
= 0 ;
12355 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12357 if (!wxPyCheckForApp()) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12370 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
= 0;
12372 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12373 wxWindow
*arg2
= (wxWindow
*) 0 ;
12374 int arg3
= (int) -1 ;
12375 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12376 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12377 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12378 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12379 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12380 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12393 bool temp7
= false ;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 PyObject
* obj2
= 0 ;
12397 PyObject
* obj3
= 0 ;
12398 PyObject
* obj4
= 0 ;
12399 PyObject
* obj5
= 0 ;
12400 PyObject
* obj6
= 0 ;
12401 char * kwnames
[] = {
12402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12407 if (!SWIG_IsOK(res1
)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12410 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12412 if (!SWIG_IsOK(res2
)) {
12413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12418 if (!SWIG_IsOK(ecode3
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12421 arg3
= static_cast< int >(val3
);
12426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12436 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12437 if (!SWIG_IsOK(ecode6
)) {
12438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12440 arg6
= static_cast< long >(val6
);
12444 arg7
= wxString_in_helper(obj6
);
12445 if (arg7
== NULL
) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12472 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12473 PyObject
*resultobj
= 0;
12474 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12475 wxLayoutAlignment result
;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12486 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_From_int(static_cast< int >(result
));
12500 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12501 PyObject
*resultobj
= 0;
12502 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12503 wxLayoutOrientation result
;
12506 PyObject
*swig_obj
[1] ;
12508 if (!args
) SWIG_fail
;
12509 swig_obj
[0] = args
;
12510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12514 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_From_int(static_cast< int >(result
));
12528 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
= 0;
12530 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12531 wxLayoutAlignment arg2
;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 char * kwnames
[] = {
12539 (char *) "self",(char *) "alignment", NULL
12542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12544 if (!SWIG_IsOK(res1
)) {
12545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12547 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12549 if (!SWIG_IsOK(ecode2
)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12552 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->SetAlignment(arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char * kwnames
[] = {
12576 (char *) "self",(char *) "size", NULL
12579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12581 if (!SWIG_IsOK(res1
)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12584 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= SWIG_Py_Void();
12602 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
= 0;
12604 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12605 wxLayoutOrientation arg2
;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char * kwnames
[] = {
12613 (char *) "self",(char *) "orientation", NULL
12616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12621 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12623 if (!SWIG_IsOK(ecode2
)) {
12624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12626 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 (arg1
)->SetOrientation(arg2
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_Py_Void();
12640 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12643 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12644 return SWIG_Py_Void();
12647 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12648 return SWIG_Python_InitShadowInstance(args
);
12651 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12652 PyObject
*resultobj
= 0;
12653 wxLayoutAlgorithm
*result
= 0 ;
12655 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12669 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12670 PyObject
*resultobj
= 0;
12671 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12674 PyObject
*swig_obj
[1] ;
12676 if (!args
) SWIG_fail
;
12677 swig_obj
[0] = args
;
12678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12679 if (!SWIG_IsOK(res1
)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12682 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_Py_Void();
12697 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
= 0;
12699 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12700 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12701 wxRect
*arg3
= (wxRect
*) NULL
;
12709 PyObject
* obj0
= 0 ;
12710 PyObject
* obj1
= 0 ;
12711 PyObject
* obj2
= 0 ;
12712 char * kwnames
[] = {
12713 (char *) "self",(char *) "frame",(char *) "rect", NULL
12716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12721 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12723 if (!SWIG_IsOK(res2
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12726 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12728 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12729 if (!SWIG_IsOK(res3
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12732 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12749 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
= 0;
12751 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12752 wxFrame
*arg2
= (wxFrame
*) 0 ;
12753 wxWindow
*arg3
= (wxWindow
*) NULL
;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 PyObject
* obj2
= 0 ;
12764 char * kwnames
[] = {
12765 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12770 if (!SWIG_IsOK(res1
)) {
12771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12773 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12775 if (!SWIG_IsOK(res2
)) {
12776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12778 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12780 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12781 if (!SWIG_IsOK(res3
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12784 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12801 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
= 0;
12803 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12804 wxWindow
*arg2
= (wxWindow
*) 0 ;
12805 wxWindow
*arg3
= (wxWindow
*) NULL
;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 char * kwnames
[] = {
12817 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12822 if (!SWIG_IsOK(res1
)) {
12823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12825 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12827 if (!SWIG_IsOK(res2
)) {
12828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12832 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12833 if (!SWIG_IsOK(res3
)) {
12834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12836 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12853 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12856 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12857 return SWIG_Py_Void();
12860 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12861 return SWIG_Python_InitShadowInstance(args
);
12864 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxWindow
*arg1
= (wxWindow
*) 0 ;
12867 int arg2
= (int) wxBORDER_NONE
;
12868 wxPopupWindow
*result
= 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char * kwnames
[] = {
12876 (char *) "parent",(char *) "flags", NULL
12879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12887 if (!SWIG_IsOK(ecode2
)) {
12888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12890 arg2
= static_cast< int >(val2
);
12893 if (!wxPyCheckForApp()) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12906 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12907 PyObject
*resultobj
= 0;
12908 wxPopupWindow
*result
= 0 ;
12910 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12912 if (!wxPyCheckForApp()) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (wxPopupWindow
*)new wxPopupWindow();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12925 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
= 0;
12927 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12928 wxWindow
*arg2
= (wxWindow
*) 0 ;
12929 int arg3
= (int) wxBORDER_NONE
;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 PyObject
* obj2
= 0 ;
12940 char * kwnames
[] = {
12941 (char *) "self",(char *) "parent",(char *) "flags", NULL
12944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12949 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12951 if (!SWIG_IsOK(res2
)) {
12952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12957 if (!SWIG_IsOK(ecode3
)) {
12958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
12960 arg3
= static_cast< int >(val3
);
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (bool)(arg1
)->Create(arg2
,arg3
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12977 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
= 0;
12979 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12980 wxPoint
*arg2
= 0 ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 PyObject
* obj2
= 0 ;
12989 char * kwnames
[] = {
12990 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
12993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12995 if (!SWIG_IsOK(res1
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12998 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13005 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13023 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13024 return SWIG_Py_Void();
13027 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13028 return SWIG_Python_InitShadowInstance(args
);
13031 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
= 0;
13033 wxWindow
*arg1
= (wxWindow
*) 0 ;
13034 int arg2
= (int) wxBORDER_NONE
;
13035 wxPyPopupTransientWindow
*result
= 0 ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char * kwnames
[] = {
13043 (char *) "parent",(char *) "style", NULL
13046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13048 if (!SWIG_IsOK(res1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13054 if (!SWIG_IsOK(ecode2
)) {
13055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13057 arg2
= static_cast< int >(val2
);
13060 if (!wxPyCheckForApp()) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13073 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13074 PyObject
*resultobj
= 0;
13075 wxPyPopupTransientWindow
*result
= 0 ;
13077 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13079 if (!wxPyCheckForApp()) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13092 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
= 0;
13094 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13095 PyObject
*arg2
= (PyObject
*) 0 ;
13096 PyObject
*arg3
= (PyObject
*) 0 ;
13099 PyObject
* obj0
= 0 ;
13100 PyObject
* obj1
= 0 ;
13101 PyObject
* obj2
= 0 ;
13102 char * kwnames
[] = {
13103 (char *) "self",(char *) "self",(char *) "_class", NULL
13106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13108 if (!SWIG_IsOK(res1
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13111 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_Py_Void();
13127 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13130 wxWindow
*arg2
= (wxWindow
*) NULL
;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "focus", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13146 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13149 if (!SWIG_IsOK(res2
)) {
13150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13152 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 (arg1
)->Popup(arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_Py_Void();
13167 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13168 PyObject
*resultobj
= 0;
13169 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13172 PyObject
*swig_obj
[1] ;
13174 if (!args
) SWIG_fail
;
13175 swig_obj
[0] = args
;
13176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13177 if (!SWIG_IsOK(res1
)) {
13178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13180 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_Py_Void();
13194 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13198 return SWIG_Py_Void();
13201 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13202 return SWIG_Python_InitShadowInstance(args
);
13205 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
= 0;
13207 wxWindow
*arg1
= (wxWindow
*) 0 ;
13208 wxString
*arg2
= 0 ;
13209 int arg3
= (int) 100 ;
13210 wxRect
*arg4
= (wxRect
*) NULL
;
13211 wxTipWindow
*result
= 0 ;
13214 bool temp2
= false ;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 PyObject
* obj2
= 0 ;
13222 PyObject
* obj3
= 0 ;
13223 char * kwnames
[] = {
13224 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13229 if (!SWIG_IsOK(res1
)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13232 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13234 arg2
= wxString_in_helper(obj1
);
13235 if (arg2
== NULL
) SWIG_fail
;
13239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13240 if (!SWIG_IsOK(ecode3
)) {
13241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13243 arg3
= static_cast< int >(val3
);
13246 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13247 if (!SWIG_IsOK(res4
)) {
13248 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13250 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13253 if (!wxPyCheckForApp()) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13274 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
= 0;
13276 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "rectBound", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13292 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13295 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_Py_Void();
13310 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13315 PyObject
*swig_obj
[1] ;
13317 if (!args
) SWIG_fail
;
13318 swig_obj
[0] = args
;
13319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13323 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13340 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13341 return SWIG_Py_Void();
13344 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 return SWIG_Python_InitShadowInstance(args
);
13348 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
= 0;
13350 wxWindow
*arg1
= (wxWindow
*) 0 ;
13351 int arg2
= (int) wxID_ANY
;
13352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13356 long arg5
= (long) 0 ;
13357 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13359 wxPyVScrolledWindow
*result
= 0 ;
13368 bool temp6
= false ;
13369 PyObject
* obj0
= 0 ;
13370 PyObject
* obj1
= 0 ;
13371 PyObject
* obj2
= 0 ;
13372 PyObject
* obj3
= 0 ;
13373 PyObject
* obj4
= 0 ;
13374 PyObject
* obj5
= 0 ;
13375 char * kwnames
[] = {
13376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13384 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13387 if (!SWIG_IsOK(ecode2
)) {
13388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13390 arg2
= static_cast< int >(val2
);
13395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13405 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13406 if (!SWIG_IsOK(ecode5
)) {
13407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13409 arg5
= static_cast< long >(val5
);
13413 arg6
= wxString_in_helper(obj5
);
13414 if (arg6
== NULL
) SWIG_fail
;
13419 if (!wxPyCheckForApp()) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13440 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13441 PyObject
*resultobj
= 0;
13442 wxPyVScrolledWindow
*result
= 0 ;
13444 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13446 if (!wxPyCheckForApp()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13459 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13461 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13462 PyObject
*arg2
= (PyObject
*) 0 ;
13463 PyObject
*arg3
= (PyObject
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 PyObject
* obj2
= 0 ;
13469 char * kwnames
[] = {
13470 (char *) "self",(char *) "self",(char *) "_class", NULL
13473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13475 if (!SWIG_IsOK(res1
)) {
13476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13478 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= SWIG_Py_Void();
13494 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
= 0;
13496 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13497 wxWindow
*arg2
= (wxWindow
*) 0 ;
13498 int arg3
= (int) wxID_ANY
;
13499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13503 long arg6
= (long) 0 ;
13504 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13505 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13517 bool temp7
= false ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 PyObject
* obj2
= 0 ;
13521 PyObject
* obj3
= 0 ;
13522 PyObject
* obj4
= 0 ;
13523 PyObject
* obj5
= 0 ;
13524 PyObject
* obj6
= 0 ;
13525 char * kwnames
[] = {
13526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13531 if (!SWIG_IsOK(res1
)) {
13532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13534 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13536 if (!SWIG_IsOK(res2
)) {
13537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13539 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13542 if (!SWIG_IsOK(ecode3
)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13545 arg3
= static_cast< int >(val3
);
13550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13560 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13561 if (!SWIG_IsOK(ecode6
)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13564 arg6
= static_cast< long >(val6
);
13568 arg7
= wxString_in_helper(obj6
);
13569 if (arg7
== NULL
) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13596 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
= 0;
13598 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char * kwnames
[] = {
13607 (char *) "self",(char *) "count", NULL
13610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13612 if (!SWIG_IsOK(res1
)) {
13613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13615 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13616 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13617 if (!SWIG_IsOK(ecode2
)) {
13618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13620 arg2
= static_cast< size_t >(val2
);
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 (arg1
)->SetLineCount(arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_Py_Void();
13634 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
= 0;
13636 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char * kwnames
[] = {
13646 (char *) "self",(char *) "line", NULL
13649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13651 if (!SWIG_IsOK(res1
)) {
13652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13654 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13655 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13656 if (!SWIG_IsOK(ecode2
)) {
13657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13659 arg2
= static_cast< size_t >(val2
);
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13675 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
= 0;
13677 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13683 PyObject
* obj0
= 0 ;
13684 PyObject
* obj1
= 0 ;
13685 char * kwnames
[] = {
13686 (char *) "self",(char *) "line", NULL
13689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13691 if (!SWIG_IsOK(res1
)) {
13692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13694 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13695 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13696 if (!SWIG_IsOK(ecode2
)) {
13697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13699 arg2
= static_cast< size_t >(val2
);
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->RefreshLine(arg2
);
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_Py_Void();
13713 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
= 0;
13715 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 PyObject
* obj2
= 0 ;
13727 char * kwnames
[] = {
13728 (char *) "self",(char *) "_from",(char *) "to", NULL
13731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13736 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13737 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13738 if (!SWIG_IsOK(ecode2
)) {
13739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13741 arg2
= static_cast< size_t >(val2
);
13742 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13743 if (!SWIG_IsOK(ecode3
)) {
13744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13746 arg3
= static_cast< size_t >(val3
);
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 (arg1
)->RefreshLines(arg2
,arg3
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_Py_Void();
13760 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
= 0;
13762 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "self",(char *) "x",(char *) "y", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13781 if (!SWIG_IsOK(res1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13784 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13786 if (!SWIG_IsOK(ecode2
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13789 arg2
= static_cast< int >(val2
);
13790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13791 if (!SWIG_IsOK(ecode3
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13794 arg3
= static_cast< int >(val3
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_From_int(static_cast< int >(result
));
13808 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= 0;
13810 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13811 wxPoint
*arg2
= 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 char * kwnames
[] = {
13819 (char *) "self",(char *) "pt", NULL
13822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13824 if (!SWIG_IsOK(res1
)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13827 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_From_int(static_cast< int >(result
));
13845 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13846 PyObject
*resultobj
= 0;
13847 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13850 PyObject
*swig_obj
[1] ;
13852 if (!args
) SWIG_fail
;
13853 swig_obj
[0] = args
;
13854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13855 if (!SWIG_IsOK(res1
)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13858 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 (arg1
)->RefreshAll();
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_Py_Void();
13872 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13873 PyObject
*resultobj
= 0;
13874 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13878 PyObject
*swig_obj
[1] ;
13880 if (!args
) SWIG_fail
;
13881 swig_obj
[0] = args
;
13882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13886 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13900 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13901 PyObject
*resultobj
= 0;
13902 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13906 PyObject
*swig_obj
[1] ;
13908 if (!args
) SWIG_fail
;
13909 swig_obj
[0] = args
;
13910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13911 if (!SWIG_IsOK(res1
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13914 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13928 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13929 PyObject
*resultobj
= 0;
13930 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13934 PyObject
*swig_obj
[1] ;
13936 if (!args
) SWIG_fail
;
13937 swig_obj
[0] = args
;
13938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13939 if (!SWIG_IsOK(res1
)) {
13940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13942 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13956 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
= 0;
13958 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 char * kwnames
[] = {
13968 (char *) "self",(char *) "line", NULL
13971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13973 if (!SWIG_IsOK(res1
)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13976 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13977 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13978 if (!SWIG_IsOK(ecode2
)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13981 arg2
= static_cast< size_t >(val2
);
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13997 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13998 PyObject
*resultobj
= 0;
13999 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14003 PyObject
*swig_obj
[1] ;
14005 if (!args
) SWIG_fail
;
14006 swig_obj
[0] = args
;
14007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14011 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14025 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14026 PyObject
*resultobj
= 0;
14027 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14031 PyObject
*swig_obj
[1] ;
14033 if (!args
) SWIG_fail
;
14034 swig_obj
[0] = args
;
14035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14039 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14053 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
= 0;
14055 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14057 bool arg3
= (bool) false ;
14065 PyObject
* obj0
= 0 ;
14066 PyObject
* obj1
= 0 ;
14067 PyObject
* obj2
= 0 ;
14068 char * kwnames
[] = {
14069 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14077 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14078 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14079 if (!SWIG_IsOK(ecode2
)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14082 arg2
= static_cast< size_t >(val2
);
14084 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14085 if (!SWIG_IsOK(ecode3
)) {
14086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14088 arg3
= static_cast< bool >(val3
);
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14103 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
= 0;
14105 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 PyObject
* obj2
= 0 ;
14118 char * kwnames
[] = {
14119 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14124 if (!SWIG_IsOK(res1
)) {
14125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14127 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14128 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14129 if (!SWIG_IsOK(ecode2
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14132 arg2
= static_cast< size_t >(val2
);
14133 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14134 if (!SWIG_IsOK(ecode3
)) {
14135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14137 arg3
= static_cast< size_t >(val3
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_From_int(static_cast< int >(result
));
14151 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14154 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14155 return SWIG_Py_Void();
14158 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14159 return SWIG_Python_InitShadowInstance(args
);
14162 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14163 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14168 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14169 PyObject
*pyobj
= 0;
14173 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14175 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14182 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
= 0;
14184 wxWindow
*arg1
= (wxWindow
*) 0 ;
14185 int arg2
= (int) wxID_ANY
;
14186 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14187 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14188 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14189 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14190 long arg5
= (long) 0 ;
14191 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14192 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14193 wxPyVListBox
*result
= 0 ;
14202 bool temp6
= false ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 PyObject
* obj2
= 0 ;
14206 PyObject
* obj3
= 0 ;
14207 PyObject
* obj4
= 0 ;
14208 PyObject
* obj5
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14221 if (!SWIG_IsOK(ecode2
)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14224 arg2
= static_cast< int >(val2
);
14229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14235 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14239 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14240 if (!SWIG_IsOK(ecode5
)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14243 arg5
= static_cast< long >(val5
);
14247 arg6
= wxString_in_helper(obj5
);
14248 if (arg6
== NULL
) SWIG_fail
;
14253 if (!wxPyCheckForApp()) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14274 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxPyVListBox
*result
= 0 ;
14278 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14280 if (!wxPyCheckForApp()) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (wxPyVListBox
*)new wxPyVListBox();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14293 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
= 0;
14295 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14296 PyObject
*arg2
= (PyObject
*) 0 ;
14297 PyObject
*arg3
= (PyObject
*) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 PyObject
* obj1
= 0 ;
14302 PyObject
* obj2
= 0 ;
14303 char * kwnames
[] = {
14304 (char *) "self",(char *) "self",(char *) "_class", NULL
14307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14309 if (!SWIG_IsOK(res1
)) {
14310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14312 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= SWIG_Py_Void();
14328 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
= 0;
14330 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14331 wxWindow
*arg2
= (wxWindow
*) 0 ;
14332 int arg3
= (int) wxID_ANY
;
14333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14337 long arg6
= (long) 0 ;
14338 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14351 bool temp7
= false ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 PyObject
* obj2
= 0 ;
14355 PyObject
* obj3
= 0 ;
14356 PyObject
* obj4
= 0 ;
14357 PyObject
* obj5
= 0 ;
14358 PyObject
* obj6
= 0 ;
14359 char * kwnames
[] = {
14360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14365 if (!SWIG_IsOK(res1
)) {
14366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14368 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14370 if (!SWIG_IsOK(res2
)) {
14371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14376 if (!SWIG_IsOK(ecode3
)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14379 arg3
= static_cast< int >(val3
);
14384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14394 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14395 if (!SWIG_IsOK(ecode6
)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14398 arg6
= static_cast< long >(val6
);
14402 arg7
= wxString_in_helper(obj6
);
14403 if (arg7
== NULL
) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14430 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14431 PyObject
*resultobj
= 0;
14432 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14436 PyObject
*swig_obj
[1] ;
14438 if (!args
) SWIG_fail
;
14439 swig_obj
[0] = args
;
14440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14444 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14458 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14459 PyObject
*resultobj
= 0;
14460 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14464 PyObject
*swig_obj
[1] ;
14466 if (!args
) SWIG_fail
;
14467 swig_obj
[0] = args
;
14468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14469 if (!SWIG_IsOK(res1
)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14472 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14488 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14489 PyObject
*resultobj
= 0;
14490 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14494 PyObject
*swig_obj
[1] ;
14496 if (!args
) SWIG_fail
;
14497 swig_obj
[0] = args
;
14498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14502 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_From_int(static_cast< int >(result
));
14516 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
= 0;
14518 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 char * kwnames
[] = {
14528 (char *) "self",(char *) "item", NULL
14531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14533 if (!SWIG_IsOK(res1
)) {
14534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14536 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14537 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14538 if (!SWIG_IsOK(ecode2
)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14541 arg2
= static_cast< size_t >(val2
);
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14557 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
= 0;
14559 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 PyObject
* obj1
= 0 ;
14568 char * kwnames
[] = {
14569 (char *) "self",(char *) "item", NULL
14572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14574 if (!SWIG_IsOK(res1
)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14577 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14578 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14579 if (!SWIG_IsOK(ecode2
)) {
14580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14582 arg2
= static_cast< size_t >(val2
);
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14598 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14599 PyObject
*resultobj
= 0;
14600 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14604 PyObject
*swig_obj
[1] ;
14606 if (!args
) SWIG_fail
;
14607 swig_obj
[0] = args
;
14608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14609 if (!SWIG_IsOK(res1
)) {
14610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14612 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14626 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14627 PyObject
*resultobj
= 0;
14628 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14629 PyObject
*result
= 0 ;
14632 PyObject
*swig_obj
[1] ;
14634 if (!args
) SWIG_fail
;
14635 swig_obj
[0] = args
;
14636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14637 if (!SWIG_IsOK(res1
)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14640 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
;
14654 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
= 0;
14656 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14657 unsigned long arg2
;
14658 PyObject
*result
= 0 ;
14661 unsigned long val2
;
14663 PyObject
* obj0
= 0 ;
14664 PyObject
* obj1
= 0 ;
14665 char * kwnames
[] = {
14666 (char *) "self",(char *) "cookie", NULL
14669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14671 if (!SWIG_IsOK(res1
)) {
14672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14674 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14675 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14676 if (!SWIG_IsOK(ecode2
)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14679 arg2
= static_cast< unsigned long >(val2
);
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= result
;
14693 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14694 PyObject
*resultobj
= 0;
14695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14699 PyObject
*swig_obj
[1] ;
14701 if (!args
) SWIG_fail
;
14702 swig_obj
[0] = args
;
14703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14704 if (!SWIG_IsOK(res1
)) {
14705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14707 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14721 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14722 PyObject
*resultobj
= 0;
14723 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14724 wxColour
*result
= 0 ;
14727 PyObject
*swig_obj
[1] ;
14729 if (!args
) SWIG_fail
;
14730 swig_obj
[0] = args
;
14731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14732 if (!SWIG_IsOK(res1
)) {
14733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14735 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14740 result
= (wxColour
*) &_result_ref
;
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14752 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
= 0;
14754 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char * kwnames
[] = {
14763 (char *) "self",(char *) "count", NULL
14766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14771 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14772 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14773 if (!SWIG_IsOK(ecode2
)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14776 arg2
= static_cast< size_t >(val2
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetItemCount(arg2
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_Py_Void();
14790 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14791 PyObject
*resultobj
= 0;
14792 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14795 PyObject
*swig_obj
[1] ;
14797 if (!args
) SWIG_fail
;
14798 swig_obj
[0] = args
;
14799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14803 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_Py_Void();
14817 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
= 0;
14819 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 char * kwnames
[] = {
14828 (char *) "self",(char *) "selection", NULL
14831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14833 if (!SWIG_IsOK(res1
)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14836 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14838 if (!SWIG_IsOK(ecode2
)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14841 arg2
= static_cast< int >(val2
);
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 (arg1
)->SetSelection(arg2
);
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= SWIG_Py_Void();
14855 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14856 PyObject
*resultobj
= 0;
14857 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14859 bool arg3
= (bool) true ;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 PyObject
* obj2
= 0 ;
14870 char * kwnames
[] = {
14871 (char *) "self",(char *) "item",(char *) "select", NULL
14874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14876 if (!SWIG_IsOK(res1
)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14879 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14880 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14881 if (!SWIG_IsOK(ecode2
)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14884 arg2
= static_cast< size_t >(val2
);
14886 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14887 if (!SWIG_IsOK(ecode3
)) {
14888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14890 arg3
= static_cast< bool >(val3
);
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14907 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 PyObject
* obj2
= 0 ;
14922 char * kwnames
[] = {
14923 (char *) "self",(char *) "_from",(char *) "to", NULL
14926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14928 if (!SWIG_IsOK(res1
)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14931 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14932 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14933 if (!SWIG_IsOK(ecode2
)) {
14934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14936 arg2
= static_cast< size_t >(val2
);
14937 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14938 if (!SWIG_IsOK(ecode3
)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14941 arg3
= static_cast< size_t >(val3
);
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14957 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
= 0;
14959 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char * kwnames
[] = {
14968 (char *) "self",(char *) "item", NULL
14971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14976 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14977 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14978 if (!SWIG_IsOK(ecode2
)) {
14979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14981 arg2
= static_cast< size_t >(val2
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 (arg1
)->Toggle(arg2
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_Py_Void();
14995 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14996 PyObject
*resultobj
= 0;
14997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15001 PyObject
*swig_obj
[1] ;
15003 if (!args
) SWIG_fail
;
15004 swig_obj
[0] = args
;
15005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15006 if (!SWIG_IsOK(res1
)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15009 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (bool)(arg1
)->SelectAll();
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15025 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15026 PyObject
*resultobj
= 0;
15027 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15031 PyObject
*swig_obj
[1] ;
15033 if (!args
) SWIG_fail
;
15034 swig_obj
[0] = args
;
15035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15036 if (!SWIG_IsOK(res1
)) {
15037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15039 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (bool)(arg1
)->DeselectAll();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15055 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
= 0;
15057 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15058 wxPoint
*arg2
= 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char * kwnames
[] = {
15065 (char *) "self",(char *) "pt", NULL
15068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15073 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= SWIG_Py_Void();
15091 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
= 0;
15093 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 PyObject
* obj2
= 0 ;
15105 char * kwnames
[] = {
15106 (char *) "self",(char *) "x",(char *) "y", NULL
15109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15111 if (!SWIG_IsOK(res1
)) {
15112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15114 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15116 if (!SWIG_IsOK(ecode2
)) {
15117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15119 arg2
= static_cast< int >(val2
);
15120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15121 if (!SWIG_IsOK(ecode3
)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15124 arg3
= static_cast< int >(val3
);
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 (arg1
)->SetMargins(arg2
,arg3
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_Py_Void();
15138 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= 0;
15140 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15141 wxColour
*arg2
= 0 ;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 char * kwnames
[] = {
15148 (char *) "self",(char *) "col", NULL
15151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15153 if (!SWIG_IsOK(res1
)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15156 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15159 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_Py_Void();
15174 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
= 0;
15176 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 PyObject
* obj1
= 0 ;
15189 PyObject
* obj2
= 0 ;
15190 PyObject
* obj3
= 0 ;
15191 char * kwnames
[] = {
15192 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15200 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15202 if (!SWIG_IsOK(res2
)) {
15203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15208 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15211 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15213 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15214 if (!SWIG_IsOK(ecode4
)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15217 arg4
= static_cast< size_t >(val4
);
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= SWIG_Py_Void();
15231 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
= 0;
15233 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 PyObject
* obj2
= 0 ;
15247 PyObject
* obj3
= 0 ;
15248 char * kwnames
[] = {
15249 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15257 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15259 if (!SWIG_IsOK(res2
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15265 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15268 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15270 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15271 if (!SWIG_IsOK(ecode4
)) {
15272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15274 arg4
= static_cast< size_t >(val4
);
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_Py_Void();
15288 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15291 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15292 return SWIG_Py_Void();
15295 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15296 return SWIG_Python_InitShadowInstance(args
);
15299 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
= 0;
15301 wxWindow
*arg1
= (wxWindow
*) 0 ;
15302 int arg2
= (int) wxID_ANY
;
15303 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15304 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15305 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15306 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15307 long arg5
= (long) 0 ;
15308 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15309 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15310 wxPyHtmlListBox
*result
= 0 ;
15319 bool temp6
= false ;
15320 PyObject
* obj0
= 0 ;
15321 PyObject
* obj1
= 0 ;
15322 PyObject
* obj2
= 0 ;
15323 PyObject
* obj3
= 0 ;
15324 PyObject
* obj4
= 0 ;
15325 PyObject
* obj5
= 0 ;
15326 char * kwnames
[] = {
15327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15332 if (!SWIG_IsOK(res1
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15338 if (!SWIG_IsOK(ecode2
)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15341 arg2
= static_cast< int >(val2
);
15346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15352 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15356 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15357 if (!SWIG_IsOK(ecode5
)) {
15358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15360 arg5
= static_cast< long >(val5
);
15364 arg6
= wxString_in_helper(obj5
);
15365 if (arg6
== NULL
) SWIG_fail
;
15370 if (!wxPyCheckForApp()) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15391 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15392 PyObject
*resultobj
= 0;
15393 wxPyHtmlListBox
*result
= 0 ;
15395 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15397 if (!wxPyCheckForApp()) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15410 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
= 0;
15412 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15413 PyObject
*arg2
= (PyObject
*) 0 ;
15414 PyObject
*arg3
= (PyObject
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 PyObject
* obj2
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "self",(char *) "_class", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15429 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_Py_Void();
15445 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
= 0;
15447 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15448 wxWindow
*arg2
= (wxWindow
*) 0 ;
15449 int arg3
= (int) wxID_ANY
;
15450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15454 long arg6
= (long) 0 ;
15455 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15456 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15468 bool temp7
= false ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 PyObject
* obj2
= 0 ;
15472 PyObject
* obj3
= 0 ;
15473 PyObject
* obj4
= 0 ;
15474 PyObject
* obj5
= 0 ;
15475 PyObject
* obj6
= 0 ;
15476 char * kwnames
[] = {
15477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15482 if (!SWIG_IsOK(res1
)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15485 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15487 if (!SWIG_IsOK(res2
)) {
15488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15490 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15493 if (!SWIG_IsOK(ecode3
)) {
15494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15496 arg3
= static_cast< int >(val3
);
15501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15511 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15512 if (!SWIG_IsOK(ecode6
)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15515 arg6
= static_cast< long >(val6
);
15519 arg7
= wxString_in_helper(obj6
);
15520 if (arg7
== NULL
) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15547 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
= 0;
15549 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 char * kwnames
[] = {
15558 (char *) "self",(char *) "count", NULL
15561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15563 if (!SWIG_IsOK(res1
)) {
15564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15566 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15567 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15568 if (!SWIG_IsOK(ecode2
)) {
15569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15571 arg2
= static_cast< size_t >(val2
);
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 (arg1
)->SetItemCount(arg2
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= SWIG_Py_Void();
15585 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 PyObject
*resultobj
= 0;
15587 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15588 wxFileSystem
*result
= 0 ;
15591 PyObject
*swig_obj
[1] ;
15593 if (!args
) SWIG_fail
;
15594 swig_obj
[0] = args
;
15595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15596 if (!SWIG_IsOK(res1
)) {
15597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15599 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15604 result
= (wxFileSystem
*) &_result_ref
;
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15616 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
= 0;
15618 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15620 wxHtmlLinkInfo
*arg3
= 0 ;
15627 PyObject
* obj0
= 0 ;
15628 PyObject
* obj1
= 0 ;
15629 PyObject
* obj2
= 0 ;
15630 char * kwnames
[] = {
15631 (char *) "self",(char *) "n",(char *) "link", NULL
15634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15636 if (!SWIG_IsOK(res1
)) {
15637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15639 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15640 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15641 if (!SWIG_IsOK(ecode2
)) {
15642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15644 arg2
= static_cast< size_t >(val2
);
15645 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15646 if (!SWIG_IsOK(res3
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15652 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_Py_Void();
15666 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15670 return SWIG_Py_Void();
15673 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15674 return SWIG_Python_InitShadowInstance(args
);
15677 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15678 PyObject
*resultobj
= 0;
15679 wxPyTaskBarIcon
*result
= 0 ;
15681 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15683 if (!wxPyCheckForApp()) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15696 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15697 PyObject
*resultobj
= 0;
15698 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15701 PyObject
*swig_obj
[1] ;
15703 if (!args
) SWIG_fail
;
15704 swig_obj
[0] = args
;
15705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15706 if (!SWIG_IsOK(res1
)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15709 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_Py_Void();
15724 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
= 0;
15726 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15727 PyObject
*arg2
= (PyObject
*) 0 ;
15728 PyObject
*arg3
= (PyObject
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 PyObject
* obj3
= 0 ;
15738 char * kwnames
[] = {
15739 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15747 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15751 if (!SWIG_IsOK(ecode4
)) {
15752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15754 arg4
= static_cast< int >(val4
);
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_Py_Void();
15768 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15769 PyObject
*resultobj
= 0;
15770 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15773 PyObject
*swig_obj
[1] ;
15775 if (!args
) SWIG_fail
;
15776 swig_obj
[0] = args
;
15777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15778 if (!SWIG_IsOK(res1
)) {
15779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15781 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 wxPyTaskBarIcon_Destroy(arg1
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_Py_Void();
15795 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15796 PyObject
*resultobj
= 0;
15797 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15801 PyObject
*swig_obj
[1] ;
15803 if (!args
) SWIG_fail
;
15804 swig_obj
[0] = args
;
15805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15806 if (!SWIG_IsOK(res1
)) {
15807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15809 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15825 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15826 PyObject
*resultobj
= 0;
15827 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15831 PyObject
*swig_obj
[1] ;
15833 if (!args
) SWIG_fail
;
15834 swig_obj
[0] = args
;
15835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15836 if (!SWIG_IsOK(res1
)) {
15837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15839 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15855 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
= 0;
15857 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15866 bool temp3
= false ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 PyObject
* obj2
= 0 ;
15870 char * kwnames
[] = {
15871 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15876 if (!SWIG_IsOK(res1
)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15879 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15881 if (!SWIG_IsOK(res2
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15887 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15890 arg3
= wxString_in_helper(obj2
);
15891 if (arg3
== NULL
) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15918 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15919 PyObject
*resultobj
= 0;
15920 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15924 PyObject
*swig_obj
[1] ;
15926 if (!args
) SWIG_fail
;
15927 swig_obj
[0] = args
;
15928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15932 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (bool)(arg1
)->RemoveIcon();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15948 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
= 0;
15950 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15951 wxMenu
*arg2
= (wxMenu
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 PyObject
* obj1
= 0 ;
15959 char * kwnames
[] = {
15960 (char *) "self",(char *) "menu", NULL
15963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15965 if (!SWIG_IsOK(res1
)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15968 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15970 if (!SWIG_IsOK(res2
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15973 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (bool)(arg1
)->PopupMenu(arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15989 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15992 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15993 return SWIG_Py_Void();
15996 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15997 return SWIG_Python_InitShadowInstance(args
);
16000 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
= 0;
16003 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16004 wxTaskBarIconEvent
*result
= 0 ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char * kwnames
[] = {
16012 (char *) "evtType",(char *) "tbIcon", NULL
16015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16017 if (!SWIG_IsOK(ecode1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16020 arg1
= static_cast< wxEventType
>(val1
);
16021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16022 if (!SWIG_IsOK(res2
)) {
16023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16025 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16039 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16042 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16043 return SWIG_Py_Void();
16046 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16047 return SWIG_Python_InitShadowInstance(args
);
16050 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16051 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16056 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16057 PyObject
*pyobj
= 0;
16061 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16063 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16070 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16071 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16076 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16077 PyObject
*pyobj
= 0;
16081 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16083 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16090 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16091 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16096 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16097 PyObject
*pyobj
= 0;
16101 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16103 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16110 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16111 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16116 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16117 PyObject
*pyobj
= 0;
16121 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16123 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16130 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16131 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16136 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16137 PyObject
*pyobj
= 0;
16141 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16143 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16150 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16151 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16156 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16157 PyObject
*pyobj
= 0;
16161 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16163 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16170 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16171 PyObject
*resultobj
= 0;
16172 wxColourData
*result
= 0 ;
16174 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (wxColourData
*)new wxColourData();
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16188 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16189 PyObject
*resultobj
= 0;
16190 wxColourData
*arg1
= (wxColourData
*) 0 ;
16193 PyObject
*swig_obj
[1] ;
16195 if (!args
) SWIG_fail
;
16196 swig_obj
[0] = args
;
16197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16201 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= SWIG_Py_Void();
16216 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16217 PyObject
*resultobj
= 0;
16218 wxColourData
*arg1
= (wxColourData
*) 0 ;
16222 PyObject
*swig_obj
[1] ;
16224 if (!args
) SWIG_fail
;
16225 swig_obj
[0] = args
;
16226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16227 if (!SWIG_IsOK(res1
)) {
16228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16230 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (bool)(arg1
)->GetChooseFull();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16246 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 PyObject
*resultobj
= 0;
16248 wxColourData
*arg1
= (wxColourData
*) 0 ;
16252 PyObject
*swig_obj
[1] ;
16254 if (!args
) SWIG_fail
;
16255 swig_obj
[0] = args
;
16256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16257 if (!SWIG_IsOK(res1
)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16260 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (arg1
)->GetColour();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16274 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
= 0;
16276 wxColourData
*arg1
= (wxColourData
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char * kwnames
[] = {
16286 (char *) "self",(char *) "i", NULL
16289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16291 if (!SWIG_IsOK(res1
)) {
16292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16294 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16296 if (!SWIG_IsOK(ecode2
)) {
16297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16299 arg2
= static_cast< int >(val2
);
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (arg1
)->GetCustomColour(arg2
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16313 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
= 0;
16315 wxColourData
*arg1
= (wxColourData
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 char * kwnames
[] = {
16324 (char *) "self",(char *) "flag", NULL
16327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16329 if (!SWIG_IsOK(res1
)) {
16330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16332 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16334 if (!SWIG_IsOK(ecode2
)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16337 arg2
= static_cast< int >(val2
);
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 (arg1
)->SetChooseFull(arg2
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= SWIG_Py_Void();
16351 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
= 0;
16353 wxColourData
*arg1
= (wxColourData
*) 0 ;
16354 wxColour
*arg2
= 0 ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 char * kwnames
[] = {
16361 (char *) "self",(char *) "colour", NULL
16364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16366 if (!SWIG_IsOK(res1
)) {
16367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16369 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16372 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 (arg1
)->SetColour((wxColour
const &)*arg2
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= SWIG_Py_Void();
16387 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16389 wxColourData
*arg1
= (wxColourData
*) 0 ;
16391 wxColour
*arg3
= 0 ;
16397 PyObject
* obj0
= 0 ;
16398 PyObject
* obj1
= 0 ;
16399 PyObject
* obj2
= 0 ;
16400 char * kwnames
[] = {
16401 (char *) "self",(char *) "i",(char *) "colour", NULL
16404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16406 if (!SWIG_IsOK(res1
)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16409 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16411 if (!SWIG_IsOK(ecode2
)) {
16412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16414 arg2
= static_cast< int >(val2
);
16417 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_Py_Void();
16432 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16435 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16436 return SWIG_Py_Void();
16439 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16440 return SWIG_Python_InitShadowInstance(args
);
16443 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
= 0;
16445 wxWindow
*arg1
= (wxWindow
*) 0 ;
16446 wxColourData
*arg2
= (wxColourData
*) NULL
;
16447 wxColourDialog
*result
= 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char * kwnames
[] = {
16455 (char *) "parent",(char *) "data", NULL
16458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16463 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16466 if (!SWIG_IsOK(res2
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16469 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16472 if (!wxPyCheckForApp()) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16485 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16486 PyObject
*resultobj
= 0;
16487 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16488 wxColourData
*result
= 0 ;
16491 PyObject
*swig_obj
[1] ;
16493 if (!args
) SWIG_fail
;
16494 swig_obj
[0] = args
;
16495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16496 if (!SWIG_IsOK(res1
)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16499 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16504 result
= (wxColourData
*) &_result_ref
;
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16516 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16519 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16520 return SWIG_Py_Void();
16523 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16524 return SWIG_Python_InitShadowInstance(args
);
16527 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
= 0;
16529 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16530 wxColour
const &arg2_defvalue
= wxNullColour
;
16531 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16538 bool temp3
= false ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16549 if (!SWIG_IsOK(res1
)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16562 arg3
= wxString_in_helper(obj2
);
16563 if (arg3
== NULL
) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16588 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 wxWindow
*arg1
= (wxWindow
*) 0 ;
16591 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16592 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16593 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16594 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16595 long arg4
= (long) 0 ;
16596 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16597 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16598 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16599 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16600 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16602 wxDirDialog
*result
= 0 ;
16605 bool temp2
= false ;
16606 bool temp3
= false ;
16611 bool temp7
= false ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 PyObject
* obj2
= 0 ;
16615 PyObject
* obj3
= 0 ;
16616 PyObject
* obj4
= 0 ;
16617 PyObject
* obj5
= 0 ;
16618 PyObject
* obj6
= 0 ;
16619 char * kwnames
[] = {
16620 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16625 if (!SWIG_IsOK(res1
)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16631 arg2
= wxString_in_helper(obj1
);
16632 if (arg2
== NULL
) SWIG_fail
;
16638 arg3
= wxString_in_helper(obj2
);
16639 if (arg3
== NULL
) SWIG_fail
;
16644 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16645 if (!SWIG_IsOK(ecode4
)) {
16646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16648 arg4
= static_cast< long >(val4
);
16653 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16659 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16664 arg7
= wxString_in_helper(obj6
);
16665 if (arg7
== NULL
) SWIG_fail
;
16670 if (!wxPyCheckForApp()) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16707 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16708 PyObject
*resultobj
= 0;
16709 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16713 PyObject
*swig_obj
[1] ;
16715 if (!args
) SWIG_fail
;
16716 swig_obj
[0] = args
;
16717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16718 if (!SWIG_IsOK(res1
)) {
16719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16721 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (arg1
)->GetPath();
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16741 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16742 PyObject
*resultobj
= 0;
16743 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16747 PyObject
*swig_obj
[1] ;
16749 if (!args
) SWIG_fail
;
16750 swig_obj
[0] = args
;
16751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16755 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (arg1
)->GetMessage();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16775 SWIGINTERN PyObject
*_wrap_DirDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16776 PyObject
*resultobj
= 0;
16777 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16781 PyObject
*swig_obj
[1] ;
16783 if (!args
) SWIG_fail
;
16784 swig_obj
[0] = args
;
16785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16789 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (long)(arg1
)->GetStyle();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_From_long(static_cast< long >(result
));
16803 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
= 0;
16805 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16806 wxString
*arg2
= 0 ;
16809 bool temp2
= false ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char * kwnames
[] = {
16813 (char *) "self",(char *) "message", NULL
16816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16818 if (!SWIG_IsOK(res1
)) {
16819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16821 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16823 arg2
= wxString_in_helper(obj1
);
16824 if (arg2
== NULL
) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 (arg1
)->SetMessage((wxString
const &)*arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= SWIG_Py_Void();
16848 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
= 0;
16850 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16851 wxString
*arg2
= 0 ;
16854 bool temp2
= false ;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 char * kwnames
[] = {
16858 (char *) "self",(char *) "path", NULL
16861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16863 if (!SWIG_IsOK(res1
)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16866 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16868 arg2
= wxString_in_helper(obj1
);
16869 if (arg2
== NULL
) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 (arg1
)->SetPath((wxString
const &)*arg2
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= SWIG_Py_Void();
16893 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16896 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16897 return SWIG_Py_Void();
16900 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16901 return SWIG_Python_InitShadowInstance(args
);
16904 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
= 0;
16906 wxWindow
*arg1
= (wxWindow
*) 0 ;
16907 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16908 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16909 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16910 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16911 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16912 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16913 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16914 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16915 long arg6
= (long) 0 ;
16916 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16917 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16918 wxFileDialog
*result
= 0 ;
16921 bool temp2
= false ;
16922 bool temp3
= false ;
16923 bool temp4
= false ;
16924 bool temp5
= false ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 PyObject
* obj2
= 0 ;
16931 PyObject
* obj3
= 0 ;
16932 PyObject
* obj4
= 0 ;
16933 PyObject
* obj5
= 0 ;
16934 PyObject
* obj6
= 0 ;
16935 char * kwnames
[] = {
16936 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16941 if (!SWIG_IsOK(res1
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16947 arg2
= wxString_in_helper(obj1
);
16948 if (arg2
== NULL
) SWIG_fail
;
16954 arg3
= wxString_in_helper(obj2
);
16955 if (arg3
== NULL
) SWIG_fail
;
16961 arg4
= wxString_in_helper(obj3
);
16962 if (arg4
== NULL
) SWIG_fail
;
16968 arg5
= wxString_in_helper(obj4
);
16969 if (arg5
== NULL
) SWIG_fail
;
16974 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16975 if (!SWIG_IsOK(ecode6
)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16978 arg6
= static_cast< long >(val6
);
16983 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16987 if (!wxPyCheckForApp()) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17032 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= 0;
17034 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17035 wxString
*arg2
= 0 ;
17038 bool temp2
= false ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char * kwnames
[] = {
17042 (char *) "self",(char *) "message", NULL
17045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17047 if (!SWIG_IsOK(res1
)) {
17048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17050 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17052 arg2
= wxString_in_helper(obj1
);
17053 if (arg2
== NULL
) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 (arg1
)->SetMessage((wxString
const &)*arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= SWIG_Py_Void();
17077 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
= 0;
17079 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17080 wxString
*arg2
= 0 ;
17083 bool temp2
= false ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 char * kwnames
[] = {
17087 (char *) "self",(char *) "path", NULL
17090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17095 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17097 arg2
= wxString_in_helper(obj1
);
17098 if (arg2
== NULL
) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 (arg1
)->SetPath((wxString
const &)*arg2
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= SWIG_Py_Void();
17122 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
= 0;
17124 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17125 wxString
*arg2
= 0 ;
17128 bool temp2
= false ;
17129 PyObject
* obj0
= 0 ;
17130 PyObject
* obj1
= 0 ;
17131 char * kwnames
[] = {
17132 (char *) "self",(char *) "dir", NULL
17135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17137 if (!SWIG_IsOK(res1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17140 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17142 arg2
= wxString_in_helper(obj1
);
17143 if (arg2
== NULL
) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_Py_Void();
17167 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
= 0;
17169 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17170 wxString
*arg2
= 0 ;
17173 bool temp2
= false ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char * kwnames
[] = {
17177 (char *) "self",(char *) "name", NULL
17180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17182 if (!SWIG_IsOK(res1
)) {
17183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17185 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17187 arg2
= wxString_in_helper(obj1
);
17188 if (arg2
== NULL
) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 (arg1
)->SetFilename((wxString
const &)*arg2
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= SWIG_Py_Void();
17212 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
= 0;
17214 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17215 wxString
*arg2
= 0 ;
17218 bool temp2
= false ;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 char * kwnames
[] = {
17222 (char *) "self",(char *) "wildCard", NULL
17225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17227 if (!SWIG_IsOK(res1
)) {
17228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17230 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17232 arg2
= wxString_in_helper(obj1
);
17233 if (arg2
== NULL
) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= SWIG_Py_Void();
17257 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char * kwnames
[] = {
17268 (char *) "self",(char *) "style", NULL
17271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17276 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17277 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17278 if (!SWIG_IsOK(ecode2
)) {
17279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17281 arg2
= static_cast< long >(val2
);
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 (arg1
)->SetStyle(arg2
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= SWIG_Py_Void();
17295 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
= 0;
17297 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 PyObject
* obj1
= 0 ;
17305 char * kwnames
[] = {
17306 (char *) "self",(char *) "filterIndex", NULL
17309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17311 if (!SWIG_IsOK(res1
)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17314 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17316 if (!SWIG_IsOK(ecode2
)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17319 arg2
= static_cast< int >(val2
);
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 (arg1
)->SetFilterIndex(arg2
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_Py_Void();
17333 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17334 PyObject
*resultobj
= 0;
17335 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17339 PyObject
*swig_obj
[1] ;
17341 if (!args
) SWIG_fail
;
17342 swig_obj
[0] = args
;
17343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17344 if (!SWIG_IsOK(res1
)) {
17345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17347 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17367 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17368 PyObject
*resultobj
= 0;
17369 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17373 PyObject
*swig_obj
[1] ;
17375 if (!args
) SWIG_fail
;
17376 swig_obj
[0] = args
;
17377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17378 if (!SWIG_IsOK(res1
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17381 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17401 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17402 PyObject
*resultobj
= 0;
17403 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17407 PyObject
*swig_obj
[1] ;
17409 if (!args
) SWIG_fail
;
17410 swig_obj
[0] = args
;
17411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17412 if (!SWIG_IsOK(res1
)) {
17413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17415 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17435 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17436 PyObject
*resultobj
= 0;
17437 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17441 PyObject
*swig_obj
[1] ;
17443 if (!args
) SWIG_fail
;
17444 swig_obj
[0] = args
;
17445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17446 if (!SWIG_IsOK(res1
)) {
17447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17449 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17469 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17470 PyObject
*resultobj
= 0;
17471 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17475 PyObject
*swig_obj
[1] ;
17477 if (!args
) SWIG_fail
;
17478 swig_obj
[0] = args
;
17479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17480 if (!SWIG_IsOK(res1
)) {
17481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17483 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17503 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 PyObject
*resultobj
= 0;
17505 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17509 PyObject
*swig_obj
[1] ;
17511 if (!args
) SWIG_fail
;
17512 swig_obj
[0] = args
;
17513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17514 if (!SWIG_IsOK(res1
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17517 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= SWIG_From_long(static_cast< long >(result
));
17531 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17532 PyObject
*resultobj
= 0;
17533 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17537 PyObject
*swig_obj
[1] ;
17539 if (!args
) SWIG_fail
;
17540 swig_obj
[0] = args
;
17541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17542 if (!SWIG_IsOK(res1
)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17545 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_From_int(static_cast< int >(result
));
17559 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17560 PyObject
*resultobj
= 0;
17561 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17562 PyObject
*result
= 0 ;
17565 PyObject
*swig_obj
[1] ;
17567 if (!args
) SWIG_fail
;
17568 swig_obj
[0] = args
;
17569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17570 if (!SWIG_IsOK(res1
)) {
17571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17573 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= result
;
17587 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17588 PyObject
*resultobj
= 0;
17589 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17590 PyObject
*result
= 0 ;
17593 PyObject
*swig_obj
[1] ;
17595 if (!args
) SWIG_fail
;
17596 swig_obj
[0] = args
;
17597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17598 if (!SWIG_IsOK(res1
)) {
17599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17601 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= result
;
17615 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17618 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17619 return SWIG_Py_Void();
17622 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17623 return SWIG_Python_InitShadowInstance(args
);
17626 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
= 0;
17628 wxWindow
*arg1
= (wxWindow
*) 0 ;
17629 wxString
*arg2
= 0 ;
17630 wxString
*arg3
= 0 ;
17631 int arg4
= (int) 0 ;
17632 wxString
*arg5
= (wxString
*) NULL
;
17633 long arg6
= (long) wxCHOICEDLG_STYLE
;
17634 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17635 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17636 wxMultiChoiceDialog
*result
= 0 ;
17639 bool temp2
= false ;
17640 bool temp3
= false ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 PyObject
* obj2
= 0 ;
17647 PyObject
* obj3
= 0 ;
17648 PyObject
* obj4
= 0 ;
17649 PyObject
* obj5
= 0 ;
17650 char * kwnames
[] = {
17651 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17656 if (!SWIG_IsOK(res1
)) {
17657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17661 arg2
= wxString_in_helper(obj1
);
17662 if (arg2
== NULL
) SWIG_fail
;
17666 arg3
= wxString_in_helper(obj2
);
17667 if (arg3
== NULL
) SWIG_fail
;
17672 arg4
= PyList_Size(obj3
);
17673 arg5
= wxString_LIST_helper(obj3
);
17674 if (arg5
== NULL
) SWIG_fail
;
17678 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17679 if (!SWIG_IsOK(ecode6
)) {
17680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17682 arg6
= static_cast< long >(val6
);
17687 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17691 if (!wxPyCheckForApp()) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17707 if (arg5
) delete [] arg5
;
17720 if (arg5
) delete [] arg5
;
17726 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
= 0;
17728 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17729 wxArrayInt
*arg2
= 0 ;
17732 bool temp2
= false ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char * kwnames
[] = {
17736 (char *) "self",(char *) "selections", NULL
17739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17741 if (!SWIG_IsOK(res1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17744 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17746 if (! PySequence_Check(obj1
)) {
17747 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17750 arg2
= new wxArrayInt
;
17752 int i
, len
=PySequence_Length(obj1
);
17753 for (i
=0; i
<len
; i
++) {
17754 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17755 PyObject
* number
= PyNumber_Int(item
);
17756 arg2
->Add(PyInt_AS_LONG(number
));
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_Py_Void();
17769 if (temp2
) delete arg2
;
17774 if (temp2
) delete arg2
;
17780 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17781 PyObject
*resultobj
= 0;
17782 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17783 PyObject
*result
= 0 ;
17786 PyObject
*swig_obj
[1] ;
17788 if (!args
) SWIG_fail
;
17789 swig_obj
[0] = args
;
17790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17791 if (!SWIG_IsOK(res1
)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17794 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= result
;
17808 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17811 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17812 return SWIG_Py_Void();
17815 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17816 return SWIG_Python_InitShadowInstance(args
);
17819 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
= 0;
17821 wxWindow
*arg1
= (wxWindow
*) 0 ;
17822 wxString
*arg2
= 0 ;
17823 wxString
*arg3
= 0 ;
17825 wxString
*arg5
= (wxString
*) 0 ;
17826 long arg6
= (long) wxCHOICEDLG_STYLE
;
17827 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17828 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17829 wxSingleChoiceDialog
*result
= 0 ;
17832 bool temp2
= false ;
17833 bool temp3
= false ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 PyObject
* obj2
= 0 ;
17840 PyObject
* obj3
= 0 ;
17841 PyObject
* obj4
= 0 ;
17842 PyObject
* obj5
= 0 ;
17843 char * kwnames
[] = {
17844 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17849 if (!SWIG_IsOK(res1
)) {
17850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17854 arg2
= wxString_in_helper(obj1
);
17855 if (arg2
== NULL
) SWIG_fail
;
17859 arg3
= wxString_in_helper(obj2
);
17860 if (arg3
== NULL
) SWIG_fail
;
17864 arg4
= PyList_Size(obj3
);
17865 arg5
= wxString_LIST_helper(obj3
);
17866 if (arg5
== NULL
) SWIG_fail
;
17869 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17870 if (!SWIG_IsOK(ecode6
)) {
17871 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17873 arg6
= static_cast< long >(val6
);
17878 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17882 if (!wxPyCheckForApp()) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17898 if (arg5
) delete [] arg5
;
17911 if (arg5
) delete [] arg5
;
17917 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17918 PyObject
*resultobj
= 0;
17919 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17923 PyObject
*swig_obj
[1] ;
17925 if (!args
) SWIG_fail
;
17926 swig_obj
[0] = args
;
17927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17928 if (!SWIG_IsOK(res1
)) {
17929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17931 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (int)(arg1
)->GetSelection();
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_From_int(static_cast< int >(result
));
17945 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17946 PyObject
*resultobj
= 0;
17947 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17951 PyObject
*swig_obj
[1] ;
17953 if (!args
) SWIG_fail
;
17954 swig_obj
[0] = args
;
17955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17956 if (!SWIG_IsOK(res1
)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17959 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (arg1
)->GetStringSelection();
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17979 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 char * kwnames
[] = {
17990 (char *) "self",(char *) "sel", NULL
17993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17995 if (!SWIG_IsOK(res1
)) {
17996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17998 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18000 if (!SWIG_IsOK(ecode2
)) {
18001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18003 arg2
= static_cast< int >(val2
);
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 (arg1
)->SetSelection(arg2
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_Py_Void();
18017 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18020 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18021 return SWIG_Py_Void();
18024 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18025 return SWIG_Python_InitShadowInstance(args
);
18028 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
= 0;
18030 wxWindow
*arg1
= (wxWindow
*) 0 ;
18031 wxString
*arg2
= 0 ;
18032 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18033 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18036 long arg5
= (long) wxTextEntryDialogStyle
;
18037 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18038 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18039 wxTextEntryDialog
*result
= 0 ;
18042 bool temp2
= false ;
18043 bool temp3
= false ;
18044 bool temp4
= false ;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 PyObject
* obj2
= 0 ;
18051 PyObject
* obj3
= 0 ;
18052 PyObject
* obj4
= 0 ;
18053 PyObject
* obj5
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18065 arg2
= wxString_in_helper(obj1
);
18066 if (arg2
== NULL
) SWIG_fail
;
18071 arg3
= wxString_in_helper(obj2
);
18072 if (arg3
== NULL
) SWIG_fail
;
18078 arg4
= wxString_in_helper(obj3
);
18079 if (arg4
== NULL
) SWIG_fail
;
18084 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18085 if (!SWIG_IsOK(ecode5
)) {
18086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18088 arg5
= static_cast< long >(val5
);
18093 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18097 if (!wxPyCheckForApp()) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18134 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18135 PyObject
*resultobj
= 0;
18136 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18140 PyObject
*swig_obj
[1] ;
18142 if (!args
) SWIG_fail
;
18143 swig_obj
[0] = args
;
18144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18145 if (!SWIG_IsOK(res1
)) {
18146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18148 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (arg1
)->GetValue();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18168 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
= 0;
18170 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18171 wxString
*arg2
= 0 ;
18174 bool temp2
= false ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 char * kwnames
[] = {
18178 (char *) "self",(char *) "value", NULL
18181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18183 if (!SWIG_IsOK(res1
)) {
18184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18186 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18188 arg2
= wxString_in_helper(obj1
);
18189 if (arg2
== NULL
) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 (arg1
)->SetValue((wxString
const &)*arg2
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= SWIG_Py_Void();
18213 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18216 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18217 return SWIG_Py_Void();
18220 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18221 return SWIG_Python_InitShadowInstance(args
);
18224 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18225 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18230 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18231 PyObject
*pyobj
= 0;
18235 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18237 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18244 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
= 0;
18246 wxWindow
*arg1
= (wxWindow
*) 0 ;
18247 wxString
*arg2
= 0 ;
18248 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18252 long arg5
= (long) wxTextEntryDialogStyle
;
18253 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18254 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18255 wxPasswordEntryDialog
*result
= 0 ;
18258 bool temp2
= false ;
18259 bool temp3
= false ;
18260 bool temp4
= false ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 PyObject
* obj3
= 0 ;
18268 PyObject
* obj4
= 0 ;
18269 PyObject
* obj5
= 0 ;
18270 char * kwnames
[] = {
18271 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18276 if (!SWIG_IsOK(res1
)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18281 arg2
= wxString_in_helper(obj1
);
18282 if (arg2
== NULL
) SWIG_fail
;
18287 arg3
= wxString_in_helper(obj2
);
18288 if (arg3
== NULL
) SWIG_fail
;
18294 arg4
= wxString_in_helper(obj3
);
18295 if (arg4
== NULL
) SWIG_fail
;
18300 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18301 if (!SWIG_IsOK(ecode5
)) {
18302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18304 arg5
= static_cast< long >(val5
);
18309 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18349 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18352 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18353 return SWIG_Py_Void();
18356 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18357 return SWIG_Python_InitShadowInstance(args
);
18360 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18361 PyObject
*resultobj
= 0;
18362 wxFontData
*result
= 0 ;
18364 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (wxFontData
*)new wxFontData();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18378 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 PyObject
*resultobj
= 0;
18380 wxFontData
*arg1
= (wxFontData
*) 0 ;
18383 PyObject
*swig_obj
[1] ;
18385 if (!args
) SWIG_fail
;
18386 swig_obj
[0] = args
;
18387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18388 if (!SWIG_IsOK(res1
)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18391 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_Py_Void();
18406 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
= 0;
18408 wxFontData
*arg1
= (wxFontData
*) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 PyObject
* obj1
= 0 ;
18416 char * kwnames
[] = {
18417 (char *) "self",(char *) "enable", NULL
18420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18422 if (!SWIG_IsOK(res1
)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18425 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18426 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18427 if (!SWIG_IsOK(ecode2
)) {
18428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18430 arg2
= static_cast< bool >(val2
);
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 (arg1
)->EnableEffects(arg2
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= SWIG_Py_Void();
18444 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18445 PyObject
*resultobj
= 0;
18446 wxFontData
*arg1
= (wxFontData
*) 0 ;
18450 PyObject
*swig_obj
[1] ;
18452 if (!args
) SWIG_fail
;
18453 swig_obj
[0] = args
;
18454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18458 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (bool)(arg1
)->GetAllowSymbols();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18475 PyObject
*resultobj
= 0;
18476 wxFontData
*arg1
= (wxFontData
*) 0 ;
18480 PyObject
*swig_obj
[1] ;
18482 if (!args
) SWIG_fail
;
18483 swig_obj
[0] = args
;
18484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18485 if (!SWIG_IsOK(res1
)) {
18486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18488 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 result
= (arg1
)->GetColour();
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18502 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18503 PyObject
*resultobj
= 0;
18504 wxFontData
*arg1
= (wxFontData
*) 0 ;
18508 PyObject
*swig_obj
[1] ;
18510 if (!args
) SWIG_fail
;
18511 swig_obj
[0] = args
;
18512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18516 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 result
= (arg1
)->GetChosenFont();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18530 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18531 PyObject
*resultobj
= 0;
18532 wxFontData
*arg1
= (wxFontData
*) 0 ;
18536 PyObject
*swig_obj
[1] ;
18538 if (!args
) SWIG_fail
;
18539 swig_obj
[0] = args
;
18540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18541 if (!SWIG_IsOK(res1
)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18544 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 result
= (bool)(arg1
)->GetEnableEffects();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18560 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18561 PyObject
*resultobj
= 0;
18562 wxFontData
*arg1
= (wxFontData
*) 0 ;
18566 PyObject
*swig_obj
[1] ;
18568 if (!args
) SWIG_fail
;
18569 swig_obj
[0] = args
;
18570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18571 if (!SWIG_IsOK(res1
)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18574 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (arg1
)->GetInitialFont();
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18588 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18589 PyObject
*resultobj
= 0;
18590 wxFontData
*arg1
= (wxFontData
*) 0 ;
18594 PyObject
*swig_obj
[1] ;
18596 if (!args
) SWIG_fail
;
18597 swig_obj
[0] = args
;
18598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18599 if (!SWIG_IsOK(res1
)) {
18600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18602 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (bool)(arg1
)->GetShowHelp();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18618 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
= 0;
18620 wxFontData
*arg1
= (wxFontData
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 PyObject
* obj1
= 0 ;
18628 char * kwnames
[] = {
18629 (char *) "self",(char *) "allowSymbols", NULL
18632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18634 if (!SWIG_IsOK(res1
)) {
18635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18637 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18638 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18639 if (!SWIG_IsOK(ecode2
)) {
18640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18642 arg2
= static_cast< bool >(val2
);
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 (arg1
)->SetAllowSymbols(arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 resultobj
= SWIG_Py_Void();
18656 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
= 0;
18658 wxFontData
*arg1
= (wxFontData
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 char * kwnames
[] = {
18667 (char *) "self",(char *) "font", NULL
18670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18672 if (!SWIG_IsOK(res1
)) {
18673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18675 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18677 if (!SWIG_IsOK(res2
)) {
18678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18683 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_Py_Void();
18697 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
= 0;
18699 wxFontData
*arg1
= (wxFontData
*) 0 ;
18700 wxColour
*arg2
= 0 ;
18704 PyObject
* obj0
= 0 ;
18705 PyObject
* obj1
= 0 ;
18706 char * kwnames
[] = {
18707 (char *) "self",(char *) "colour", NULL
18710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18712 if (!SWIG_IsOK(res1
)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18715 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18718 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->SetColour((wxColour
const &)*arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_Py_Void();
18733 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxFontData
*arg1
= (wxFontData
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char * kwnames
[] = {
18744 (char *) "self",(char *) "font", NULL
18747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18749 if (!SWIG_IsOK(res1
)) {
18750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18752 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18754 if (!SWIG_IsOK(res2
)) {
18755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18760 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_Py_Void();
18774 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
= 0;
18776 wxFontData
*arg1
= (wxFontData
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 char * kwnames
[] = {
18789 (char *) "self",(char *) "min",(char *) "max", NULL
18792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18794 if (!SWIG_IsOK(res1
)) {
18795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18797 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18799 if (!SWIG_IsOK(ecode2
)) {
18800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18802 arg2
= static_cast< int >(val2
);
18803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18804 if (!SWIG_IsOK(ecode3
)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18807 arg3
= static_cast< int >(val3
);
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 (arg1
)->SetRange(arg2
,arg3
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= SWIG_Py_Void();
18821 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
= 0;
18823 wxFontData
*arg1
= (wxFontData
*) 0 ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 char * kwnames
[] = {
18832 (char *) "self",(char *) "showHelp", NULL
18835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18837 if (!SWIG_IsOK(res1
)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18840 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18841 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18842 if (!SWIG_IsOK(ecode2
)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18845 arg2
= static_cast< bool >(val2
);
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->SetShowHelp(arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_Py_Void();
18859 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18862 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18863 return SWIG_Py_Void();
18866 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18867 return SWIG_Python_InitShadowInstance(args
);
18870 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
= 0;
18872 wxWindow
*arg1
= (wxWindow
*) 0 ;
18873 wxFontData
*arg2
= 0 ;
18874 wxFontDialog
*result
= 0 ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 char * kwnames
[] = {
18882 (char *) "parent",(char *) "data", NULL
18885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18887 if (!SWIG_IsOK(res1
)) {
18888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18890 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18892 if (!SWIG_IsOK(res2
)) {
18893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18898 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18900 if (!wxPyCheckForApp()) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18913 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18914 PyObject
*resultobj
= 0;
18915 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18916 wxFontData
*result
= 0 ;
18919 PyObject
*swig_obj
[1] ;
18921 if (!args
) SWIG_fail
;
18922 swig_obj
[0] = args
;
18923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18924 if (!SWIG_IsOK(res1
)) {
18925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18927 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18932 result
= (wxFontData
*) &_result_ref
;
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18944 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18947 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18948 return SWIG_Py_Void();
18951 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18952 return SWIG_Python_InitShadowInstance(args
);
18955 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
= 0;
18957 wxWindow
*arg1
= (wxWindow
*) NULL
;
18958 wxFont
const &arg2_defvalue
= wxNullFont
;
18959 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18960 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18961 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18967 bool temp3
= false ;
18968 PyObject
* obj0
= 0 ;
18969 PyObject
* obj1
= 0 ;
18970 PyObject
* obj2
= 0 ;
18971 char * kwnames
[] = {
18972 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18978 if (!SWIG_IsOK(res1
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18981 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18985 if (!SWIG_IsOK(res2
)) {
18986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18991 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18995 arg3
= wxString_in_helper(obj2
);
18996 if (arg3
== NULL
) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19021 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
= 0;
19023 wxWindow
*arg1
= (wxWindow
*) 0 ;
19024 wxString
*arg2
= 0 ;
19025 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19027 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19028 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19029 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19030 wxMessageDialog
*result
= 0 ;
19033 bool temp2
= false ;
19034 bool temp3
= false ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 PyObject
* obj2
= 0 ;
19041 PyObject
* obj3
= 0 ;
19042 PyObject
* obj4
= 0 ;
19043 char * kwnames
[] = {
19044 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19052 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19054 arg2
= wxString_in_helper(obj1
);
19055 if (arg2
== NULL
) SWIG_fail
;
19060 arg3
= wxString_in_helper(obj2
);
19061 if (arg3
== NULL
) SWIG_fail
;
19066 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19067 if (!SWIG_IsOK(ecode4
)) {
19068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19070 arg4
= static_cast< long >(val4
);
19075 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19079 if (!wxPyCheckForApp()) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19108 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19111 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19112 return SWIG_Py_Void();
19115 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19116 return SWIG_Python_InitShadowInstance(args
);
19119 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxString
*arg1
= 0 ;
19122 wxString
*arg2
= 0 ;
19123 int arg3
= (int) 100 ;
19124 wxWindow
*arg4
= (wxWindow
*) NULL
;
19125 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19126 wxProgressDialog
*result
= 0 ;
19127 bool temp1
= false ;
19128 bool temp2
= false ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 PyObject
* obj2
= 0 ;
19138 PyObject
* obj3
= 0 ;
19139 PyObject
* obj4
= 0 ;
19140 char * kwnames
[] = {
19141 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19146 arg1
= wxString_in_helper(obj0
);
19147 if (arg1
== NULL
) SWIG_fail
;
19151 arg2
= wxString_in_helper(obj1
);
19152 if (arg2
== NULL
) SWIG_fail
;
19156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19157 if (!SWIG_IsOK(ecode3
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19160 arg3
= static_cast< int >(val3
);
19163 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19164 if (!SWIG_IsOK(res4
)) {
19165 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19167 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19170 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19171 if (!SWIG_IsOK(ecode5
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19174 arg5
= static_cast< int >(val5
);
19177 if (!wxPyCheckForApp()) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19206 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
= 0;
19208 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19210 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19211 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19217 bool temp3
= false ;
19218 PyObject
* obj0
= 0 ;
19219 PyObject
* obj1
= 0 ;
19220 PyObject
* obj2
= 0 ;
19221 char * kwnames
[] = {
19222 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19227 if (!SWIG_IsOK(res1
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19230 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19232 if (!SWIG_IsOK(ecode2
)) {
19233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19235 arg2
= static_cast< int >(val2
);
19238 arg3
= wxString_in_helper(obj2
);
19239 if (arg3
== NULL
) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19266 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19267 PyObject
*resultobj
= 0;
19268 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19271 PyObject
*swig_obj
[1] ;
19273 if (!args
) SWIG_fail
;
19274 swig_obj
[0] = args
;
19275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19279 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_Py_Void();
19293 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19296 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19297 return SWIG_Py_Void();
19300 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19301 return SWIG_Python_InitShadowInstance(args
);
19304 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
= 0;
19306 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19307 int arg2
= (int) 0 ;
19308 wxFindDialogEvent
*result
= 0 ;
19313 PyObject
* obj0
= 0 ;
19314 PyObject
* obj1
= 0 ;
19315 char * kwnames
[] = {
19316 (char *) "commandType",(char *) "id", NULL
19319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19322 if (!SWIG_IsOK(ecode1
)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19325 arg1
= static_cast< wxEventType
>(val1
);
19328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19329 if (!SWIG_IsOK(ecode2
)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19332 arg2
= static_cast< int >(val2
);
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19347 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19348 PyObject
*resultobj
= 0;
19349 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19353 PyObject
*swig_obj
[1] ;
19355 if (!args
) SWIG_fail
;
19356 swig_obj
[0] = args
;
19357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19358 if (!SWIG_IsOK(res1
)) {
19359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19361 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (int)(arg1
)->GetFlags();
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= SWIG_From_int(static_cast< int >(result
));
19375 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19376 PyObject
*resultobj
= 0;
19377 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19378 wxString
*result
= 0 ;
19381 PyObject
*swig_obj
[1] ;
19383 if (!args
) SWIG_fail
;
19384 swig_obj
[0] = args
;
19385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19389 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 wxString
const &_result_ref
= (arg1
)->GetFindString();
19394 result
= (wxString
*) &_result_ref
;
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19412 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19413 PyObject
*resultobj
= 0;
19414 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19415 wxString
*result
= 0 ;
19418 PyObject
*swig_obj
[1] ;
19420 if (!args
) SWIG_fail
;
19421 swig_obj
[0] = args
;
19422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19423 if (!SWIG_IsOK(res1
)) {
19424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19426 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19431 result
= (wxString
*) &_result_ref
;
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19449 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19450 PyObject
*resultobj
= 0;
19451 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19452 wxFindReplaceDialog
*result
= 0 ;
19455 PyObject
*swig_obj
[1] ;
19457 if (!args
) SWIG_fail
;
19458 swig_obj
[0] = args
;
19459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19460 if (!SWIG_IsOK(res1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19463 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19477 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
= 0;
19479 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 char * kwnames
[] = {
19488 (char *) "self",(char *) "flags", NULL
19491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19493 if (!SWIG_IsOK(res1
)) {
19494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19496 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19498 if (!SWIG_IsOK(ecode2
)) {
19499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19501 arg2
= static_cast< int >(val2
);
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 (arg1
)->SetFlags(arg2
);
19505 wxPyEndAllowThreads(__tstate
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= SWIG_Py_Void();
19515 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
= 0;
19517 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19518 wxString
*arg2
= 0 ;
19521 bool temp2
= false ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char * kwnames
[] = {
19525 (char *) "self",(char *) "str", NULL
19528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19530 if (!SWIG_IsOK(res1
)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19533 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19535 arg2
= wxString_in_helper(obj1
);
19536 if (arg2
== NULL
) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 (arg1
)->SetFindString((wxString
const &)*arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= SWIG_Py_Void();
19560 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
= 0;
19562 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19563 wxString
*arg2
= 0 ;
19566 bool temp2
= false ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char * kwnames
[] = {
19570 (char *) "self",(char *) "str", NULL
19573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19578 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19580 arg2
= wxString_in_helper(obj1
);
19581 if (arg2
== NULL
) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= SWIG_Py_Void();
19605 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19608 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19609 return SWIG_Py_Void();
19612 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19613 return SWIG_Python_InitShadowInstance(args
);
19616 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
= 0;
19618 int arg1
= (int) 0 ;
19619 wxFindReplaceData
*result
= 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char * kwnames
[] = {
19624 (char *) "flags", NULL
19627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19630 if (!SWIG_IsOK(ecode1
)) {
19631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19633 arg1
= static_cast< int >(val1
);
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19648 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19649 PyObject
*resultobj
= 0;
19650 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19653 PyObject
*swig_obj
[1] ;
19655 if (!args
) SWIG_fail
;
19656 swig_obj
[0] = args
;
19657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19661 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= SWIG_Py_Void();
19676 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19677 PyObject
*resultobj
= 0;
19678 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19679 wxString
*result
= 0 ;
19682 PyObject
*swig_obj
[1] ;
19684 if (!args
) SWIG_fail
;
19685 swig_obj
[0] = args
;
19686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19687 if (!SWIG_IsOK(res1
)) {
19688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19690 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 wxString
const &_result_ref
= (arg1
)->GetFindString();
19695 result
= (wxString
*) &_result_ref
;
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19704 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19713 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19714 PyObject
*resultobj
= 0;
19715 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19716 wxString
*result
= 0 ;
19719 PyObject
*swig_obj
[1] ;
19721 if (!args
) SWIG_fail
;
19722 swig_obj
[0] = args
;
19723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19724 if (!SWIG_IsOK(res1
)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19727 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19732 result
= (wxString
*) &_result_ref
;
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19750 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19751 PyObject
*resultobj
= 0;
19752 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19756 PyObject
*swig_obj
[1] ;
19758 if (!args
) SWIG_fail
;
19759 swig_obj
[0] = args
;
19760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19761 if (!SWIG_IsOK(res1
)) {
19762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19764 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (int)(arg1
)->GetFlags();
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= SWIG_From_int(static_cast< int >(result
));
19778 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= 0;
19780 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char * kwnames
[] = {
19789 (char *) "self",(char *) "flags", NULL
19792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19797 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19799 if (!SWIG_IsOK(ecode2
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19802 arg2
= static_cast< int >(val2
);
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 (arg1
)->SetFlags(arg2
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_Py_Void();
19816 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
= 0;
19818 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19819 wxString
*arg2
= 0 ;
19822 bool temp2
= false ;
19823 PyObject
* obj0
= 0 ;
19824 PyObject
* obj1
= 0 ;
19825 char * kwnames
[] = {
19826 (char *) "self",(char *) "str", NULL
19829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19834 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19836 arg2
= wxString_in_helper(obj1
);
19837 if (arg2
== NULL
) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 (arg1
)->SetFindString((wxString
const &)*arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_Py_Void();
19861 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
= 0;
19863 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19864 wxString
*arg2
= 0 ;
19867 bool temp2
= false ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char * kwnames
[] = {
19871 (char *) "self",(char *) "str", NULL
19874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19876 if (!SWIG_IsOK(res1
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19879 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19881 arg2
= wxString_in_helper(obj1
);
19882 if (arg2
== NULL
) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_Py_Void();
19906 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19909 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19910 return SWIG_Py_Void();
19913 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19914 return SWIG_Python_InitShadowInstance(args
);
19917 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= 0;
19919 wxWindow
*arg1
= (wxWindow
*) 0 ;
19920 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19921 wxString
*arg3
= 0 ;
19922 int arg4
= (int) 0 ;
19923 wxFindReplaceDialog
*result
= 0 ;
19928 bool temp3
= false ;
19931 PyObject
* obj0
= 0 ;
19932 PyObject
* obj1
= 0 ;
19933 PyObject
* obj2
= 0 ;
19934 PyObject
* obj3
= 0 ;
19935 char * kwnames
[] = {
19936 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19941 if (!SWIG_IsOK(res1
)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19946 if (!SWIG_IsOK(res2
)) {
19947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19949 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19951 arg3
= wxString_in_helper(obj2
);
19952 if (arg3
== NULL
) SWIG_fail
;
19956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19957 if (!SWIG_IsOK(ecode4
)) {
19958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19960 arg4
= static_cast< int >(val4
);
19963 if (!wxPyCheckForApp()) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19984 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19985 PyObject
*resultobj
= 0;
19986 wxFindReplaceDialog
*result
= 0 ;
19988 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19990 if (!wxPyCheckForApp()) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20003 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
= 0;
20005 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20006 wxWindow
*arg2
= (wxWindow
*) 0 ;
20007 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20008 wxString
*arg4
= 0 ;
20009 int arg5
= (int) 0 ;
20017 bool temp4
= false ;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 PyObject
* obj2
= 0 ;
20023 PyObject
* obj3
= 0 ;
20024 PyObject
* obj4
= 0 ;
20025 char * kwnames
[] = {
20026 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20031 if (!SWIG_IsOK(res1
)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20034 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20036 if (!SWIG_IsOK(res2
)) {
20037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20039 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20040 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20041 if (!SWIG_IsOK(res3
)) {
20042 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20044 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20046 arg4
= wxString_in_helper(obj3
);
20047 if (arg4
== NULL
) SWIG_fail
;
20051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20052 if (!SWIG_IsOK(ecode5
)) {
20053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20055 arg5
= static_cast< int >(val5
);
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20080 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20081 PyObject
*resultobj
= 0;
20082 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20083 wxFindReplaceData
*result
= 0 ;
20086 PyObject
*swig_obj
[1] ;
20088 if (!args
) SWIG_fail
;
20089 swig_obj
[0] = args
;
20090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20091 if (!SWIG_IsOK(res1
)) {
20092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20094 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20108 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20111 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 char * kwnames
[] = {
20119 (char *) "self",(char *) "data", NULL
20122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20124 if (!SWIG_IsOK(res1
)) {
20125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20127 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20129 if (!SWIG_IsOK(res2
)) {
20130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20132 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->SetData(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_Py_Void();
20146 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20149 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20150 return SWIG_Py_Void();
20153 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20154 return SWIG_Python_InitShadowInstance(args
);
20157 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
= 0;
20159 wxWindow
*arg1
= (wxWindow
*) 0 ;
20160 int arg2
= (int) (int)-1 ;
20161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20167 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20168 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20169 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20170 wxMDIParentFrame
*result
= 0 ;
20175 bool temp3
= false ;
20180 bool temp7
= false ;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 PyObject
* obj2
= 0 ;
20184 PyObject
* obj3
= 0 ;
20185 PyObject
* obj4
= 0 ;
20186 PyObject
* obj5
= 0 ;
20187 PyObject
* obj6
= 0 ;
20188 char * kwnames
[] = {
20189 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20194 if (!SWIG_IsOK(res1
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20200 if (!SWIG_IsOK(ecode2
)) {
20201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20203 arg2
= static_cast< int >(val2
);
20207 arg3
= wxString_in_helper(obj2
);
20208 if (arg3
== NULL
) SWIG_fail
;
20215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20225 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20226 if (!SWIG_IsOK(ecode6
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20229 arg6
= static_cast< long >(val6
);
20233 arg7
= wxString_in_helper(obj6
);
20234 if (arg7
== NULL
) SWIG_fail
;
20239 if (!wxPyCheckForApp()) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20268 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20269 PyObject
*resultobj
= 0;
20270 wxMDIParentFrame
*result
= 0 ;
20272 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20274 if (!wxPyCheckForApp()) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20287 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
= 0;
20289 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20290 wxWindow
*arg2
= (wxWindow
*) 0 ;
20291 int arg3
= (int) (int)-1 ;
20292 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20294 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20295 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20296 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20297 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20298 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20299 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20300 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20308 bool temp4
= false ;
20313 bool temp8
= false ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 PyObject
* obj2
= 0 ;
20317 PyObject
* obj3
= 0 ;
20318 PyObject
* obj4
= 0 ;
20319 PyObject
* obj5
= 0 ;
20320 PyObject
* obj6
= 0 ;
20321 PyObject
* obj7
= 0 ;
20322 char * kwnames
[] = {
20323 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20328 if (!SWIG_IsOK(res1
)) {
20329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20331 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20333 if (!SWIG_IsOK(res2
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20336 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20339 if (!SWIG_IsOK(ecode3
)) {
20340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20342 arg3
= static_cast< int >(val3
);
20346 arg4
= wxString_in_helper(obj3
);
20347 if (arg4
== NULL
) SWIG_fail
;
20354 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20360 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20364 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20365 if (!SWIG_IsOK(ecode7
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20368 arg7
= static_cast< long >(val7
);
20372 arg8
= wxString_in_helper(obj7
);
20373 if (arg8
== NULL
) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20408 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20409 PyObject
*resultobj
= 0;
20410 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20413 PyObject
*swig_obj
[1] ;
20415 if (!args
) SWIG_fail
;
20416 swig_obj
[0] = args
;
20417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20418 if (!SWIG_IsOK(res1
)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20421 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 (arg1
)->ActivateNext();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_Py_Void();
20435 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20436 PyObject
*resultobj
= 0;
20437 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20440 PyObject
*swig_obj
[1] ;
20442 if (!args
) SWIG_fail
;
20443 swig_obj
[0] = args
;
20444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20448 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 (arg1
)->ActivatePrevious();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= SWIG_Py_Void();
20462 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20463 PyObject
*resultobj
= 0;
20464 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20467 PyObject
*swig_obj
[1] ;
20469 if (!args
) SWIG_fail
;
20470 swig_obj
[0] = args
;
20471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20472 if (!SWIG_IsOK(res1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20475 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->ArrangeIcons();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20489 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20490 PyObject
*resultobj
= 0;
20491 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20494 PyObject
*swig_obj
[1] ;
20496 if (!args
) SWIG_fail
;
20497 swig_obj
[0] = args
;
20498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20499 if (!SWIG_IsOK(res1
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20502 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_Py_Void();
20516 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20517 PyObject
*resultobj
= 0;
20518 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20519 wxMDIChildFrame
*result
= 0 ;
20522 PyObject
*swig_obj
[1] ;
20524 if (!args
) SWIG_fail
;
20525 swig_obj
[0] = args
;
20526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20530 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20546 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20547 PyObject
*resultobj
= 0;
20548 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20549 wxMDIClientWindow
*result
= 0 ;
20552 PyObject
*swig_obj
[1] ;
20554 if (!args
) SWIG_fail
;
20555 swig_obj
[0] = args
;
20556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20557 if (!SWIG_IsOK(res1
)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20560 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20576 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20577 PyObject
*resultobj
= 0;
20578 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20579 wxWindow
*result
= 0 ;
20582 PyObject
*swig_obj
[1] ;
20584 if (!args
) SWIG_fail
;
20585 swig_obj
[0] = args
;
20586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20587 if (!SWIG_IsOK(res1
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20590 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (wxWindow
*)(arg1
)->GetToolBar();
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= wxPyMake_wxObject(result
, 0);
20606 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
= 0;
20608 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20609 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 char * kwnames
[] = {
20617 (char *) "self",(char *) "orient", NULL
20620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20622 if (!SWIG_IsOK(res1
)) {
20623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20625 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20628 if (!SWIG_IsOK(ecode2
)) {
20629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20631 arg2
= static_cast< wxOrientation
>(val2
);
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 (arg1
)->Tile(arg2
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_Py_Void();
20646 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20649 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20650 return SWIG_Py_Void();
20653 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20654 return SWIG_Python_InitShadowInstance(args
);
20657 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= 0;
20659 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20660 int arg2
= (int) (int)-1 ;
20661 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20663 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20664 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20665 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20666 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20667 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20668 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20669 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20670 wxMDIChildFrame
*result
= 0 ;
20675 bool temp3
= false ;
20680 bool temp7
= false ;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj1
= 0 ;
20683 PyObject
* obj2
= 0 ;
20684 PyObject
* obj3
= 0 ;
20685 PyObject
* obj4
= 0 ;
20686 PyObject
* obj5
= 0 ;
20687 PyObject
* obj6
= 0 ;
20688 char * kwnames
[] = {
20689 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20694 if (!SWIG_IsOK(res1
)) {
20695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20697 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20700 if (!SWIG_IsOK(ecode2
)) {
20701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20703 arg2
= static_cast< int >(val2
);
20707 arg3
= wxString_in_helper(obj2
);
20708 if (arg3
== NULL
) SWIG_fail
;
20715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20725 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20726 if (!SWIG_IsOK(ecode6
)) {
20727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20729 arg6
= static_cast< long >(val6
);
20733 arg7
= wxString_in_helper(obj6
);
20734 if (arg7
== NULL
) SWIG_fail
;
20739 if (!wxPyCheckForApp()) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20768 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20769 PyObject
*resultobj
= 0;
20770 wxMDIChildFrame
*result
= 0 ;
20772 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20774 if (!wxPyCheckForApp()) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20787 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
= 0;
20789 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20790 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20791 int arg3
= (int) (int)-1 ;
20792 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20793 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20794 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20795 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20796 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20797 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20798 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20799 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20800 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20808 bool temp4
= false ;
20813 bool temp8
= false ;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20816 PyObject
* obj2
= 0 ;
20817 PyObject
* obj3
= 0 ;
20818 PyObject
* obj4
= 0 ;
20819 PyObject
* obj5
= 0 ;
20820 PyObject
* obj6
= 0 ;
20821 PyObject
* obj7
= 0 ;
20822 char * kwnames
[] = {
20823 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20828 if (!SWIG_IsOK(res1
)) {
20829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20831 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20833 if (!SWIG_IsOK(res2
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20836 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20839 if (!SWIG_IsOK(ecode3
)) {
20840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20842 arg3
= static_cast< int >(val3
);
20846 arg4
= wxString_in_helper(obj3
);
20847 if (arg4
== NULL
) SWIG_fail
;
20854 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20860 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20864 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20865 if (!SWIG_IsOK(ecode7
)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20868 arg7
= static_cast< long >(val7
);
20872 arg8
= wxString_in_helper(obj7
);
20873 if (arg8
== NULL
) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20908 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20909 PyObject
*resultobj
= 0;
20910 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20913 PyObject
*swig_obj
[1] ;
20915 if (!args
) SWIG_fail
;
20916 swig_obj
[0] = args
;
20917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20918 if (!SWIG_IsOK(res1
)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20921 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->Activate();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_Py_Void();
20935 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20938 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20939 return SWIG_Py_Void();
20942 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 return SWIG_Python_InitShadowInstance(args
);
20946 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
= 0;
20948 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20949 long arg2
= (long) 0 ;
20950 wxMDIClientWindow
*result
= 0 ;
20955 PyObject
* obj0
= 0 ;
20956 PyObject
* obj1
= 0 ;
20957 char * kwnames
[] = {
20958 (char *) "parent",(char *) "style", NULL
20961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20963 if (!SWIG_IsOK(res1
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20966 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20968 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20969 if (!SWIG_IsOK(ecode2
)) {
20970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20972 arg2
= static_cast< long >(val2
);
20975 if (!wxPyCheckForApp()) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20988 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20989 PyObject
*resultobj
= 0;
20990 wxMDIClientWindow
*result
= 0 ;
20992 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20994 if (!wxPyCheckForApp()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21007 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
= 0;
21009 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21010 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21011 long arg3
= (long) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 PyObject
* obj2
= 0 ;
21022 char * kwnames
[] = {
21023 (char *) "self",(char *) "parent",(char *) "style", NULL
21026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21028 if (!SWIG_IsOK(res1
)) {
21029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21031 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21033 if (!SWIG_IsOK(res2
)) {
21034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21036 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21038 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21039 if (!SWIG_IsOK(ecode3
)) {
21040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21042 arg3
= static_cast< long >(val3
);
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21059 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21062 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21063 return SWIG_Py_Void();
21066 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21067 return SWIG_Python_InitShadowInstance(args
);
21070 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
= 0;
21072 wxWindow
*arg1
= (wxWindow
*) 0 ;
21073 int arg2
= (int) (int)-1 ;
21074 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21075 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21076 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21077 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21078 long arg5
= (long) 0 ;
21079 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21080 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21081 wxPyWindow
*result
= 0 ;
21090 bool temp6
= false ;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21093 PyObject
* obj2
= 0 ;
21094 PyObject
* obj3
= 0 ;
21095 PyObject
* obj4
= 0 ;
21096 PyObject
* obj5
= 0 ;
21097 char * kwnames
[] = {
21098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21103 if (!SWIG_IsOK(res1
)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21106 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21109 if (!SWIG_IsOK(ecode2
)) {
21110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21112 arg2
= static_cast< int >(val2
);
21117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21123 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21127 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21128 if (!SWIG_IsOK(ecode5
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21131 arg5
= static_cast< long >(val5
);
21135 arg6
= wxString_in_helper(obj5
);
21136 if (arg6
== NULL
) SWIG_fail
;
21141 if (!wxPyCheckForApp()) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21162 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21163 PyObject
*resultobj
= 0;
21164 wxPyWindow
*result
= 0 ;
21166 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21168 if (!wxPyCheckForApp()) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (wxPyWindow
*)new wxPyWindow();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21181 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
= 0;
21183 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21184 PyObject
*arg2
= (PyObject
*) 0 ;
21185 PyObject
*arg3
= (PyObject
*) 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 PyObject
* obj2
= 0 ;
21191 char * kwnames
[] = {
21192 (char *) "self",(char *) "self",(char *) "_class", NULL
21195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21197 if (!SWIG_IsOK(res1
)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21200 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_Py_Void();
21216 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
= 0;
21218 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 char * kwnames
[] = {
21226 (char *) "self",(char *) "size", NULL
21229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21231 if (!SWIG_IsOK(res1
)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21234 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21237 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_Py_Void();
21252 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
= 0;
21254 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21255 wxDC
*arg2
= (wxDC
*) 0 ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 char * kwnames
[] = {
21264 (char *) "self",(char *) "dc", NULL
21267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21269 if (!SWIG_IsOK(res1
)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21272 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21274 if (!SWIG_IsOK(res2
)) {
21275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21277 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
= 0;
21295 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 PyObject
* obj2
= 0 ;
21313 PyObject
* obj3
= 0 ;
21314 PyObject
* obj4
= 0 ;
21315 char * kwnames
[] = {
21316 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21321 if (!SWIG_IsOK(res1
)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21324 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21326 if (!SWIG_IsOK(ecode2
)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21329 arg2
= static_cast< int >(val2
);
21330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21331 if (!SWIG_IsOK(ecode3
)) {
21332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21334 arg3
= static_cast< int >(val3
);
21335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21336 if (!SWIG_IsOK(ecode4
)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21339 arg4
= static_cast< int >(val4
);
21340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21341 if (!SWIG_IsOK(ecode5
)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21344 arg5
= static_cast< int >(val5
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_Py_Void();
21358 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21365 int arg6
= (int) wxSIZE_AUTO
;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 PyObject
* obj2
= 0 ;
21381 PyObject
* obj3
= 0 ;
21382 PyObject
* obj4
= 0 ;
21383 PyObject
* obj5
= 0 ;
21384 char * kwnames
[] = {
21385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21390 if (!SWIG_IsOK(res1
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21393 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21395 if (!SWIG_IsOK(ecode2
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21398 arg2
= static_cast< int >(val2
);
21399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21400 if (!SWIG_IsOK(ecode3
)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21403 arg3
= static_cast< int >(val3
);
21404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21405 if (!SWIG_IsOK(ecode4
)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21408 arg4
= static_cast< int >(val4
);
21409 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21410 if (!SWIG_IsOK(ecode5
)) {
21411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21413 arg5
= static_cast< int >(val5
);
21415 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21416 if (!SWIG_IsOK(ecode6
)) {
21417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21419 arg6
= static_cast< int >(val6
);
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_Py_Void();
21434 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
= 0;
21436 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 PyObject
* obj2
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "width",(char *) "height", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21457 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21459 if (!SWIG_IsOK(ecode2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21462 arg2
= static_cast< int >(val2
);
21463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21464 if (!SWIG_IsOK(ecode3
)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21467 arg3
= static_cast< int >(val3
);
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 (arg1
)->DoSetClientSize(arg2
,arg3
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_Py_Void();
21481 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= 0;
21483 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 PyObject
* obj2
= 0 ;
21495 char * kwnames
[] = {
21496 (char *) "self",(char *) "x",(char *) "y", NULL
21499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21501 if (!SWIG_IsOK(res1
)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21504 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21506 if (!SWIG_IsOK(ecode2
)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21509 arg2
= static_cast< int >(val2
);
21510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21511 if (!SWIG_IsOK(ecode3
)) {
21512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21514 arg3
= static_cast< int >(val3
);
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= SWIG_Py_Void();
21528 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21529 PyObject
*resultobj
= 0;
21530 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21531 int *arg2
= (int *) 0 ;
21532 int *arg3
= (int *) 0 ;
21536 int res2
= SWIG_TMPOBJ
;
21538 int res3
= SWIG_TMPOBJ
;
21539 PyObject
*swig_obj
[1] ;
21543 if (!args
) SWIG_fail
;
21544 swig_obj
[0] = args
;
21545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21546 if (!SWIG_IsOK(res1
)) {
21547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21549 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= SWIG_Py_Void();
21557 if (SWIG_IsTmpObj(res2
)) {
21558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21560 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21563 if (SWIG_IsTmpObj(res3
)) {
21564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21566 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21575 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21576 PyObject
*resultobj
= 0;
21577 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21578 int *arg2
= (int *) 0 ;
21579 int *arg3
= (int *) 0 ;
21583 int res2
= SWIG_TMPOBJ
;
21585 int res3
= SWIG_TMPOBJ
;
21586 PyObject
*swig_obj
[1] ;
21590 if (!args
) SWIG_fail
;
21591 swig_obj
[0] = args
;
21592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21596 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_Py_Void();
21604 if (SWIG_IsTmpObj(res2
)) {
21605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21607 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21610 if (SWIG_IsTmpObj(res3
)) {
21611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21613 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21622 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21623 PyObject
*resultobj
= 0;
21624 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21625 int *arg2
= (int *) 0 ;
21626 int *arg3
= (int *) 0 ;
21630 int res2
= SWIG_TMPOBJ
;
21632 int res3
= SWIG_TMPOBJ
;
21633 PyObject
*swig_obj
[1] ;
21637 if (!args
) SWIG_fail
;
21638 swig_obj
[0] = args
;
21639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21643 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_Py_Void();
21651 if (SWIG_IsTmpObj(res2
)) {
21652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21654 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21657 if (SWIG_IsTmpObj(res3
)) {
21658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21669 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21670 PyObject
*resultobj
= 0;
21671 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21675 PyObject
*swig_obj
[1] ;
21677 if (!args
) SWIG_fail
;
21678 swig_obj
[0] = args
;
21679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21680 if (!SWIG_IsOK(res1
)) {
21681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21683 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21697 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21698 PyObject
*resultobj
= 0;
21699 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21703 PyObject
*swig_obj
[1] ;
21705 if (!args
) SWIG_fail
;
21706 swig_obj
[0] = args
;
21707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21711 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21725 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21726 PyObject
*resultobj
= 0;
21727 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21728 SwigValueWrapper
<wxVisualAttributes
> result
;
21731 PyObject
*swig_obj
[1] ;
21733 if (!args
) SWIG_fail
;
21734 swig_obj
[0] = args
;
21735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21736 if (!SWIG_IsOK(res1
)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21739 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (arg1
)->GetDefaultAttributes();
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21753 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21754 PyObject
*resultobj
= 0;
21755 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21758 PyObject
*swig_obj
[1] ;
21760 if (!args
) SWIG_fail
;
21761 swig_obj
[0] = args
;
21762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21763 if (!SWIG_IsOK(res1
)) {
21764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21766 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 (arg1
)->OnInternalIdle();
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_Py_Void();
21780 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21783 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21784 return SWIG_Py_Void();
21787 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21788 return SWIG_Python_InitShadowInstance(args
);
21791 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
= 0;
21793 wxWindow
*arg1
= (wxWindow
*) 0 ;
21794 int arg2
= (int) (int)-1 ;
21795 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21796 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21797 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21798 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21799 long arg5
= (long) 0 ;
21800 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21801 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21802 wxPyPanel
*result
= 0 ;
21811 bool temp6
= false ;
21812 PyObject
* obj0
= 0 ;
21813 PyObject
* obj1
= 0 ;
21814 PyObject
* obj2
= 0 ;
21815 PyObject
* obj3
= 0 ;
21816 PyObject
* obj4
= 0 ;
21817 PyObject
* obj5
= 0 ;
21818 char * kwnames
[] = {
21819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21827 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21830 if (!SWIG_IsOK(ecode2
)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21833 arg2
= static_cast< int >(val2
);
21838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21844 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21848 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21849 if (!SWIG_IsOK(ecode5
)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21852 arg5
= static_cast< long >(val5
);
21856 arg6
= wxString_in_helper(obj5
);
21857 if (arg6
== NULL
) SWIG_fail
;
21862 if (!wxPyCheckForApp()) SWIG_fail
;
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21883 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21884 PyObject
*resultobj
= 0;
21885 wxPyPanel
*result
= 0 ;
21887 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21889 if (!wxPyCheckForApp()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (wxPyPanel
*)new wxPyPanel();
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21902 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
= 0;
21904 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21905 PyObject
*arg2
= (PyObject
*) 0 ;
21906 PyObject
*arg3
= (PyObject
*) 0 ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 PyObject
* obj2
= 0 ;
21912 char * kwnames
[] = {
21913 (char *) "self",(char *) "self",(char *) "_class", NULL
21916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21918 if (!SWIG_IsOK(res1
)) {
21919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21921 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= SWIG_Py_Void();
21937 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
= 0;
21939 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21944 PyObject
* obj0
= 0 ;
21945 PyObject
* obj1
= 0 ;
21946 char * kwnames
[] = {
21947 (char *) "self",(char *) "size", NULL
21950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21952 if (!SWIG_IsOK(res1
)) {
21953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21955 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21958 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= SWIG_Py_Void();
21973 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
= 0;
21975 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21976 wxDC
*arg2
= (wxDC
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char * kwnames
[] = {
21985 (char *) "self",(char *) "dc", NULL
21988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21990 if (!SWIG_IsOK(res1
)) {
21991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21993 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21995 if (!SWIG_IsOK(res2
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21998 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22014 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
= 0;
22016 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 PyObject
* obj2
= 0 ;
22034 PyObject
* obj3
= 0 ;
22035 PyObject
* obj4
= 0 ;
22036 char * kwnames
[] = {
22037 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22045 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22047 if (!SWIG_IsOK(ecode2
)) {
22048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22050 arg2
= static_cast< int >(val2
);
22051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22052 if (!SWIG_IsOK(ecode3
)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22055 arg3
= static_cast< int >(val3
);
22056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22057 if (!SWIG_IsOK(ecode4
)) {
22058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22060 arg4
= static_cast< int >(val4
);
22061 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22062 if (!SWIG_IsOK(ecode5
)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22065 arg5
= static_cast< int >(val5
);
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_Py_Void();
22079 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
= 0;
22081 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22086 int arg6
= (int) wxSIZE_AUTO
;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 PyObject
* obj2
= 0 ;
22102 PyObject
* obj3
= 0 ;
22103 PyObject
* obj4
= 0 ;
22104 PyObject
* obj5
= 0 ;
22105 char * kwnames
[] = {
22106 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22111 if (!SWIG_IsOK(res1
)) {
22112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22114 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22116 if (!SWIG_IsOK(ecode2
)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22119 arg2
= static_cast< int >(val2
);
22120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22121 if (!SWIG_IsOK(ecode3
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22124 arg3
= static_cast< int >(val3
);
22125 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22126 if (!SWIG_IsOK(ecode4
)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22129 arg4
= static_cast< int >(val4
);
22130 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22131 if (!SWIG_IsOK(ecode5
)) {
22132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22134 arg5
= static_cast< int >(val5
);
22136 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22137 if (!SWIG_IsOK(ecode6
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22140 arg6
= static_cast< int >(val6
);
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_Py_Void();
22155 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
= 0;
22157 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 PyObject
* obj2
= 0 ;
22169 char * kwnames
[] = {
22170 (char *) "self",(char *) "width",(char *) "height", NULL
22173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22175 if (!SWIG_IsOK(res1
)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22178 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22180 if (!SWIG_IsOK(ecode2
)) {
22181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22183 arg2
= static_cast< int >(val2
);
22184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22185 if (!SWIG_IsOK(ecode3
)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22188 arg3
= static_cast< int >(val3
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 (arg1
)->DoSetClientSize(arg2
,arg3
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_Py_Void();
22202 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
= 0;
22204 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 PyObject
* obj2
= 0 ;
22216 char * kwnames
[] = {
22217 (char *) "self",(char *) "x",(char *) "y", NULL
22220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22222 if (!SWIG_IsOK(res1
)) {
22223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22225 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22227 if (!SWIG_IsOK(ecode2
)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22230 arg2
= static_cast< int >(val2
);
22231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22232 if (!SWIG_IsOK(ecode3
)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22235 arg3
= static_cast< int >(val3
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_Py_Void();
22249 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22250 PyObject
*resultobj
= 0;
22251 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22252 int *arg2
= (int *) 0 ;
22253 int *arg3
= (int *) 0 ;
22257 int res2
= SWIG_TMPOBJ
;
22259 int res3
= SWIG_TMPOBJ
;
22260 PyObject
*swig_obj
[1] ;
22264 if (!args
) SWIG_fail
;
22265 swig_obj
[0] = args
;
22266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22267 if (!SWIG_IsOK(res1
)) {
22268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22270 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_Py_Void();
22278 if (SWIG_IsTmpObj(res2
)) {
22279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22281 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22284 if (SWIG_IsTmpObj(res3
)) {
22285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22287 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22296 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22297 PyObject
*resultobj
= 0;
22298 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22299 int *arg2
= (int *) 0 ;
22300 int *arg3
= (int *) 0 ;
22304 int res2
= SWIG_TMPOBJ
;
22306 int res3
= SWIG_TMPOBJ
;
22307 PyObject
*swig_obj
[1] ;
22311 if (!args
) SWIG_fail
;
22312 swig_obj
[0] = args
;
22313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22317 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_Py_Void();
22325 if (SWIG_IsTmpObj(res2
)) {
22326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22328 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22331 if (SWIG_IsTmpObj(res3
)) {
22332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22334 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22343 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22344 PyObject
*resultobj
= 0;
22345 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22346 int *arg2
= (int *) 0 ;
22347 int *arg3
= (int *) 0 ;
22351 int res2
= SWIG_TMPOBJ
;
22353 int res3
= SWIG_TMPOBJ
;
22354 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22364 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_Py_Void();
22372 if (SWIG_IsTmpObj(res2
)) {
22373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22375 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22378 if (SWIG_IsTmpObj(res3
)) {
22379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22381 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22390 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22391 PyObject
*resultobj
= 0;
22392 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22396 PyObject
*swig_obj
[1] ;
22398 if (!args
) SWIG_fail
;
22399 swig_obj
[0] = args
;
22400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22401 if (!SWIG_IsOK(res1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22404 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22418 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22419 PyObject
*resultobj
= 0;
22420 wxPyPanel
*arg1
= (wxPyPanel
*) 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_wxPyPanel
, 0 | 0 );
22429 if (!SWIG_IsOK(res1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22432 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22446 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22447 PyObject
*resultobj
= 0;
22448 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22449 SwigValueWrapper
<wxVisualAttributes
> result
;
22452 PyObject
*swig_obj
[1] ;
22454 if (!args
) SWIG_fail
;
22455 swig_obj
[0] = args
;
22456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22457 if (!SWIG_IsOK(res1
)) {
22458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22460 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (arg1
)->GetDefaultAttributes();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22474 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 PyObject
*resultobj
= 0;
22476 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22479 PyObject
*swig_obj
[1] ;
22481 if (!args
) SWIG_fail
;
22482 swig_obj
[0] = args
;
22483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22487 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 (arg1
)->OnInternalIdle();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= SWIG_Py_Void();
22501 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22504 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22505 return SWIG_Py_Void();
22508 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22509 return SWIG_Python_InitShadowInstance(args
);
22512 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
= 0;
22514 wxWindow
*arg1
= (wxWindow
*) 0 ;
22515 int arg2
= (int) (int)-1 ;
22516 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22517 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22518 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22519 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22520 long arg5
= (long) 0 ;
22521 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22522 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22523 wxPyScrolledWindow
*result
= 0 ;
22532 bool temp6
= false ;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 PyObject
* obj2
= 0 ;
22536 PyObject
* obj3
= 0 ;
22537 PyObject
* obj4
= 0 ;
22538 PyObject
* obj5
= 0 ;
22539 char * kwnames
[] = {
22540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22551 if (!SWIG_IsOK(ecode2
)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22554 arg2
= static_cast< int >(val2
);
22559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22565 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22569 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22570 if (!SWIG_IsOK(ecode5
)) {
22571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22573 arg5
= static_cast< long >(val5
);
22577 arg6
= wxString_in_helper(obj5
);
22578 if (arg6
== NULL
) SWIG_fail
;
22583 if (!wxPyCheckForApp()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22604 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22605 PyObject
*resultobj
= 0;
22606 wxPyScrolledWindow
*result
= 0 ;
22608 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22610 if (!wxPyCheckForApp()) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22623 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
= 0;
22625 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22626 PyObject
*arg2
= (PyObject
*) 0 ;
22627 PyObject
*arg3
= (PyObject
*) 0 ;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 PyObject
* obj2
= 0 ;
22633 char * kwnames
[] = {
22634 (char *) "self",(char *) "self",(char *) "_class", NULL
22637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22639 if (!SWIG_IsOK(res1
)) {
22640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22642 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_Py_Void();
22658 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
= 0;
22660 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22667 char * kwnames
[] = {
22668 (char *) "self",(char *) "size", NULL
22671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22673 if (!SWIG_IsOK(res1
)) {
22674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22676 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22679 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_Py_Void();
22694 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
= 0;
22696 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22697 wxDC
*arg2
= (wxDC
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 PyObject
* obj1
= 0 ;
22705 char * kwnames
[] = {
22706 (char *) "self",(char *) "dc", NULL
22709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22711 if (!SWIG_IsOK(res1
)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22714 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22716 if (!SWIG_IsOK(res2
)) {
22717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22719 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22735 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
= 0;
22737 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22752 PyObject
* obj0
= 0 ;
22753 PyObject
* obj1
= 0 ;
22754 PyObject
* obj2
= 0 ;
22755 PyObject
* obj3
= 0 ;
22756 PyObject
* obj4
= 0 ;
22757 char * kwnames
[] = {
22758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22763 if (!SWIG_IsOK(res1
)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22766 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22768 if (!SWIG_IsOK(ecode2
)) {
22769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22771 arg2
= static_cast< int >(val2
);
22772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22773 if (!SWIG_IsOK(ecode3
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22776 arg3
= static_cast< int >(val3
);
22777 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22778 if (!SWIG_IsOK(ecode4
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22781 arg4
= static_cast< int >(val4
);
22782 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22783 if (!SWIG_IsOK(ecode5
)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22786 arg5
= static_cast< int >(val5
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= SWIG_Py_Void();
22800 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
= 0;
22802 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22807 int arg6
= (int) wxSIZE_AUTO
;
22820 PyObject
* obj0
= 0 ;
22821 PyObject
* obj1
= 0 ;
22822 PyObject
* obj2
= 0 ;
22823 PyObject
* obj3
= 0 ;
22824 PyObject
* obj4
= 0 ;
22825 PyObject
* obj5
= 0 ;
22826 char * kwnames
[] = {
22827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22832 if (!SWIG_IsOK(res1
)) {
22833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22835 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22837 if (!SWIG_IsOK(ecode2
)) {
22838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22840 arg2
= static_cast< int >(val2
);
22841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22842 if (!SWIG_IsOK(ecode3
)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22845 arg3
= static_cast< int >(val3
);
22846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22847 if (!SWIG_IsOK(ecode4
)) {
22848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22850 arg4
= static_cast< int >(val4
);
22851 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22852 if (!SWIG_IsOK(ecode5
)) {
22853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22855 arg5
= static_cast< int >(val5
);
22857 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22858 if (!SWIG_IsOK(ecode6
)) {
22859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22861 arg6
= static_cast< int >(val6
);
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_Py_Void();
22876 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
= 0;
22878 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 PyObject
* obj2
= 0 ;
22890 char * kwnames
[] = {
22891 (char *) "self",(char *) "width",(char *) "height", NULL
22894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22896 if (!SWIG_IsOK(res1
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22899 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22901 if (!SWIG_IsOK(ecode2
)) {
22902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22904 arg2
= static_cast< int >(val2
);
22905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22906 if (!SWIG_IsOK(ecode3
)) {
22907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22909 arg3
= static_cast< int >(val3
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 (arg1
)->DoSetClientSize(arg2
,arg3
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_Py_Void();
22923 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
= 0;
22925 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 PyObject
* obj2
= 0 ;
22937 char * kwnames
[] = {
22938 (char *) "self",(char *) "x",(char *) "y", NULL
22941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22946 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22948 if (!SWIG_IsOK(ecode2
)) {
22949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22951 arg2
= static_cast< int >(val2
);
22952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22953 if (!SWIG_IsOK(ecode3
)) {
22954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22956 arg3
= static_cast< int >(val3
);
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_Py_Void();
22970 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 PyObject
*resultobj
= 0;
22972 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22973 int *arg2
= (int *) 0 ;
22974 int *arg3
= (int *) 0 ;
22978 int res2
= SWIG_TMPOBJ
;
22980 int res3
= SWIG_TMPOBJ
;
22981 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22991 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_Py_Void();
22999 if (SWIG_IsTmpObj(res2
)) {
23000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23002 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23005 if (SWIG_IsTmpObj(res3
)) {
23006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23008 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23017 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 PyObject
*resultobj
= 0;
23019 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23020 int *arg2
= (int *) 0 ;
23021 int *arg3
= (int *) 0 ;
23025 int res2
= SWIG_TMPOBJ
;
23027 int res3
= SWIG_TMPOBJ
;
23028 PyObject
*swig_obj
[1] ;
23032 if (!args
) SWIG_fail
;
23033 swig_obj
[0] = args
;
23034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23035 if (!SWIG_IsOK(res1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23038 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_Py_Void();
23046 if (SWIG_IsTmpObj(res2
)) {
23047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23049 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23052 if (SWIG_IsTmpObj(res3
)) {
23053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23055 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23064 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23065 PyObject
*resultobj
= 0;
23066 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23067 int *arg2
= (int *) 0 ;
23068 int *arg3
= (int *) 0 ;
23072 int res2
= SWIG_TMPOBJ
;
23074 int res3
= SWIG_TMPOBJ
;
23075 PyObject
*swig_obj
[1] ;
23079 if (!args
) SWIG_fail
;
23080 swig_obj
[0] = args
;
23081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23085 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_Py_Void();
23093 if (SWIG_IsTmpObj(res2
)) {
23094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23096 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23099 if (SWIG_IsTmpObj(res3
)) {
23100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23102 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23103 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23111 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23112 PyObject
*resultobj
= 0;
23113 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23117 PyObject
*swig_obj
[1] ;
23119 if (!args
) SWIG_fail
;
23120 swig_obj
[0] = args
;
23121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23125 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23139 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23140 PyObject
*resultobj
= 0;
23141 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23145 PyObject
*swig_obj
[1] ;
23147 if (!args
) SWIG_fail
;
23148 swig_obj
[0] = args
;
23149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23150 if (!SWIG_IsOK(res1
)) {
23151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23153 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23167 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23168 PyObject
*resultobj
= 0;
23169 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23170 SwigValueWrapper
<wxVisualAttributes
> result
;
23173 PyObject
*swig_obj
[1] ;
23175 if (!args
) SWIG_fail
;
23176 swig_obj
[0] = args
;
23177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23178 if (!SWIG_IsOK(res1
)) {
23179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23181 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (arg1
)->GetDefaultAttributes();
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23195 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23196 PyObject
*resultobj
= 0;
23197 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23200 PyObject
*swig_obj
[1] ;
23202 if (!args
) SWIG_fail
;
23203 swig_obj
[0] = args
;
23204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23208 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->OnInternalIdle();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_Py_Void();
23222 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23225 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23226 return SWIG_Py_Void();
23229 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23230 return SWIG_Python_InitShadowInstance(args
);
23233 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23234 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23239 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23240 PyObject
*pyobj
= 0;
23244 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23246 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23253 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23254 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23259 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23260 PyObject
*pyobj
= 0;
23264 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23266 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23273 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23274 PyObject
*resultobj
= 0;
23275 wxPrintData
*result
= 0 ;
23277 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (wxPrintData
*)new wxPrintData();
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23291 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23292 PyObject
*resultobj
= 0;
23293 wxPrintData
*arg1
= 0 ;
23294 wxPrintData
*result
= 0 ;
23298 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23306 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23320 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23324 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23327 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23330 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23334 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23339 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23340 PyObject
*resultobj
= 0;
23341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23344 PyObject
*swig_obj
[1] ;
23346 if (!args
) SWIG_fail
;
23347 swig_obj
[0] = args
;
23348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23349 if (!SWIG_IsOK(res1
)) {
23350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23352 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_Py_Void();
23367 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 PyObject
*resultobj
= 0;
23369 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23373 PyObject
*swig_obj
[1] ;
23375 if (!args
) SWIG_fail
;
23376 swig_obj
[0] = args
;
23377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23378 if (!SWIG_IsOK(res1
)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23381 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (int)(arg1
)->GetNoCopies();
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= SWIG_From_int(static_cast< int >(result
));
23395 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23396 PyObject
*resultobj
= 0;
23397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23401 PyObject
*swig_obj
[1] ;
23403 if (!args
) SWIG_fail
;
23404 swig_obj
[0] = args
;
23405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23406 if (!SWIG_IsOK(res1
)) {
23407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23409 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (bool)(arg1
)->GetCollate();
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23425 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23426 PyObject
*resultobj
= 0;
23427 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23431 PyObject
*swig_obj
[1] ;
23433 if (!args
) SWIG_fail
;
23434 swig_obj
[0] = args
;
23435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23439 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (int)(arg1
)->GetOrientation();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_From_int(static_cast< int >(result
));
23453 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 PyObject
*resultobj
= 0;
23455 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23459 PyObject
*swig_obj
[1] ;
23461 if (!args
) SWIG_fail
;
23462 swig_obj
[0] = args
;
23463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23467 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (bool)(arg1
)->Ok();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23483 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23484 PyObject
*resultobj
= 0;
23485 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23486 wxString
*result
= 0 ;
23489 PyObject
*swig_obj
[1] ;
23491 if (!args
) SWIG_fail
;
23492 swig_obj
[0] = args
;
23493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23494 if (!SWIG_IsOK(res1
)) {
23495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23497 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23502 result
= (wxString
*) &_result_ref
;
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23511 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23520 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23521 PyObject
*resultobj
= 0;
23522 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23526 PyObject
*swig_obj
[1] ;
23528 if (!args
) SWIG_fail
;
23529 swig_obj
[0] = args
;
23530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23531 if (!SWIG_IsOK(res1
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23534 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (bool)(arg1
)->GetColour();
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23550 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23551 PyObject
*resultobj
= 0;
23552 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23553 wxDuplexMode result
;
23556 PyObject
*swig_obj
[1] ;
23558 if (!args
) SWIG_fail
;
23559 swig_obj
[0] = args
;
23560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23564 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_From_int(static_cast< int >(result
));
23578 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23579 PyObject
*resultobj
= 0;
23580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23581 wxPaperSize result
;
23584 PyObject
*swig_obj
[1] ;
23586 if (!args
) SWIG_fail
;
23587 swig_obj
[0] = args
;
23588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23589 if (!SWIG_IsOK(res1
)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23592 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_int(static_cast< int >(result
));
23606 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23607 PyObject
*resultobj
= 0;
23608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23609 wxSize
*result
= 0 ;
23612 PyObject
*swig_obj
[1] ;
23614 if (!args
) SWIG_fail
;
23615 swig_obj
[0] = args
;
23616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23617 if (!SWIG_IsOK(res1
)) {
23618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23620 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23625 result
= (wxSize
*) &_result_ref
;
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23637 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23638 PyObject
*resultobj
= 0;
23639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23643 PyObject
*swig_obj
[1] ;
23645 if (!args
) SWIG_fail
;
23646 swig_obj
[0] = args
;
23647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23648 if (!SWIG_IsOK(res1
)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23651 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 result
= (int)(arg1
)->GetQuality();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_From_int(static_cast< int >(result
));
23665 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23666 PyObject
*resultobj
= 0;
23667 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23671 PyObject
*swig_obj
[1] ;
23673 if (!args
) SWIG_fail
;
23674 swig_obj
[0] = args
;
23675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23676 if (!SWIG_IsOK(res1
)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23679 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (wxPrintBin
)(arg1
)->GetBin();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_From_int(static_cast< int >(result
));
23693 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23694 PyObject
*resultobj
= 0;
23695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23696 wxPrintMode result
;
23699 PyObject
*swig_obj
[1] ;
23701 if (!args
) SWIG_fail
;
23702 swig_obj
[0] = args
;
23703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23704 if (!SWIG_IsOK(res1
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23707 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= SWIG_From_int(static_cast< int >(result
));
23721 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
= 0;
23723 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char * kwnames
[] = {
23732 (char *) "self",(char *) "v", NULL
23735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23737 if (!SWIG_IsOK(res1
)) {
23738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23740 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23742 if (!SWIG_IsOK(ecode2
)) {
23743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23745 arg2
= static_cast< int >(val2
);
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 (arg1
)->SetNoCopies(arg2
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= SWIG_Py_Void();
23759 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= 0;
23761 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 char * kwnames
[] = {
23770 (char *) "self",(char *) "flag", NULL
23773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23778 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23779 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23780 if (!SWIG_IsOK(ecode2
)) {
23781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23783 arg2
= static_cast< bool >(val2
);
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 (arg1
)->SetCollate(arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_Py_Void();
23797 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
= 0;
23799 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 char * kwnames
[] = {
23808 (char *) "self",(char *) "orient", NULL
23811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23816 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23818 if (!SWIG_IsOK(ecode2
)) {
23819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23821 arg2
= static_cast< int >(val2
);
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 (arg1
)->SetOrientation(arg2
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_Py_Void();
23835 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
= 0;
23837 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23838 wxString
*arg2
= 0 ;
23841 bool temp2
= false ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char * kwnames
[] = {
23845 (char *) "self",(char *) "name", NULL
23848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23853 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23855 arg2
= wxString_in_helper(obj1
);
23856 if (arg2
== NULL
) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 resultobj
= SWIG_Py_Void();
23880 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
= 0;
23882 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 char * kwnames
[] = {
23891 (char *) "self",(char *) "colour", NULL
23894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23896 if (!SWIG_IsOK(res1
)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23899 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23900 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23901 if (!SWIG_IsOK(ecode2
)) {
23902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23904 arg2
= static_cast< bool >(val2
);
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 (arg1
)->SetColour(arg2
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= SWIG_Py_Void();
23918 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
= 0;
23920 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23921 wxDuplexMode arg2
;
23926 PyObject
* obj0
= 0 ;
23927 PyObject
* obj1
= 0 ;
23928 char * kwnames
[] = {
23929 (char *) "self",(char *) "duplex", NULL
23932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23934 if (!SWIG_IsOK(res1
)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23937 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23939 if (!SWIG_IsOK(ecode2
)) {
23940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23942 arg2
= static_cast< wxDuplexMode
>(val2
);
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 (arg1
)->SetDuplex(arg2
);
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_Py_Void();
23956 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
= 0;
23958 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char * kwnames
[] = {
23967 (char *) "self",(char *) "sizeId", NULL
23970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23972 if (!SWIG_IsOK(res1
)) {
23973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23975 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23977 if (!SWIG_IsOK(ecode2
)) {
23978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23980 arg2
= static_cast< wxPaperSize
>(val2
);
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->SetPaperId(arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= SWIG_Py_Void();
23994 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
= 0;
23996 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 PyObject
* obj1
= 0 ;
24003 char * kwnames
[] = {
24004 (char *) "self",(char *) "sz", NULL
24007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24009 if (!SWIG_IsOK(res1
)) {
24010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24012 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24015 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_Py_Void();
24030 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
= 0;
24032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 char * kwnames
[] = {
24041 (char *) "self",(char *) "quality", NULL
24044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24046 if (!SWIG_IsOK(res1
)) {
24047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24049 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24051 if (!SWIG_IsOK(ecode2
)) {
24052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24054 arg2
= static_cast< int >(val2
);
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 (arg1
)->SetQuality(arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= SWIG_Py_Void();
24068 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
= 0;
24070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 char * kwnames
[] = {
24079 (char *) "self",(char *) "bin", NULL
24082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24087 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24089 if (!SWIG_IsOK(ecode2
)) {
24090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24092 arg2
= static_cast< wxPrintBin
>(val2
);
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 (arg1
)->SetBin(arg2
);
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_Py_Void();
24106 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
= 0;
24108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 char * kwnames
[] = {
24117 (char *) "self",(char *) "printMode", NULL
24120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24122 if (!SWIG_IsOK(res1
)) {
24123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24125 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24127 if (!SWIG_IsOK(ecode2
)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24130 arg2
= static_cast< wxPrintMode
>(val2
);
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 (arg1
)->SetPrintMode(arg2
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= SWIG_Py_Void();
24144 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(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_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24158 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24178 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
= 0;
24180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24181 wxString
*arg2
= 0 ;
24184 bool temp2
= false ;
24185 PyObject
* obj0
= 0 ;
24186 PyObject
* obj1
= 0 ;
24187 char * kwnames
[] = {
24188 (char *) "self",(char *) "filename", NULL
24191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24193 if (!SWIG_IsOK(res1
)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24196 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24198 arg2
= wxString_in_helper(obj1
);
24199 if (arg2
== NULL
) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->SetFilename((wxString
const &)*arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_Py_Void();
24223 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24224 PyObject
*resultobj
= 0;
24225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24226 PyObject
*result
= 0 ;
24229 PyObject
*swig_obj
[1] ;
24231 if (!args
) SWIG_fail
;
24232 swig_obj
[0] = args
;
24233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24237 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= result
;
24251 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
= 0;
24253 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24254 PyObject
*arg2
= (PyObject
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 char * kwnames
[] = {
24260 (char *) "self",(char *) "data", NULL
24263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24265 if (!SWIG_IsOK(res1
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24268 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 wxPrintData_SetPrivData(arg1
,arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= SWIG_Py_Void();
24283 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24286 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24287 return SWIG_Py_Void();
24290 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24291 return SWIG_Python_InitShadowInstance(args
);
24294 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24295 PyObject
*resultobj
= 0;
24296 wxPageSetupDialogData
*result
= 0 ;
24298 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24312 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24313 PyObject
*resultobj
= 0;
24314 wxPageSetupDialogData
*arg1
= 0 ;
24315 wxPageSetupDialogData
*result
= 0 ;
24319 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24321 if (!SWIG_IsOK(res1
)) {
24322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24327 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24341 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24342 PyObject
*resultobj
= 0;
24343 wxPrintData
*arg1
= 0 ;
24344 wxPageSetupDialogData
*result
= 0 ;
24348 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24350 if (!SWIG_IsOK(res1
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24356 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24370 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24374 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24377 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24382 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24383 _v
= SWIG_CheckState(res
);
24385 if (!_v
) goto check_2
;
24386 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24391 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24395 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24400 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24401 PyObject
*resultobj
= 0;
24402 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24405 PyObject
*swig_obj
[1] ;
24407 if (!args
) SWIG_fail
;
24408 swig_obj
[0] = args
;
24409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24410 if (!SWIG_IsOK(res1
)) {
24411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24413 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_Py_Void();
24428 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
= 0;
24430 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 char * kwnames
[] = {
24439 (char *) "self",(char *) "flag", NULL
24442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24444 if (!SWIG_IsOK(res1
)) {
24445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24447 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24449 if (!SWIG_IsOK(ecode2
)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24452 arg2
= static_cast< bool >(val2
);
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 (arg1
)->EnableHelp(arg2
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_Py_Void();
24466 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
= 0;
24468 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char * kwnames
[] = {
24477 (char *) "self",(char *) "flag", NULL
24480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24482 if (!SWIG_IsOK(res1
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24485 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24487 if (!SWIG_IsOK(ecode2
)) {
24488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24490 arg2
= static_cast< bool >(val2
);
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 (arg1
)->EnableMargins(arg2
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= SWIG_Py_Void();
24504 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
= 0;
24506 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char * kwnames
[] = {
24515 (char *) "self",(char *) "flag", NULL
24518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24520 if (!SWIG_IsOK(res1
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24523 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24524 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24525 if (!SWIG_IsOK(ecode2
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24528 arg2
= static_cast< bool >(val2
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->EnableOrientation(arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_Py_Void();
24542 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
= 0;
24544 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char * kwnames
[] = {
24553 (char *) "self",(char *) "flag", NULL
24556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24561 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24562 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24563 if (!SWIG_IsOK(ecode2
)) {
24564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24566 arg2
= static_cast< bool >(val2
);
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->EnablePaper(arg2
);
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= SWIG_Py_Void();
24580 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
= 0;
24582 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char * kwnames
[] = {
24591 (char *) "self",(char *) "flag", NULL
24594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24596 if (!SWIG_IsOK(res1
)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24599 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24600 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24601 if (!SWIG_IsOK(ecode2
)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24604 arg2
= static_cast< bool >(val2
);
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->EnablePrinter(arg2
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_Py_Void();
24618 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24619 PyObject
*resultobj
= 0;
24620 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24624 PyObject
*swig_obj
[1] ;
24626 if (!args
) SWIG_fail
;
24627 swig_obj
[0] = args
;
24628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24632 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= (bool)(arg1
)->GetDefaultMinMargins();
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24648 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24649 PyObject
*resultobj
= 0;
24650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24654 PyObject
*swig_obj
[1] ;
24656 if (!args
) SWIG_fail
;
24657 swig_obj
[0] = args
;
24658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24659 if (!SWIG_IsOK(res1
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24662 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (bool)(arg1
)->GetEnableMargins();
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24678 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24679 PyObject
*resultobj
= 0;
24680 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24684 PyObject
*swig_obj
[1] ;
24686 if (!args
) SWIG_fail
;
24687 swig_obj
[0] = args
;
24688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24689 if (!SWIG_IsOK(res1
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24692 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (bool)(arg1
)->GetEnableOrientation();
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24708 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24709 PyObject
*resultobj
= 0;
24710 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24714 PyObject
*swig_obj
[1] ;
24716 if (!args
) SWIG_fail
;
24717 swig_obj
[0] = args
;
24718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24722 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (bool)(arg1
)->GetEnablePaper();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24738 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24739 PyObject
*resultobj
= 0;
24740 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24744 PyObject
*swig_obj
[1] ;
24746 if (!args
) SWIG_fail
;
24747 swig_obj
[0] = args
;
24748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24749 if (!SWIG_IsOK(res1
)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24752 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (bool)(arg1
)->GetEnablePrinter();
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24768 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24769 PyObject
*resultobj
= 0;
24770 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24774 PyObject
*swig_obj
[1] ;
24776 if (!args
) SWIG_fail
;
24777 swig_obj
[0] = args
;
24778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24779 if (!SWIG_IsOK(res1
)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24782 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (bool)(arg1
)->GetEnableHelp();
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24798 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24799 PyObject
*resultobj
= 0;
24800 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24804 PyObject
*swig_obj
[1] ;
24806 if (!args
) SWIG_fail
;
24807 swig_obj
[0] = args
;
24808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24812 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (bool)(arg1
)->GetDefaultInfo();
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24828 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24829 PyObject
*resultobj
= 0;
24830 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24834 PyObject
*swig_obj
[1] ;
24836 if (!args
) SWIG_fail
;
24837 swig_obj
[0] = args
;
24838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24842 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (arg1
)->GetMarginTopLeft();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24856 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24857 PyObject
*resultobj
= 0;
24858 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24862 PyObject
*swig_obj
[1] ;
24864 if (!args
) SWIG_fail
;
24865 swig_obj
[0] = args
;
24866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24870 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (arg1
)->GetMarginBottomRight();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24884 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24885 PyObject
*resultobj
= 0;
24886 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24890 PyObject
*swig_obj
[1] ;
24892 if (!args
) SWIG_fail
;
24893 swig_obj
[0] = args
;
24894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24895 if (!SWIG_IsOK(res1
)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24898 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= (arg1
)->GetMinMarginTopLeft();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24912 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24913 PyObject
*resultobj
= 0;
24914 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24918 PyObject
*swig_obj
[1] ;
24920 if (!args
) SWIG_fail
;
24921 swig_obj
[0] = args
;
24922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24923 if (!SWIG_IsOK(res1
)) {
24924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24926 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (arg1
)->GetMinMarginBottomRight();
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24940 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24941 PyObject
*resultobj
= 0;
24942 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24943 wxPaperSize result
;
24946 PyObject
*swig_obj
[1] ;
24948 if (!args
) SWIG_fail
;
24949 swig_obj
[0] = args
;
24950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24951 if (!SWIG_IsOK(res1
)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24954 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_From_int(static_cast< int >(result
));
24968 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24969 PyObject
*resultobj
= 0;
24970 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24974 PyObject
*swig_obj
[1] ;
24976 if (!args
) SWIG_fail
;
24977 swig_obj
[0] = args
;
24978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24979 if (!SWIG_IsOK(res1
)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24982 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (arg1
)->GetPaperSize();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24996 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24997 PyObject
*resultobj
= 0;
24998 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24999 wxPrintData
*result
= 0 ;
25002 PyObject
*swig_obj
[1] ;
25004 if (!args
) SWIG_fail
;
25005 swig_obj
[0] = args
;
25006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25015 result
= (wxPrintData
*) &_result_ref
;
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25027 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25028 PyObject
*resultobj
= 0;
25029 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25033 PyObject
*swig_obj
[1] ;
25035 if (!args
) SWIG_fail
;
25036 swig_obj
[0] = args
;
25037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25041 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 result
= (bool)(arg1
)->Ok();
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25057 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
= 0;
25059 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 char * kwnames
[] = {
25068 (char *) "self",(char *) "flag", NULL
25071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25076 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25077 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25078 if (!SWIG_IsOK(ecode2
)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25081 arg2
= static_cast< bool >(val2
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 (arg1
)->SetDefaultInfo(arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_Py_Void();
25095 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
= 0;
25097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char * kwnames
[] = {
25106 (char *) "self",(char *) "flag", NULL
25109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25114 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25115 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25116 if (!SWIG_IsOK(ecode2
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25119 arg2
= static_cast< bool >(val2
);
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->SetDefaultMinMargins(arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= SWIG_Py_Void();
25133 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
= 0;
25135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25136 wxPoint
*arg2
= 0 ;
25140 PyObject
* obj0
= 0 ;
25141 PyObject
* obj1
= 0 ;
25142 char * kwnames
[] = {
25143 (char *) "self",(char *) "pt", NULL
25146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25148 if (!SWIG_IsOK(res1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25151 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_Py_Void();
25169 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
= 0;
25171 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25172 wxPoint
*arg2
= 0 ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char * kwnames
[] = {
25179 (char *) "self",(char *) "pt", NULL
25182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_Py_Void();
25205 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
= 0;
25207 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25208 wxPoint
*arg2
= 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char * kwnames
[] = {
25215 (char *) "self",(char *) "pt", NULL
25218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25223 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= SWIG_Py_Void();
25241 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
= 0;
25243 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25244 wxPoint
*arg2
= 0 ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 char * kwnames
[] = {
25251 (char *) "self",(char *) "pt", NULL
25254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25256 if (!SWIG_IsOK(res1
)) {
25257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25259 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_Py_Void();
25277 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
= 0;
25279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25285 PyObject
* obj0
= 0 ;
25286 PyObject
* obj1
= 0 ;
25287 char * kwnames
[] = {
25288 (char *) "self",(char *) "id", NULL
25291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25293 if (!SWIG_IsOK(res1
)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25296 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25298 if (!SWIG_IsOK(ecode2
)) {
25299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25301 arg2
= static_cast< wxPaperSize
>(val2
);
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 (arg1
)->SetPaperId(arg2
);
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= SWIG_Py_Void();
25315 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
= 0;
25317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25322 PyObject
* obj0
= 0 ;
25323 PyObject
* obj1
= 0 ;
25324 char * kwnames
[] = {
25325 (char *) "self",(char *) "size", NULL
25328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25333 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25336 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_Py_Void();
25351 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
= 0;
25353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25354 wxPrintData
*arg2
= 0 ;
25359 PyObject
* obj0
= 0 ;
25360 PyObject
* obj1
= 0 ;
25361 char * kwnames
[] = {
25362 (char *) "self",(char *) "printData", NULL
25365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25367 if (!SWIG_IsOK(res1
)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25370 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25372 if (!SWIG_IsOK(res2
)) {
25373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25378 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_Py_Void();
25392 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25393 PyObject
*resultobj
= 0;
25394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25397 PyObject
*swig_obj
[1] ;
25399 if (!args
) SWIG_fail
;
25400 swig_obj
[0] = args
;
25401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25402 if (!SWIG_IsOK(res1
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25405 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->CalculateIdFromPaperSize();
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= SWIG_Py_Void();
25419 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25420 PyObject
*resultobj
= 0;
25421 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25424 PyObject
*swig_obj
[1] ;
25426 if (!args
) SWIG_fail
;
25427 swig_obj
[0] = args
;
25428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25432 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 (arg1
)->CalculatePaperSizeFromId();
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= SWIG_Py_Void();
25446 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25450 return SWIG_Py_Void();
25453 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25454 return SWIG_Python_InitShadowInstance(args
);
25457 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
= 0;
25459 wxWindow
*arg1
= (wxWindow
*) 0 ;
25460 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25461 wxPageSetupDialog
*result
= 0 ;
25466 PyObject
* obj0
= 0 ;
25467 PyObject
* obj1
= 0 ;
25468 char * kwnames
[] = {
25469 (char *) "parent",(char *) "data", NULL
25472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25474 if (!SWIG_IsOK(res1
)) {
25475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25480 if (!SWIG_IsOK(res2
)) {
25481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25483 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25486 if (!wxPyCheckForApp()) SWIG_fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25499 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 PyObject
*resultobj
= 0;
25501 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25502 wxPageSetupDialogData
*result
= 0 ;
25505 PyObject
*swig_obj
[1] ;
25507 if (!args
) SWIG_fail
;
25508 swig_obj
[0] = args
;
25509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25510 if (!SWIG_IsOK(res1
)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25513 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25518 result
= (wxPageSetupDialogData
*) &_result_ref
;
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25530 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25531 PyObject
*resultobj
= 0;
25532 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25533 wxPageSetupDialogData
*result
= 0 ;
25536 PyObject
*swig_obj
[1] ;
25538 if (!args
) SWIG_fail
;
25539 swig_obj
[0] = args
;
25540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25544 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25549 result
= (wxPageSetupDialogData
*) &_result_ref
;
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25561 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25562 PyObject
*resultobj
= 0;
25563 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25567 PyObject
*swig_obj
[1] ;
25569 if (!args
) SWIG_fail
;
25570 swig_obj
[0] = args
;
25571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25572 if (!SWIG_IsOK(res1
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25575 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= (int)(arg1
)->ShowModal();
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_From_int(static_cast< int >(result
));
25589 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25592 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25593 return SWIG_Py_Void();
25596 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25597 return SWIG_Python_InitShadowInstance(args
);
25600 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25601 PyObject
*resultobj
= 0;
25602 wxPrintDialogData
*result
= 0 ;
25604 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25618 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25619 PyObject
*resultobj
= 0;
25620 wxPrintData
*arg1
= 0 ;
25621 wxPrintDialogData
*result
= 0 ;
25625 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25627 if (!SWIG_IsOK(res1
)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25633 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25647 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25648 PyObject
*resultobj
= 0;
25649 wxPrintDialogData
*arg1
= 0 ;
25650 wxPrintDialogData
*result
= 0 ;
25654 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25662 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25676 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25680 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25683 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25688 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25689 _v
= SWIG_CheckState(res
);
25691 if (!_v
) goto check_2
;
25692 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25697 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25701 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25706 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 PyObject
*resultobj
= 0;
25708 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25711 PyObject
*swig_obj
[1] ;
25713 if (!args
) SWIG_fail
;
25714 swig_obj
[0] = args
;
25715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25716 if (!SWIG_IsOK(res1
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25719 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25727 resultobj
= SWIG_Py_Void();
25734 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 PyObject
*resultobj
= 0;
25736 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25740 PyObject
*swig_obj
[1] ;
25742 if (!args
) SWIG_fail
;
25743 swig_obj
[0] = args
;
25744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25748 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_From_int(static_cast< int >(result
));
25762 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 PyObject
*resultobj
= 0;
25764 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25768 PyObject
*swig_obj
[1] ;
25770 if (!args
) SWIG_fail
;
25771 swig_obj
[0] = args
;
25772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25776 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_From_int(static_cast< int >(result
));
25790 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25791 PyObject
*resultobj
= 0;
25792 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25796 PyObject
*swig_obj
[1] ;
25798 if (!args
) SWIG_fail
;
25799 swig_obj
[0] = args
;
25800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25804 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= SWIG_From_int(static_cast< int >(result
));
25818 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25819 PyObject
*resultobj
= 0;
25820 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25824 PyObject
*swig_obj
[1] ;
25826 if (!args
) SWIG_fail
;
25827 swig_obj
[0] = args
;
25828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25832 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_From_int(static_cast< int >(result
));
25846 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25847 PyObject
*resultobj
= 0;
25848 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25852 PyObject
*swig_obj
[1] ;
25854 if (!args
) SWIG_fail
;
25855 swig_obj
[0] = args
;
25856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25857 if (!SWIG_IsOK(res1
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25860 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_From_int(static_cast< int >(result
));
25874 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 PyObject
*resultobj
= 0;
25876 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25880 PyObject
*swig_obj
[1] ;
25882 if (!args
) SWIG_fail
;
25883 swig_obj
[0] = args
;
25884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25888 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25904 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25905 PyObject
*resultobj
= 0;
25906 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25910 PyObject
*swig_obj
[1] ;
25912 if (!args
) SWIG_fail
;
25913 swig_obj
[0] = args
;
25914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25915 if (!SWIG_IsOK(res1
)) {
25916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25918 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25934 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25935 PyObject
*resultobj
= 0;
25936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25940 PyObject
*swig_obj
[1] ;
25942 if (!args
) SWIG_fail
;
25943 swig_obj
[0] = args
;
25944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25945 if (!SWIG_IsOK(res1
)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25948 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25964 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25965 PyObject
*resultobj
= 0;
25966 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25970 PyObject
*swig_obj
[1] ;
25972 if (!args
) SWIG_fail
;
25973 swig_obj
[0] = args
;
25974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25978 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25994 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
= 0;
25996 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 char * kwnames
[] = {
26005 (char *) "self",(char *) "v", NULL
26008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26010 if (!SWIG_IsOK(res1
)) {
26011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26013 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26015 if (!SWIG_IsOK(ecode2
)) {
26016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26018 arg2
= static_cast< int >(val2
);
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 (arg1
)->SetFromPage(arg2
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_Py_Void();
26032 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
= 0;
26034 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 char * kwnames
[] = {
26043 (char *) "self",(char *) "v", NULL
26046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26051 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26053 if (!SWIG_IsOK(ecode2
)) {
26054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26056 arg2
= static_cast< int >(val2
);
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 (arg1
)->SetToPage(arg2
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= SWIG_Py_Void();
26070 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
= 0;
26072 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "self",(char *) "v", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26089 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26091 if (!SWIG_IsOK(ecode2
)) {
26092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26094 arg2
= static_cast< int >(val2
);
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 (arg1
)->SetMinPage(arg2
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_Py_Void();
26108 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
= 0;
26110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 char * kwnames
[] = {
26119 (char *) "self",(char *) "v", NULL
26122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26124 if (!SWIG_IsOK(res1
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26127 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26129 if (!SWIG_IsOK(ecode2
)) {
26130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26132 arg2
= static_cast< int >(val2
);
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetMaxPage(arg2
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_Py_Void();
26146 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
= 0;
26148 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char * kwnames
[] = {
26157 (char *) "self",(char *) "v", NULL
26160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26162 if (!SWIG_IsOK(res1
)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26165 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26167 if (!SWIG_IsOK(ecode2
)) {
26168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26170 arg2
= static_cast< int >(val2
);
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->SetNoCopies(arg2
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_Py_Void();
26184 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
= 0;
26186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 char * kwnames
[] = {
26195 (char *) "self",(char *) "flag", NULL
26198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26200 if (!SWIG_IsOK(res1
)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26203 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26204 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26205 if (!SWIG_IsOK(ecode2
)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26208 arg2
= static_cast< bool >(val2
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->SetAllPages(arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= 0;
26224 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 char * kwnames
[] = {
26233 (char *) "self",(char *) "flag", NULL
26236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26238 if (!SWIG_IsOK(res1
)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26241 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26243 if (!SWIG_IsOK(ecode2
)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26246 arg2
= static_cast< bool >(val2
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 (arg1
)->SetSelection(arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_Py_Void();
26260 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= 0;
26262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 PyObject
* obj1
= 0 ;
26270 char * kwnames
[] = {
26271 (char *) "self",(char *) "flag", NULL
26274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26276 if (!SWIG_IsOK(res1
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26279 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26280 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26281 if (!SWIG_IsOK(ecode2
)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26284 arg2
= static_cast< bool >(val2
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->SetCollate(arg2
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
= 0;
26300 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char * kwnames
[] = {
26309 (char *) "self",(char *) "flag", NULL
26312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26314 if (!SWIG_IsOK(res1
)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26317 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26318 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26319 if (!SWIG_IsOK(ecode2
)) {
26320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26322 arg2
= static_cast< bool >(val2
);
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->SetPrintToFile(arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_Py_Void();
26336 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char * kwnames
[] = {
26347 (char *) "self",(char *) "flag", NULL
26350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26355 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26357 if (!SWIG_IsOK(ecode2
)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26360 arg2
= static_cast< bool >(val2
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->EnablePrintToFile(arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_Py_Void();
26374 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char * kwnames
[] = {
26385 (char *) "self",(char *) "flag", NULL
26388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26393 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26394 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26395 if (!SWIG_IsOK(ecode2
)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26398 arg2
= static_cast< bool >(val2
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->EnableSelection(arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char * kwnames
[] = {
26423 (char *) "self",(char *) "flag", NULL
26426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26431 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26432 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26433 if (!SWIG_IsOK(ecode2
)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26436 arg2
= static_cast< bool >(val2
);
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->EnablePageNumbers(arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_Py_Void();
26450 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
= 0;
26452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char * kwnames
[] = {
26461 (char *) "self",(char *) "flag", NULL
26464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26469 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26470 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26471 if (!SWIG_IsOK(ecode2
)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26474 arg2
= static_cast< bool >(val2
);
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->EnableHelp(arg2
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_Py_Void();
26488 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26489 PyObject
*resultobj
= 0;
26490 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26494 PyObject
*swig_obj
[1] ;
26496 if (!args
) SWIG_fail
;
26497 swig_obj
[0] = args
;
26498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26499 if (!SWIG_IsOK(res1
)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26502 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26518 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(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_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26532 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26548 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26549 PyObject
*resultobj
= 0;
26550 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26554 PyObject
*swig_obj
[1] ;
26556 if (!args
) SWIG_fail
;
26557 swig_obj
[0] = args
;
26558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26559 if (!SWIG_IsOK(res1
)) {
26560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26562 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26578 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26579 PyObject
*resultobj
= 0;
26580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26584 PyObject
*swig_obj
[1] ;
26586 if (!args
) SWIG_fail
;
26587 swig_obj
[0] = args
;
26588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26592 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26608 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26609 PyObject
*resultobj
= 0;
26610 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26614 PyObject
*swig_obj
[1] ;
26616 if (!args
) SWIG_fail
;
26617 swig_obj
[0] = args
;
26618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26619 if (!SWIG_IsOK(res1
)) {
26620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26622 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26638 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26639 PyObject
*resultobj
= 0;
26640 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26641 wxPrintData
*result
= 0 ;
26644 PyObject
*swig_obj
[1] ;
26646 if (!args
) SWIG_fail
;
26647 swig_obj
[0] = args
;
26648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26652 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26657 result
= (wxPrintData
*) &_result_ref
;
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26669 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
= 0;
26671 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26672 wxPrintData
*arg2
= 0 ;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 char * kwnames
[] = {
26680 (char *) "self",(char *) "printData", NULL
26683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26685 if (!SWIG_IsOK(res1
)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26688 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26690 if (!SWIG_IsOK(res2
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26696 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_Py_Void();
26710 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26714 return SWIG_Py_Void();
26717 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26718 return SWIG_Python_InitShadowInstance(args
);
26721 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
= 0;
26723 wxWindow
*arg1
= (wxWindow
*) 0 ;
26724 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26725 wxPrintDialog
*result
= 0 ;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26732 char * kwnames
[] = {
26733 (char *) "parent",(char *) "data", NULL
26736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26743 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26744 if (!SWIG_IsOK(res2
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26747 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26750 if (!wxPyCheckForApp()) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26763 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26764 PyObject
*resultobj
= 0;
26765 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26769 PyObject
*swig_obj
[1] ;
26771 if (!args
) SWIG_fail
;
26772 swig_obj
[0] = args
;
26773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26777 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (int)(arg1
)->ShowModal();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_From_int(static_cast< int >(result
));
26791 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26792 PyObject
*resultobj
= 0;
26793 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26794 wxPrintDialogData
*result
= 0 ;
26797 PyObject
*swig_obj
[1] ;
26799 if (!args
) SWIG_fail
;
26800 swig_obj
[0] = args
;
26801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26805 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26810 result
= (wxPrintDialogData
*) &_result_ref
;
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26822 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26823 PyObject
*resultobj
= 0;
26824 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26825 wxPrintData
*result
= 0 ;
26828 PyObject
*swig_obj
[1] ;
26830 if (!args
) SWIG_fail
;
26831 swig_obj
[0] = args
;
26832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26833 if (!SWIG_IsOK(res1
)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26836 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26841 result
= (wxPrintData
*) &_result_ref
;
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26853 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26854 PyObject
*resultobj
= 0;
26855 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26859 PyObject
*swig_obj
[1] ;
26861 if (!args
) SWIG_fail
;
26862 swig_obj
[0] = args
;
26863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26867 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (wxDC
*)(arg1
)->GetPrintDC();
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26883 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26887 return SWIG_Py_Void();
26890 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26891 return SWIG_Python_InitShadowInstance(args
);
26894 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
= 0;
26896 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26897 wxPrinter
*result
= 0 ;
26900 PyObject
* obj0
= 0 ;
26901 char * kwnames
[] = {
26902 (char *) "data", NULL
26905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26908 if (!SWIG_IsOK(res1
)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26911 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26914 if (!wxPyCheckForApp()) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= (wxPrinter
*)new wxPrinter(arg1
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26927 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26928 PyObject
*resultobj
= 0;
26929 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26932 PyObject
*swig_obj
[1] ;
26934 if (!args
) SWIG_fail
;
26935 swig_obj
[0] = args
;
26936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26937 if (!SWIG_IsOK(res1
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26940 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= SWIG_Py_Void();
26955 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
= 0;
26957 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26958 wxWindow
*arg2
= (wxWindow
*) 0 ;
26959 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26960 wxWindow
*result
= 0 ;
26967 PyObject
* obj0
= 0 ;
26968 PyObject
* obj1
= 0 ;
26969 PyObject
* obj2
= 0 ;
26970 char * kwnames
[] = {
26971 (char *) "self",(char *) "parent",(char *) "printout", NULL
26974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26979 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26980 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26981 if (!SWIG_IsOK(res2
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26984 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26985 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26986 if (!SWIG_IsOK(res3
)) {
26987 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26989 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= wxPyMake_wxObject(result
, 0);
27005 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= 0;
27007 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27008 wxWindow
*arg2
= (wxWindow
*) 0 ;
27009 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27010 wxString
*arg4
= 0 ;
27017 bool temp4
= false ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 PyObject
* obj2
= 0 ;
27021 PyObject
* obj3
= 0 ;
27022 char * kwnames
[] = {
27023 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27028 if (!SWIG_IsOK(res1
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27031 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27033 if (!SWIG_IsOK(res2
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27037 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27038 if (!SWIG_IsOK(res3
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27041 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27043 arg4
= wxString_in_helper(obj3
);
27044 if (arg4
== NULL
) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= SWIG_Py_Void();
27068 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
= 0;
27070 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27071 wxWindow
*arg2
= (wxWindow
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 char * kwnames
[] = {
27080 (char *) "self",(char *) "parent", NULL
27083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27085 if (!SWIG_IsOK(res1
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27088 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27090 if (!SWIG_IsOK(res2
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27093 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (bool)(arg1
)->Setup(arg2
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27109 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
= 0;
27111 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27112 wxWindow
*arg2
= (wxWindow
*) 0 ;
27113 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27114 bool arg4
= (bool) true ;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 PyObject
* obj2
= 0 ;
27127 PyObject
* obj3
= 0 ;
27128 char * kwnames
[] = {
27129 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27137 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27139 if (!SWIG_IsOK(res2
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27142 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27143 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27144 if (!SWIG_IsOK(res3
)) {
27145 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27147 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27149 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27150 if (!SWIG_IsOK(ecode4
)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27153 arg4
= static_cast< bool >(val4
);
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27170 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
= 0;
27172 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27173 wxWindow
*arg2
= (wxWindow
*) 0 ;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char * kwnames
[] = {
27182 (char *) "self",(char *) "parent", NULL
27185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27187 if (!SWIG_IsOK(res1
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27190 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27192 if (!SWIG_IsOK(res2
)) {
27193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27198 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27211 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27212 PyObject
*resultobj
= 0;
27213 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27214 wxPrintDialogData
*result
= 0 ;
27217 PyObject
*swig_obj
[1] ;
27219 if (!args
) SWIG_fail
;
27220 swig_obj
[0] = args
;
27221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27225 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27230 result
= (wxPrintDialogData
*) &_result_ref
;
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27242 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27243 PyObject
*resultobj
= 0;
27244 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27248 PyObject
*swig_obj
[1] ;
27250 if (!args
) SWIG_fail
;
27251 swig_obj
[0] = args
;
27252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27253 if (!SWIG_IsOK(res1
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27256 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= (bool)(arg1
)->GetAbort();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27272 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxPrinterError result
;
27276 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= (wxPrinterError
)wxPrinter::GetLastError();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= SWIG_From_int(static_cast< int >(result
));
27290 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27293 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27294 return SWIG_Py_Void();
27297 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27298 return SWIG_Python_InitShadowInstance(args
);
27301 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
= 0;
27303 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27304 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27305 wxPyPrintout
*result
= 0 ;
27306 bool temp1
= false ;
27307 PyObject
* obj0
= 0 ;
27308 char * kwnames
[] = {
27309 (char *) "title", NULL
27312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27315 arg1
= wxString_in_helper(obj0
);
27316 if (arg1
== NULL
) SWIG_fail
;
27321 if (!wxPyCheckForApp()) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27342 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27343 PyObject
*resultobj
= 0;
27344 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27347 PyObject
*swig_obj
[1] ;
27349 if (!args
) SWIG_fail
;
27350 swig_obj
[0] = args
;
27351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27352 if (!SWIG_IsOK(res1
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27355 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= SWIG_Py_Void();
27370 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
= 0;
27372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27373 PyObject
*arg2
= (PyObject
*) 0 ;
27374 PyObject
*arg3
= (PyObject
*) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 PyObject
* obj1
= 0 ;
27379 PyObject
* obj2
= 0 ;
27380 char * kwnames
[] = {
27381 (char *) "self",(char *) "self",(char *) "_class", NULL
27384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27389 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27394 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27395 wxPyEndAllowThreads(__tstate
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= SWIG_Py_Void();
27405 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27406 PyObject
*resultobj
= 0;
27407 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27411 PyObject
*swig_obj
[1] ;
27413 if (!args
) SWIG_fail
;
27414 swig_obj
[0] = args
;
27415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27416 if (!SWIG_IsOK(res1
)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27419 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27439 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27440 PyObject
*resultobj
= 0;
27441 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27445 PyObject
*swig_obj
[1] ;
27447 if (!args
) SWIG_fail
;
27448 swig_obj
[0] = args
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27453 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= (wxDC
*)(arg1
)->GetDC();
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27469 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
= 0;
27471 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27472 wxDC
*arg2
= (wxDC
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 char * kwnames
[] = {
27480 (char *) "self",(char *) "dc", NULL
27483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27485 if (!SWIG_IsOK(res1
)) {
27486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27488 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27490 if (!SWIG_IsOK(res2
)) {
27491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27493 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 (arg1
)->SetDC(arg2
);
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27500 resultobj
= SWIG_Py_Void();
27507 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
= 0;
27509 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 PyObject
* obj1
= 0 ;
27520 PyObject
* obj2
= 0 ;
27521 char * kwnames
[] = {
27522 (char *) "self",(char *) "w",(char *) "h", NULL
27525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27530 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27532 if (!SWIG_IsOK(ecode2
)) {
27533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27535 arg2
= static_cast< int >(val2
);
27536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27537 if (!SWIG_IsOK(ecode3
)) {
27538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27540 arg3
= static_cast< int >(val3
);
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 resultobj
= SWIG_Py_Void();
27554 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27555 PyObject
*resultobj
= 0;
27556 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27557 int *arg2
= (int *) 0 ;
27558 int *arg3
= (int *) 0 ;
27562 int res2
= SWIG_TMPOBJ
;
27564 int res3
= SWIG_TMPOBJ
;
27565 PyObject
*swig_obj
[1] ;
27569 if (!args
) SWIG_fail
;
27570 swig_obj
[0] = args
;
27571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27575 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_Py_Void();
27583 if (SWIG_IsTmpObj(res2
)) {
27584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27586 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27589 if (SWIG_IsTmpObj(res3
)) {
27590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27592 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27601 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
= 0;
27603 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27612 PyObject
* obj0
= 0 ;
27613 PyObject
* obj1
= 0 ;
27614 PyObject
* obj2
= 0 ;
27615 char * kwnames
[] = {
27616 (char *) "self",(char *) "w",(char *) "h", NULL
27619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27621 if (!SWIG_IsOK(res1
)) {
27622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27624 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27626 if (!SWIG_IsOK(ecode2
)) {
27627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27629 arg2
= static_cast< int >(val2
);
27630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27631 if (!SWIG_IsOK(ecode3
)) {
27632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27634 arg3
= static_cast< int >(val3
);
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_Py_Void();
27648 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27649 PyObject
*resultobj
= 0;
27650 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27651 int *arg2
= (int *) 0 ;
27652 int *arg3
= (int *) 0 ;
27656 int res2
= SWIG_TMPOBJ
;
27658 int res3
= SWIG_TMPOBJ
;
27659 PyObject
*swig_obj
[1] ;
27663 if (!args
) SWIG_fail
;
27664 swig_obj
[0] = args
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27669 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= SWIG_Py_Void();
27677 if (SWIG_IsTmpObj(res2
)) {
27678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27680 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27683 if (SWIG_IsTmpObj(res3
)) {
27684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27686 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27695 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
= 0;
27697 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 PyObject
* obj2
= 0 ;
27709 char * kwnames
[] = {
27710 (char *) "self",(char *) "x",(char *) "y", NULL
27713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27715 if (!SWIG_IsOK(res1
)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27718 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27720 if (!SWIG_IsOK(ecode2
)) {
27721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27723 arg2
= static_cast< int >(val2
);
27724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27725 if (!SWIG_IsOK(ecode3
)) {
27726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27728 arg3
= static_cast< int >(val3
);
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 (arg1
)->SetPPIScreen(arg2
,arg3
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 resultobj
= SWIG_Py_Void();
27742 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27743 PyObject
*resultobj
= 0;
27744 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27745 int *arg2
= (int *) 0 ;
27746 int *arg3
= (int *) 0 ;
27750 int res2
= SWIG_TMPOBJ
;
27752 int res3
= SWIG_TMPOBJ
;
27753 PyObject
*swig_obj
[1] ;
27757 if (!args
) SWIG_fail
;
27758 swig_obj
[0] = args
;
27759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27760 if (!SWIG_IsOK(res1
)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27763 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->GetPPIScreen(arg2
,arg3
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_Py_Void();
27771 if (SWIG_IsTmpObj(res2
)) {
27772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27774 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27777 if (SWIG_IsTmpObj(res3
)) {
27778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27780 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27789 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
= 0;
27791 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27800 PyObject
* obj0
= 0 ;
27801 PyObject
* obj1
= 0 ;
27802 PyObject
* obj2
= 0 ;
27803 char * kwnames
[] = {
27804 (char *) "self",(char *) "x",(char *) "y", NULL
27807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27812 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27814 if (!SWIG_IsOK(ecode2
)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27817 arg2
= static_cast< int >(val2
);
27818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27819 if (!SWIG_IsOK(ecode3
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27822 arg3
= static_cast< int >(val3
);
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= SWIG_Py_Void();
27836 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27837 PyObject
*resultobj
= 0;
27838 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27839 int *arg2
= (int *) 0 ;
27840 int *arg3
= (int *) 0 ;
27844 int res2
= SWIG_TMPOBJ
;
27846 int res3
= SWIG_TMPOBJ
;
27847 PyObject
*swig_obj
[1] ;
27851 if (!args
) SWIG_fail
;
27852 swig_obj
[0] = args
;
27853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27857 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= SWIG_Py_Void();
27865 if (SWIG_IsTmpObj(res2
)) {
27866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27868 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27871 if (SWIG_IsTmpObj(res3
)) {
27872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27883 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27884 PyObject
*resultobj
= 0;
27885 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27889 PyObject
*swig_obj
[1] ;
27891 if (!args
) SWIG_fail
;
27892 swig_obj
[0] = args
;
27893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27894 if (!SWIG_IsOK(res1
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27897 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 result
= (bool)(arg1
)->IsPreview();
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27913 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
= 0;
27915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 char * kwnames
[] = {
27924 (char *) "self",(char *) "p", NULL
27927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27929 if (!SWIG_IsOK(res1
)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27932 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27933 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27934 if (!SWIG_IsOK(ecode2
)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27937 arg2
= static_cast< bool >(val2
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 (arg1
)->SetIsPreview(arg2
);
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_Py_Void();
27951 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
= 0;
27953 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 PyObject
* obj2
= 0 ;
27966 char * kwnames
[] = {
27967 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27975 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27977 if (!SWIG_IsOK(ecode2
)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27980 arg2
= static_cast< int >(val2
);
27981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27982 if (!SWIG_IsOK(ecode3
)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27985 arg3
= static_cast< int >(val3
);
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28001 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28002 PyObject
*resultobj
= 0;
28003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28006 PyObject
*swig_obj
[1] ;
28008 if (!args
) SWIG_fail
;
28009 swig_obj
[0] = args
;
28010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28011 if (!SWIG_IsOK(res1
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28014 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 (arg1
)->OnEndDocument();
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 resultobj
= SWIG_Py_Void();
28028 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28029 PyObject
*resultobj
= 0;
28030 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28033 PyObject
*swig_obj
[1] ;
28035 if (!args
) SWIG_fail
;
28036 swig_obj
[0] = args
;
28037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28041 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 (arg1
)->OnBeginPrinting();
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= SWIG_Py_Void();
28055 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28056 PyObject
*resultobj
= 0;
28057 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28060 PyObject
*swig_obj
[1] ;
28062 if (!args
) SWIG_fail
;
28063 swig_obj
[0] = args
;
28064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28068 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 (arg1
)->OnEndPrinting();
28072 wxPyEndAllowThreads(__tstate
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= SWIG_Py_Void();
28082 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28083 PyObject
*resultobj
= 0;
28084 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28087 PyObject
*swig_obj
[1] ;
28089 if (!args
) SWIG_fail
;
28090 swig_obj
[0] = args
;
28091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28095 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 (arg1
)->OnPreparePrinting();
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28102 resultobj
= SWIG_Py_Void();
28109 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
= 0;
28111 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 PyObject
* obj1
= 0 ;
28120 char * kwnames
[] = {
28121 (char *) "self",(char *) "page", NULL
28124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28126 if (!SWIG_IsOK(res1
)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28129 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28131 if (!SWIG_IsOK(ecode2
)) {
28132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28134 arg2
= static_cast< int >(val2
);
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (bool)(arg1
)->HasPage(arg2
);
28138 wxPyEndAllowThreads(__tstate
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28150 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28153 int *arg2
= (int *) 0 ;
28154 int *arg3
= (int *) 0 ;
28155 int *arg4
= (int *) 0 ;
28156 int *arg5
= (int *) 0 ;
28160 int res2
= SWIG_TMPOBJ
;
28162 int res3
= SWIG_TMPOBJ
;
28164 int res4
= SWIG_TMPOBJ
;
28166 int res5
= SWIG_TMPOBJ
;
28167 PyObject
*swig_obj
[1] ;
28173 if (!args
) SWIG_fail
;
28174 swig_obj
[0] = args
;
28175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28176 if (!SWIG_IsOK(res1
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28179 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= SWIG_Py_Void();
28187 if (SWIG_IsTmpObj(res2
)) {
28188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28190 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28193 if (SWIG_IsTmpObj(res3
)) {
28194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28196 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28199 if (SWIG_IsTmpObj(res4
)) {
28200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28202 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28205 if (SWIG_IsTmpObj(res5
)) {
28206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28208 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28217 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28221 return SWIG_Py_Void();
28224 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28225 return SWIG_Python_InitShadowInstance(args
);
28228 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
= 0;
28230 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28231 wxWindow
*arg2
= (wxWindow
*) 0 ;
28232 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28233 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28234 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28235 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28236 long arg5
= (long) 0 ;
28237 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28238 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28239 wxPreviewCanvas
*result
= 0 ;
28248 bool temp6
= false ;
28249 PyObject
* obj0
= 0 ;
28250 PyObject
* obj1
= 0 ;
28251 PyObject
* obj2
= 0 ;
28252 PyObject
* obj3
= 0 ;
28253 PyObject
* obj4
= 0 ;
28254 PyObject
* obj5
= 0 ;
28255 char * kwnames
[] = {
28256 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28261 if (!SWIG_IsOK(res1
)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28264 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28266 if (!SWIG_IsOK(res2
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28279 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28283 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28284 if (!SWIG_IsOK(ecode5
)) {
28285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28287 arg5
= static_cast< long >(val5
);
28291 arg6
= wxString_in_helper(obj5
);
28292 if (arg6
== NULL
) SWIG_fail
;
28297 if (!wxPyCheckForApp()) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28318 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28321 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28322 return SWIG_Py_Void();
28325 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28326 return SWIG_Python_InitShadowInstance(args
);
28329 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
= 0;
28331 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28332 wxFrame
*arg2
= (wxFrame
*) 0 ;
28333 wxString
*arg3
= 0 ;
28334 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28335 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28336 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28337 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28338 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28339 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28340 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28341 wxPreviewFrame
*result
= 0 ;
28345 bool temp3
= false ;
28350 bool temp7
= false ;
28351 PyObject
* obj0
= 0 ;
28352 PyObject
* obj1
= 0 ;
28353 PyObject
* obj2
= 0 ;
28354 PyObject
* obj3
= 0 ;
28355 PyObject
* obj4
= 0 ;
28356 PyObject
* obj5
= 0 ;
28357 PyObject
* obj6
= 0 ;
28358 char * kwnames
[] = {
28359 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28363 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28368 if (!SWIG_IsOK(res2
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28371 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28373 arg3
= wxString_in_helper(obj2
);
28374 if (arg3
== NULL
) SWIG_fail
;
28380 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28386 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28390 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28391 if (!SWIG_IsOK(ecode6
)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28394 arg6
= static_cast< long >(val6
);
28398 arg7
= wxString_in_helper(obj6
);
28399 if (arg7
== NULL
) SWIG_fail
;
28404 if (!wxPyCheckForApp()) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28433 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28434 PyObject
*resultobj
= 0;
28435 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28438 PyObject
*swig_obj
[1] ;
28440 if (!args
) SWIG_fail
;
28441 swig_obj
[0] = args
;
28442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28443 if (!SWIG_IsOK(res1
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28446 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 (arg1
)->Initialize();
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= SWIG_Py_Void();
28460 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28461 PyObject
*resultobj
= 0;
28462 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28465 PyObject
*swig_obj
[1] ;
28467 if (!args
) SWIG_fail
;
28468 swig_obj
[0] = args
;
28469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28473 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 (arg1
)->CreateControlBar();
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= SWIG_Py_Void();
28487 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28488 PyObject
*resultobj
= 0;
28489 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28492 PyObject
*swig_obj
[1] ;
28494 if (!args
) SWIG_fail
;
28495 swig_obj
[0] = args
;
28496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28497 if (!SWIG_IsOK(res1
)) {
28498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28500 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 (arg1
)->CreateCanvas();
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_Py_Void();
28514 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28515 PyObject
*resultobj
= 0;
28516 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28517 wxPreviewControlBar
*result
= 0 ;
28520 PyObject
*swig_obj
[1] ;
28522 if (!args
) SWIG_fail
;
28523 swig_obj
[0] = args
;
28524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28528 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28542 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28546 return SWIG_Py_Void();
28549 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28550 return SWIG_Python_InitShadowInstance(args
);
28553 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
= 0;
28555 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28557 wxWindow
*arg3
= (wxWindow
*) 0 ;
28558 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28559 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28560 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28561 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28562 long arg6
= (long) wxTAB_TRAVERSAL
;
28563 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28564 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28565 wxPreviewControlBar
*result
= 0 ;
28576 bool temp7
= false ;
28577 PyObject
* obj0
= 0 ;
28578 PyObject
* obj1
= 0 ;
28579 PyObject
* obj2
= 0 ;
28580 PyObject
* obj3
= 0 ;
28581 PyObject
* obj4
= 0 ;
28582 PyObject
* obj5
= 0 ;
28583 PyObject
* obj6
= 0 ;
28584 char * kwnames
[] = {
28585 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28593 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28594 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28595 if (!SWIG_IsOK(ecode2
)) {
28596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28598 arg2
= static_cast< long >(val2
);
28599 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28600 if (!SWIG_IsOK(res3
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28603 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28607 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28613 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28617 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28618 if (!SWIG_IsOK(ecode6
)) {
28619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28621 arg6
= static_cast< long >(val6
);
28625 arg7
= wxString_in_helper(obj6
);
28626 if (arg7
== NULL
) SWIG_fail
;
28631 if (!wxPyCheckForApp()) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28652 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28653 PyObject
*resultobj
= 0;
28654 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28658 PyObject
*swig_obj
[1] ;
28660 if (!args
) SWIG_fail
;
28661 swig_obj
[0] = args
;
28662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28663 if (!SWIG_IsOK(res1
)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28666 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (int)(arg1
)->GetZoomControl();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= SWIG_From_int(static_cast< int >(result
));
28680 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
= 0;
28682 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28688 PyObject
* obj0
= 0 ;
28689 PyObject
* obj1
= 0 ;
28690 char * kwnames
[] = {
28691 (char *) "self",(char *) "zoom", NULL
28694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28696 if (!SWIG_IsOK(res1
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28699 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28701 if (!SWIG_IsOK(ecode2
)) {
28702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28704 arg2
= static_cast< int >(val2
);
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 (arg1
)->SetZoomControl(arg2
);
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= SWIG_Py_Void();
28718 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28719 PyObject
*resultobj
= 0;
28720 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28721 wxPrintPreview
*result
= 0 ;
28724 PyObject
*swig_obj
[1] ;
28726 if (!args
) SWIG_fail
;
28727 swig_obj
[0] = args
;
28728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28729 if (!SWIG_IsOK(res1
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28732 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28746 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28747 PyObject
*resultobj
= 0;
28748 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28751 PyObject
*swig_obj
[1] ;
28753 if (!args
) SWIG_fail
;
28754 swig_obj
[0] = args
;
28755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28759 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= SWIG_Py_Void();
28773 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28774 PyObject
*resultobj
= 0;
28775 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28778 PyObject
*swig_obj
[1] ;
28780 if (!args
) SWIG_fail
;
28781 swig_obj
[0] = args
;
28782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28783 if (!SWIG_IsOK(res1
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28786 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 (arg1
)->OnPrevious();
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= SWIG_Py_Void();
28800 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28801 PyObject
*resultobj
= 0;
28802 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28805 PyObject
*swig_obj
[1] ;
28807 if (!args
) SWIG_fail
;
28808 swig_obj
[0] = args
;
28809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28810 if (!SWIG_IsOK(res1
)) {
28811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28813 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= SWIG_Py_Void();
28827 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28828 PyObject
*resultobj
= 0;
28829 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28832 PyObject
*swig_obj
[1] ;
28834 if (!args
) SWIG_fail
;
28835 swig_obj
[0] = args
;
28836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28837 if (!SWIG_IsOK(res1
)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28840 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= SWIG_Py_Void();
28854 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28855 PyObject
*resultobj
= 0;
28856 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28859 PyObject
*swig_obj
[1] ;
28861 if (!args
) SWIG_fail
;
28862 swig_obj
[0] = args
;
28863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28867 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 resultobj
= SWIG_Py_Void();
28881 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28884 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28885 return SWIG_Py_Void();
28888 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28889 return SWIG_Python_InitShadowInstance(args
);
28892 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28893 PyObject
*resultobj
= 0;
28894 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28895 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28896 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28897 wxPrintPreview
*result
= 0 ;
28903 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28904 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28908 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28909 if (!SWIG_IsOK(res2
)) {
28910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28913 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28914 if (!SWIG_IsOK(res3
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28917 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28920 if (!wxPyCheckForApp()) SWIG_fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28933 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28934 PyObject
*resultobj
= 0;
28935 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28936 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28937 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28938 wxPrintPreview
*result
= 0 ;
28944 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28945 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28946 if (!SWIG_IsOK(res1
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28949 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28950 if (!SWIG_IsOK(res2
)) {
28951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28953 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28954 if (!SWIG_IsOK(res3
)) {
28955 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28957 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28959 if (!wxPyCheckForApp()) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28972 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28976 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28978 if ((argc
>= 2) && (argc
<= 3)) {
28983 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28984 _v
= SWIG_CheckState(res
);
28986 if (!_v
) goto check_1
;
28988 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28993 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28997 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29002 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29003 PyObject
*resultobj
= 0;
29004 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29007 PyObject
*swig_obj
[1] ;
29009 if (!args
) SWIG_fail
;
29010 swig_obj
[0] = args
;
29011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29012 if (!SWIG_IsOK(res1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29015 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= SWIG_Py_Void();
29030 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
= 0;
29032 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char * kwnames
[] = {
29042 (char *) "self",(char *) "pageNum", NULL
29045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29047 if (!SWIG_IsOK(res1
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29050 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29052 if (!SWIG_IsOK(ecode2
)) {
29053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29055 arg2
= static_cast< int >(val2
);
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29071 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29072 PyObject
*resultobj
= 0;
29073 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29077 PyObject
*swig_obj
[1] ;
29079 if (!args
) SWIG_fail
;
29080 swig_obj
[0] = args
;
29081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29082 if (!SWIG_IsOK(res1
)) {
29083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29085 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 result
= (int)(arg1
)->GetCurrentPage();
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_From_int(static_cast< int >(result
));
29099 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29100 PyObject
*resultobj
= 0;
29101 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29102 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 char * kwnames
[] = {
29109 (char *) "self",(char *) "printout", NULL
29112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29114 if (!SWIG_IsOK(res1
)) {
29115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29117 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29118 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29119 if (!SWIG_IsOK(res2
)) {
29120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 (arg1
)->SetPrintout(arg2
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_Py_Void();
29135 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29136 PyObject
*resultobj
= 0;
29137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29138 wxPyPrintout
*result
= 0 ;
29141 PyObject
*swig_obj
[1] ;
29143 if (!args
) SWIG_fail
;
29144 swig_obj
[0] = args
;
29145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29149 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= wxPyMake_wxObject(result
, 0);
29165 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29166 PyObject
*resultobj
= 0;
29167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29168 wxPyPrintout
*result
= 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_wxPrintPreview
, 0 | 0 );
29176 if (!SWIG_IsOK(res1
)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29179 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= wxPyMake_wxObject(result
, 0);
29195 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
= 0;
29197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29198 wxFrame
*arg2
= (wxFrame
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "frame", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29214 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29216 if (!SWIG_IsOK(res2
)) {
29217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29219 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 (arg1
)->SetFrame(arg2
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= SWIG_Py_Void();
29233 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
= 0;
29235 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29236 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 char * kwnames
[] = {
29244 (char *) "self",(char *) "canvas", NULL
29247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29249 if (!SWIG_IsOK(res1
)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29252 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29254 if (!SWIG_IsOK(res2
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29257 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 (arg1
)->SetCanvas(arg2
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_Py_Void();
29271 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29272 PyObject
*resultobj
= 0;
29273 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29274 wxFrame
*result
= 0 ;
29277 PyObject
*swig_obj
[1] ;
29279 if (!args
) SWIG_fail
;
29280 swig_obj
[0] = args
;
29281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29282 if (!SWIG_IsOK(res1
)) {
29283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29285 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 result
= (wxFrame
*)(arg1
)->GetFrame();
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= wxPyMake_wxObject(result
, 0);
29301 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29302 PyObject
*resultobj
= 0;
29303 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29304 wxPreviewCanvas
*result
= 0 ;
29307 PyObject
*swig_obj
[1] ;
29309 if (!args
) SWIG_fail
;
29310 swig_obj
[0] = args
;
29311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29312 if (!SWIG_IsOK(res1
)) {
29313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29315 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29329 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29330 PyObject
*resultobj
= 0;
29331 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29332 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 PyObject
* obj2
= 0 ;
29344 char * kwnames
[] = {
29345 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29350 if (!SWIG_IsOK(res1
)) {
29351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29353 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29355 if (!SWIG_IsOK(res2
)) {
29356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29358 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29359 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29360 if (!SWIG_IsOK(res3
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29366 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29382 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29383 PyObject
*resultobj
= 0;
29384 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29385 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 char * kwnames
[] = {
29398 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29403 if (!SWIG_IsOK(res1
)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29406 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29408 if (!SWIG_IsOK(res2
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29411 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29412 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29413 if (!SWIG_IsOK(res3
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29419 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29435 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
= 0;
29437 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29444 PyObject
* obj0
= 0 ;
29445 PyObject
* obj1
= 0 ;
29446 char * kwnames
[] = {
29447 (char *) "self",(char *) "pageNum", NULL
29450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29452 if (!SWIG_IsOK(res1
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29455 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29457 if (!SWIG_IsOK(ecode2
)) {
29458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29460 arg2
= static_cast< int >(val2
);
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= (bool)(arg1
)->RenderPage(arg2
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29476 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
= 0;
29478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29479 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29484 PyObject
* obj0
= 0 ;
29485 PyObject
* obj1
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "canvas", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29495 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29497 if (!SWIG_IsOK(res2
)) {
29498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29500 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 (arg1
)->AdjustScrollbars(arg2
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_Py_Void();
29514 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29515 PyObject
*resultobj
= 0;
29516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29517 wxPrintDialogData
*result
= 0 ;
29520 PyObject
*swig_obj
[1] ;
29522 if (!args
) SWIG_fail
;
29523 swig_obj
[0] = args
;
29524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29528 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29532 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29533 result
= (wxPrintDialogData
*) &_result_ref
;
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29545 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
= 0;
29547 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 char * kwnames
[] = {
29556 (char *) "self",(char *) "percent", NULL
29559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29561 if (!SWIG_IsOK(res1
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29564 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29566 if (!SWIG_IsOK(ecode2
)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29569 arg2
= static_cast< int >(val2
);
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 (arg1
)->SetZoom(arg2
);
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= SWIG_Py_Void();
29583 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29584 PyObject
*resultobj
= 0;
29585 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29589 PyObject
*swig_obj
[1] ;
29591 if (!args
) SWIG_fail
;
29592 swig_obj
[0] = args
;
29593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29594 if (!SWIG_IsOK(res1
)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29597 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (int)(arg1
)->GetZoom();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_From_int(static_cast< int >(result
));
29611 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29612 PyObject
*resultobj
= 0;
29613 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29617 PyObject
*swig_obj
[1] ;
29619 if (!args
) SWIG_fail
;
29620 swig_obj
[0] = args
;
29621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29622 if (!SWIG_IsOK(res1
)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29625 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (int)(arg1
)->GetMaxPage();
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_From_int(static_cast< int >(result
));
29639 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29640 PyObject
*resultobj
= 0;
29641 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29645 PyObject
*swig_obj
[1] ;
29647 if (!args
) SWIG_fail
;
29648 swig_obj
[0] = args
;
29649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29650 if (!SWIG_IsOK(res1
)) {
29651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29653 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (int)(arg1
)->GetMinPage();
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= SWIG_From_int(static_cast< int >(result
));
29667 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29668 PyObject
*resultobj
= 0;
29669 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29673 PyObject
*swig_obj
[1] ;
29675 if (!args
) SWIG_fail
;
29676 swig_obj
[0] = args
;
29677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29678 if (!SWIG_IsOK(res1
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29681 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= (bool)(arg1
)->Ok();
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 char * kwnames
[] = {
29708 (char *) "self",(char *) "ok", NULL
29711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29716 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29717 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29718 if (!SWIG_IsOK(ecode2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29721 arg2
= static_cast< bool >(val2
);
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 (arg1
)->SetOk(arg2
);
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= SWIG_Py_Void();
29735 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29736 PyObject
*resultobj
= 0;
29737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29744 PyObject
* obj0
= 0 ;
29745 PyObject
* obj1
= 0 ;
29746 char * kwnames
[] = {
29747 (char *) "self",(char *) "interactive", NULL
29750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29752 if (!SWIG_IsOK(res1
)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29755 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29756 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29757 if (!SWIG_IsOK(ecode2
)) {
29758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29760 arg2
= static_cast< bool >(val2
);
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (bool)(arg1
)->Print(arg2
);
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29776 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29777 PyObject
*resultobj
= 0;
29778 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29781 PyObject
*swig_obj
[1] ;
29783 if (!args
) SWIG_fail
;
29784 swig_obj
[0] = args
;
29785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29786 if (!SWIG_IsOK(res1
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29789 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 (arg1
)->DetermineScaling();
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= SWIG_Py_Void();
29803 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29806 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29807 return SWIG_Py_Void();
29810 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29811 return SWIG_Python_InitShadowInstance(args
);
29814 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29815 PyObject
*resultobj
= 0;
29816 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29817 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29818 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29819 wxPyPrintPreview
*result
= 0 ;
29825 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29826 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29827 if (!SWIG_IsOK(res1
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29830 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29831 if (!SWIG_IsOK(res2
)) {
29832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29835 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29836 if (!SWIG_IsOK(res3
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29839 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29842 if (!wxPyCheckForApp()) SWIG_fail
;
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29855 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29856 PyObject
*resultobj
= 0;
29857 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29858 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29859 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29860 wxPyPrintPreview
*result
= 0 ;
29866 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29867 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29871 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29872 if (!SWIG_IsOK(res2
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29875 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29876 if (!SWIG_IsOK(res3
)) {
29877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29879 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29881 if (!wxPyCheckForApp()) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29894 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29898 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29900 if ((argc
>= 2) && (argc
<= 3)) {
29905 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29906 _v
= SWIG_CheckState(res
);
29908 if (!_v
) goto check_1
;
29910 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29915 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29919 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29924 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
= 0;
29926 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29927 PyObject
*arg2
= (PyObject
*) 0 ;
29928 PyObject
*arg3
= (PyObject
*) 0 ;
29931 PyObject
* obj0
= 0 ;
29932 PyObject
* obj1
= 0 ;
29933 PyObject
* obj2
= 0 ;
29934 char * kwnames
[] = {
29935 (char *) "self",(char *) "self",(char *) "_class", NULL
29938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29940 if (!SWIG_IsOK(res1
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29943 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_Py_Void();
29959 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29962 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29963 return SWIG_Py_Void();
29966 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29967 return SWIG_Python_InitShadowInstance(args
);
29970 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
= 0;
29972 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29973 wxFrame
*arg2
= (wxFrame
*) 0 ;
29974 wxString
*arg3
= 0 ;
29975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29979 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29980 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29982 wxPyPreviewFrame
*result
= 0 ;
29987 bool temp3
= false ;
29992 bool temp7
= false ;
29993 PyObject
* obj0
= 0 ;
29994 PyObject
* obj1
= 0 ;
29995 PyObject
* obj2
= 0 ;
29996 PyObject
* obj3
= 0 ;
29997 PyObject
* obj4
= 0 ;
29998 PyObject
* obj5
= 0 ;
29999 PyObject
* obj6
= 0 ;
30000 char * kwnames
[] = {
30001 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30006 if (!SWIG_IsOK(res1
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30009 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30011 if (!SWIG_IsOK(res2
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30014 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30016 arg3
= wxString_in_helper(obj2
);
30017 if (arg3
== NULL
) SWIG_fail
;
30023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30033 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30034 if (!SWIG_IsOK(ecode6
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30037 arg6
= static_cast< long >(val6
);
30041 arg7
= wxString_in_helper(obj6
);
30042 if (arg7
== NULL
) SWIG_fail
;
30047 if (!wxPyCheckForApp()) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30076 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
= 0;
30078 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30079 PyObject
*arg2
= (PyObject
*) 0 ;
30080 PyObject
*arg3
= (PyObject
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 PyObject
* obj1
= 0 ;
30085 PyObject
* obj2
= 0 ;
30086 char * kwnames
[] = {
30087 (char *) "self",(char *) "self",(char *) "_class", NULL
30090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30095 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 resultobj
= SWIG_Py_Void();
30111 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
= 0;
30113 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30114 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30119 PyObject
* obj0
= 0 ;
30120 PyObject
* obj1
= 0 ;
30121 char * kwnames
[] = {
30122 (char *) "self",(char *) "canvas", NULL
30125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30127 if (!SWIG_IsOK(res1
)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30130 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30131 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30132 if (!SWIG_IsOK(res2
)) {
30133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30135 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 (arg1
)->SetPreviewCanvas(arg2
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_Py_Void();
30149 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
= 0;
30151 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30152 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 char * kwnames
[] = {
30160 (char *) "self",(char *) "bar", NULL
30163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30165 if (!SWIG_IsOK(res1
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30168 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30170 if (!SWIG_IsOK(res2
)) {
30171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30173 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 (arg1
)->SetControlBar(arg2
);
30177 wxPyEndAllowThreads(__tstate
);
30178 if (PyErr_Occurred()) SWIG_fail
;
30180 resultobj
= SWIG_Py_Void();
30187 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30188 PyObject
*resultobj
= 0;
30189 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30192 PyObject
*swig_obj
[1] ;
30194 if (!args
) SWIG_fail
;
30195 swig_obj
[0] = args
;
30196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30197 if (!SWIG_IsOK(res1
)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30200 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 (arg1
)->Initialize();
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= SWIG_Py_Void();
30214 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30215 PyObject
*resultobj
= 0;
30216 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30219 PyObject
*swig_obj
[1] ;
30221 if (!args
) SWIG_fail
;
30222 swig_obj
[0] = args
;
30223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30227 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 (arg1
)->CreateCanvas();
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= SWIG_Py_Void();
30241 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30242 PyObject
*resultobj
= 0;
30243 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30246 PyObject
*swig_obj
[1] ;
30248 if (!args
) SWIG_fail
;
30249 swig_obj
[0] = args
;
30250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30251 if (!SWIG_IsOK(res1
)) {
30252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30254 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 (arg1
)->CreateControlBar();
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= SWIG_Py_Void();
30268 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30271 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30272 return SWIG_Py_Void();
30275 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30276 return SWIG_Python_InitShadowInstance(args
);
30279 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30283 wxWindow
*arg3
= (wxWindow
*) 0 ;
30284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30288 long arg6
= (long) 0 ;
30289 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30291 wxPyPreviewControlBar
*result
= 0 ;
30302 bool temp7
= false ;
30303 PyObject
* obj0
= 0 ;
30304 PyObject
* obj1
= 0 ;
30305 PyObject
* obj2
= 0 ;
30306 PyObject
* obj3
= 0 ;
30307 PyObject
* obj4
= 0 ;
30308 PyObject
* obj5
= 0 ;
30309 PyObject
* obj6
= 0 ;
30310 char * kwnames
[] = {
30311 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30316 if (!SWIG_IsOK(res1
)) {
30317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30319 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30320 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30321 if (!SWIG_IsOK(ecode2
)) {
30322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30324 arg2
= static_cast< long >(val2
);
30325 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30326 if (!SWIG_IsOK(res3
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30329 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30343 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30344 if (!SWIG_IsOK(ecode6
)) {
30345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30347 arg6
= static_cast< long >(val6
);
30351 arg7
= wxString_in_helper(obj6
);
30352 if (arg7
== NULL
) SWIG_fail
;
30357 if (!wxPyCheckForApp()) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30378 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
= 0;
30380 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30381 PyObject
*arg2
= (PyObject
*) 0 ;
30382 PyObject
*arg3
= (PyObject
*) 0 ;
30385 PyObject
* obj0
= 0 ;
30386 PyObject
* obj1
= 0 ;
30387 PyObject
* obj2
= 0 ;
30388 char * kwnames
[] = {
30389 (char *) "self",(char *) "self",(char *) "_class", NULL
30392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30397 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_Py_Void();
30413 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
= 0;
30415 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30416 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30421 PyObject
* obj0
= 0 ;
30422 PyObject
* obj1
= 0 ;
30423 char * kwnames
[] = {
30424 (char *) "self",(char *) "preview", NULL
30427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30429 if (!SWIG_IsOK(res1
)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30432 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30434 if (!SWIG_IsOK(res2
)) {
30435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30437 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->SetPrintPreview(arg2
);
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= SWIG_Py_Void();
30451 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30452 PyObject
*resultobj
= 0;
30453 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30456 PyObject
*swig_obj
[1] ;
30458 if (!args
) SWIG_fail
;
30459 swig_obj
[0] = args
;
30460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30464 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 (arg1
)->CreateButtons();
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= SWIG_Py_Void();
30478 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
= 0;
30480 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 char * kwnames
[] = {
30489 (char *) "self",(char *) "zoom", NULL
30492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30494 if (!SWIG_IsOK(res1
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30497 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30499 if (!SWIG_IsOK(ecode2
)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30502 arg2
= static_cast< int >(val2
);
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 (arg1
)->SetZoomControl(arg2
);
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30509 resultobj
= SWIG_Py_Void();
30516 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30520 return SWIG_Py_Void();
30523 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30524 return SWIG_Python_InitShadowInstance(args
);
30527 static PyMethodDef SwigMethods
[] = {
30528 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30530 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30532 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30534 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30535 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30537 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30544 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30546 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30548 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30549 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30550 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30551 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30552 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30555 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30558 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30559 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30561 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30563 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30564 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30565 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30569 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30571 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30574 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30576 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30578 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30580 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30582 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30584 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30587 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30594 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30596 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30601 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30602 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30604 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30607 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30609 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30611 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30615 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30616 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30619 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30620 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30622 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30624 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30625 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30628 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30629 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30630 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30632 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30633 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30634 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30635 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30636 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30638 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30641 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30650 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30651 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30653 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30654 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30656 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30658 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30659 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30661 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30667 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30668 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30671 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30672 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30674 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30676 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30678 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30679 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30680 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30682 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30684 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30685 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30688 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30689 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30690 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30691 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30692 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30693 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30695 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30703 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30705 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30708 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30709 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30712 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30713 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30715 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30716 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30717 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30720 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30722 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30724 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30725 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30726 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30729 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30731 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30733 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30735 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30737 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30738 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30739 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30742 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30744 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30745 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30746 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30748 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30750 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30751 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30755 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30756 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30757 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30758 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30762 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30763 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30765 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30768 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30769 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30771 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30774 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30775 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30776 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30779 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30780 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30781 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30783 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30792 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30793 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30794 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30795 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30797 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30798 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30801 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30802 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30804 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30807 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30808 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30809 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30812 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30813 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30815 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30816 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30818 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30823 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30824 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30830 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30831 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30833 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30837 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30839 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30840 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30841 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30842 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30844 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30845 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30846 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30848 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30850 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30851 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30853 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30854 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30855 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30856 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30857 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30858 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30863 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30864 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30866 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30867 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30868 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30871 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30872 { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
},
30873 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30876 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30877 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30886 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30887 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30888 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30889 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30890 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30891 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30892 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30893 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30894 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30895 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30896 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30899 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30900 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30901 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30903 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30904 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30906 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30907 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30909 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30911 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30912 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30914 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30915 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30916 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30917 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30919 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30920 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30921 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30922 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30923 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30924 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30931 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30932 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30934 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30935 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30936 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30939 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30940 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30943 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30944 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30945 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30947 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30948 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30949 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30950 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30954 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30955 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30957 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30958 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30959 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30960 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30964 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30965 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30967 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30969 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30971 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30972 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30974 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30976 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30977 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30978 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30979 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30980 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30981 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30982 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30984 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30985 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30987 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30989 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30990 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30991 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30993 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30995 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30996 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30998 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31006 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31007 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31008 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31009 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31010 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31011 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31012 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31013 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31014 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31016 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31024 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31025 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31026 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31027 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31028 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31029 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31030 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31031 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31032 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31034 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31042 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31043 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31044 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31045 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31046 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31047 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31048 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31049 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31050 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31051 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31052 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31053 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31054 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31055 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31056 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31057 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31058 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31059 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31060 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31061 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31062 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31063 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31064 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31076 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31078 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31080 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31081 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31082 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31083 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31089 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31090 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31091 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31092 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31093 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31094 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31095 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31096 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31097 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31098 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31099 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31100 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31101 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31102 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31103 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31113 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31114 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31115 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31116 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31118 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31119 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31120 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31121 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31122 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31123 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31124 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31125 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31126 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31127 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31128 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31129 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31130 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31131 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31132 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31133 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31147 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31148 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31149 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31150 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31151 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31152 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31154 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31155 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31157 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31158 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31159 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31160 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31161 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31162 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31164 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31170 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31171 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31172 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31173 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31174 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31176 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31178 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31179 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31182 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31184 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31186 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31188 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31189 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31192 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31193 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31194 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31195 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31197 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31198 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31199 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31201 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31202 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31204 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31205 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31206 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31207 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31208 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31209 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31211 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31213 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31214 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31215 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31216 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31217 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31218 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31219 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31220 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31221 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31222 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31224 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31226 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31227 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31230 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31231 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31236 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31238 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31239 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31240 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31241 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31244 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31245 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31246 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31247 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31249 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31250 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31255 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31256 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31257 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31258 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31259 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31263 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31266 { NULL
, NULL
, 0, NULL
}
31270 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31272 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31273 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31275 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31278 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31279 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31281 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31282 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31284 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31285 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31287 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31288 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31290 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31291 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31293 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31294 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31296 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31297 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31299 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31302 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31305 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31306 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31308 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31311 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31312 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31314 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31315 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31317 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31320 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31321 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31323 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31324 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31326 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31327 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31329 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31330 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31332 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31333 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31335 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31336 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31338 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31339 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31341 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31342 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31344 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31345 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31347 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31350 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31351 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31353 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31354 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31356 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31357 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31359 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31360 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31362 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31363 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31365 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31366 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31368 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31371 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31372 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31374 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31375 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31377 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31378 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31380 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31381 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31383 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31386 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31389 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31390 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31392 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31393 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31395 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31396 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31398 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31399 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31401 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31402 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31404 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31405 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31407 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31410 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31413 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31419 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31420 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31422 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31423 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31425 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31426 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31428 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31431 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31434 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31437 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31440 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31443 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31446 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31449 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31452 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31453 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31455 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31456 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31458 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31461 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31464 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31467 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31468 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31470 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31473 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31474 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31476 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31477 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31479 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31480 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31482 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31483 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31485 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31488 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31489 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31491 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31492 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31494 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31497 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31498 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31500 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31503 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31506 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31509 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31510 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31512 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31515 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31516 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31518 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31521 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31524 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31527 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31530 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31533 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31534 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31536 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31539 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31542 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31545 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31548 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31551 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31554 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31555 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31557 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31558 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31560 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31561 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31563 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31564 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31566 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31567 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31569 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31570 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31572 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31573 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31575 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31576 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31578 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31581 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31584 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31587 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31590 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31593 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31596 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31599 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31602 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31605 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31608 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) ((wxSizer
*) x
));
31611 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31614 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31617 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31620 static void *_p_wxEventTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) ((wxEvent
*) x
));
31623 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) ((wxFontData
*) x
));
31626 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31629 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31632 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31635 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31638 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31641 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31644 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31647 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31650 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31653 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31656 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31659 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31662 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31665 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31668 static void *_p_wxControlTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31671 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31674 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31677 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31680 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31683 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31686 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31689 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) ((wxColourData
*) x
));
31692 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31695 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31698 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31701 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31704 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31707 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31710 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31713 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31716 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31719 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31722 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31725 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31728 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31731 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31734 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31737 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31740 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31743 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31746 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31749 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31752 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31755 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31758 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31761 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31764 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31767 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31770 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31773 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31776 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31779 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31782 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31785 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31788 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31791 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31794 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31797 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31800 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31803 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31806 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31809 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31812 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31815 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31818 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31821 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31824 static void *_p_wxImageTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) ((wxImage
*) x
));
31827 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31830 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31833 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31836 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31839 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31842 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31845 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31848 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31851 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31854 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31857 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31860 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31863 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31866 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31869 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31872 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31875 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31878 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31881 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31884 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31887 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31890 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31893 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31896 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31899 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31902 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31905 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31908 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31911 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31914 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31917 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31920 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31923 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31924 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31926 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31927 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31929 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31930 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31932 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31935 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31936 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31938 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31939 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31941 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31942 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31944 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31945 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31947 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31948 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31950 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31953 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31954 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31956 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31959 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31962 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31963 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31965 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31966 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31968 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31971 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31974 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31975 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31977 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31978 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31980 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31983 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31986 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31987 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31989 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31990 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31992 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
31993 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31995 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31996 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31998 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
31999 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32001 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32002 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32004 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32005 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32007 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32008 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32010 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32011 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32013 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32014 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32016 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32017 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32019 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32020 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32022 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32023 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32025 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32026 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32028 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32029 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32031 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32032 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32034 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32035 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32037 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32038 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32040 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32041 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32043 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32044 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32046 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32047 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32049 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32050 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32052 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32053 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32055 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32056 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32058 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32059 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32061 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32062 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32064 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32065 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32067 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32068 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32070 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32071 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32073 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32074 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32076 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32077 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32079 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32082 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32085 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32086 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32088 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32089 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32091 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32094 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32095 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32097 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32098 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32100 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32101 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32103 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32104 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32106 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32107 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32109 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32110 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32112 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32113 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32115 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32116 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32118 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32119 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32121 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32122 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32124 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32125 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32127 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32128 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32130 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32131 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32133 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32134 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32136 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32137 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32139 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32140 return (void *)((wxWindow
*) ((wxControl
*) x
));
32142 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32145 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32148 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32149 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32151 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32152 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32154 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32155 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32157 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32158 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32160 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32161 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32163 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32164 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32166 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32167 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32169 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32170 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32172 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32173 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32175 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32178 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32181 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32182 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32184 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32185 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32187 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32188 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32190 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32191 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32193 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32194 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32196 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32197 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32199 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32200 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32202 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32203 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32205 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32206 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32208 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32209 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32211 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32212 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32214 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32215 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32217 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32218 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32220 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32221 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32223 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32224 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32226 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32227 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32229 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32230 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32232 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32233 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32235 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32236 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32238 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32239 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32241 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32242 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32244 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32245 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32247 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32248 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32250 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32251 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32253 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32254 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32256 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32257 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32259 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32260 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32262 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32263 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32265 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32266 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32268 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32269 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32271 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32272 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32274 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32275 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32277 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32278 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32280 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32281 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32283 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32284 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32286 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32287 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32289 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32290 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32292 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32293 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32295 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32296 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};
32297 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32309 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32310 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32311 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32312 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32313 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32314 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32315 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32316 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32322 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32323 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32324 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32325 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32326 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32327 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32328 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32329 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32330 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32331 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32332 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32333 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32334 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32335 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32336 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32337 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32338 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32348 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32352 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32359 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32382 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32384 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32385 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32388 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32389 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32390 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32391 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32392 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32393 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32394 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32395 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32396 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32397 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32398 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32399 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32400 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32401 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32402 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32407 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32408 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32409 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32410 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32411 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32412 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32413 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32414 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32415 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32416 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32417 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32418 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32419 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32420 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32421 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32422 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32423 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32424 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32425 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32426 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32427 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32428 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32429 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32430 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32431 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32432 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32433 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32434 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32457 static swig_type_info
*swig_type_initial
[] = {
32459 &_swigt__p_form_ops_t
,
32461 &_swigt__p_unsigned_char
,
32462 &_swigt__p_unsigned_int
,
32463 &_swigt__p_unsigned_long
,
32464 &_swigt__p_wxANIHandler
,
32465 &_swigt__p_wxAcceleratorTable
,
32466 &_swigt__p_wxActivateEvent
,
32467 &_swigt__p_wxArrayInt
,
32468 &_swigt__p_wxBMPHandler
,
32469 &_swigt__p_wxBitmap
,
32470 &_swigt__p_wxBoxSizer
,
32471 &_swigt__p_wxCURHandler
,
32472 &_swigt__p_wxCalculateLayoutEvent
,
32473 &_swigt__p_wxChildFocusEvent
,
32474 &_swigt__p_wxCloseEvent
,
32475 &_swigt__p_wxColour
,
32476 &_swigt__p_wxColourData
,
32477 &_swigt__p_wxColourDialog
,
32478 &_swigt__p_wxCommandEvent
,
32479 &_swigt__p_wxContextMenuEvent
,
32480 &_swigt__p_wxControl
,
32481 &_swigt__p_wxControlWithItems
,
32483 &_swigt__p_wxDateEvent
,
32484 &_swigt__p_wxDialog
,
32485 &_swigt__p_wxDirDialog
,
32486 &_swigt__p_wxDisplayChangedEvent
,
32487 &_swigt__p_wxDropFilesEvent
,
32488 &_swigt__p_wxDuplexMode
,
32489 &_swigt__p_wxEraseEvent
,
32490 &_swigt__p_wxEvent
,
32491 &_swigt__p_wxEvtHandler
,
32492 &_swigt__p_wxFSFile
,
32493 &_swigt__p_wxFileDialog
,
32494 &_swigt__p_wxFileSystem
,
32495 &_swigt__p_wxFindDialogEvent
,
32496 &_swigt__p_wxFindReplaceData
,
32497 &_swigt__p_wxFindReplaceDialog
,
32498 &_swigt__p_wxFlexGridSizer
,
32499 &_swigt__p_wxFocusEvent
,
32501 &_swigt__p_wxFontData
,
32502 &_swigt__p_wxFontDialog
,
32503 &_swigt__p_wxFrame
,
32504 &_swigt__p_wxGBSizerItem
,
32505 &_swigt__p_wxGIFHandler
,
32506 &_swigt__p_wxGridBagSizer
,
32507 &_swigt__p_wxGridSizer
,
32508 &_swigt__p_wxHtmlLinkInfo
,
32509 &_swigt__p_wxICOHandler
,
32511 &_swigt__p_wxIconBundle
,
32512 &_swigt__p_wxIconizeEvent
,
32513 &_swigt__p_wxIdleEvent
,
32514 &_swigt__p_wxImage
,
32515 &_swigt__p_wxImageHandler
,
32516 &_swigt__p_wxIndividualLayoutConstraint
,
32517 &_swigt__p_wxInitDialogEvent
,
32518 &_swigt__p_wxJPEGHandler
,
32519 &_swigt__p_wxKeyEvent
,
32520 &_swigt__p_wxLayoutAlgorithm
,
32521 &_swigt__p_wxLayoutConstraints
,
32522 &_swigt__p_wxMDIChildFrame
,
32523 &_swigt__p_wxMDIClientWindow
,
32524 &_swigt__p_wxMDIParentFrame
,
32525 &_swigt__p_wxMaximizeEvent
,
32527 &_swigt__p_wxMenuBar
,
32528 &_swigt__p_wxMenuEvent
,
32529 &_swigt__p_wxMenuItem
,
32530 &_swigt__p_wxMessageDialog
,
32531 &_swigt__p_wxMiniFrame
,
32532 &_swigt__p_wxMouseCaptureChangedEvent
,
32533 &_swigt__p_wxMouseEvent
,
32534 &_swigt__p_wxMoveEvent
,
32535 &_swigt__p_wxMultiChoiceDialog
,
32536 &_swigt__p_wxNavigationKeyEvent
,
32537 &_swigt__p_wxNcPaintEvent
,
32538 &_swigt__p_wxNotifyEvent
,
32539 &_swigt__p_wxObject
,
32540 &_swigt__p_wxPCXHandler
,
32541 &_swigt__p_wxPNGHandler
,
32542 &_swigt__p_wxPNMHandler
,
32543 &_swigt__p_wxPageSetupDialog
,
32544 &_swigt__p_wxPageSetupDialogData
,
32545 &_swigt__p_wxPaintEvent
,
32546 &_swigt__p_wxPaletteChangedEvent
,
32547 &_swigt__p_wxPanel
,
32548 &_swigt__p_wxPaperSize
,
32549 &_swigt__p_wxPasswordEntryDialog
,
32550 &_swigt__p_wxPoint
,
32551 &_swigt__p_wxPopupWindow
,
32552 &_swigt__p_wxPreviewCanvas
,
32553 &_swigt__p_wxPreviewControlBar
,
32554 &_swigt__p_wxPreviewFrame
,
32555 &_swigt__p_wxPrintData
,
32556 &_swigt__p_wxPrintDialog
,
32557 &_swigt__p_wxPrintDialogData
,
32558 &_swigt__p_wxPrintPreview
,
32559 &_swigt__p_wxPrinter
,
32560 &_swigt__p_wxProgressDialog
,
32561 &_swigt__p_wxPyApp
,
32562 &_swigt__p_wxPyCommandEvent
,
32563 &_swigt__p_wxPyEvent
,
32564 &_swigt__p_wxPyHtmlListBox
,
32565 &_swigt__p_wxPyImageHandler
,
32566 &_swigt__p_wxPyPanel
,
32567 &_swigt__p_wxPyPopupTransientWindow
,
32568 &_swigt__p_wxPyPreviewControlBar
,
32569 &_swigt__p_wxPyPreviewFrame
,
32570 &_swigt__p_wxPyPrintPreview
,
32571 &_swigt__p_wxPyPrintout
,
32572 &_swigt__p_wxPyScrolledWindow
,
32573 &_swigt__p_wxPySizer
,
32574 &_swigt__p_wxPyTaskBarIcon
,
32575 &_swigt__p_wxPyVListBox
,
32576 &_swigt__p_wxPyVScrolledWindow
,
32577 &_swigt__p_wxPyValidator
,
32578 &_swigt__p_wxPyWindow
,
32579 &_swigt__p_wxQueryLayoutInfoEvent
,
32580 &_swigt__p_wxQueryNewPaletteEvent
,
32582 &_swigt__p_wxRegion
,
32583 &_swigt__p_wxSashEvent
,
32584 &_swigt__p_wxSashLayoutWindow
,
32585 &_swigt__p_wxSashWindow
,
32586 &_swigt__p_wxScrollEvent
,
32587 &_swigt__p_wxScrollWinEvent
,
32588 &_swigt__p_wxScrolledWindow
,
32589 &_swigt__p_wxSetCursorEvent
,
32590 &_swigt__p_wxShowEvent
,
32591 &_swigt__p_wxSingleChoiceDialog
,
32593 &_swigt__p_wxSizeEvent
,
32594 &_swigt__p_wxSizer
,
32595 &_swigt__p_wxSizerItem
,
32596 &_swigt__p_wxSplashScreen
,
32597 &_swigt__p_wxSplashScreenWindow
,
32598 &_swigt__p_wxSplitterEvent
,
32599 &_swigt__p_wxSplitterWindow
,
32600 &_swigt__p_wxStaticBoxSizer
,
32601 &_swigt__p_wxStatusBar
,
32602 &_swigt__p_wxStdDialogButtonSizer
,
32603 &_swigt__p_wxString
,
32604 &_swigt__p_wxSysColourChangedEvent
,
32605 &_swigt__p_wxTIFFHandler
,
32606 &_swigt__p_wxTaskBarIcon
,
32607 &_swigt__p_wxTaskBarIconEvent
,
32608 &_swigt__p_wxTextEntryDialog
,
32609 &_swigt__p_wxTipWindow
,
32610 &_swigt__p_wxToolBar
,
32611 &_swigt__p_wxTopLevelWindow
,
32612 &_swigt__p_wxUpdateUIEvent
,
32613 &_swigt__p_wxValidator
,
32614 &_swigt__p_wxVisualAttributes
,
32615 &_swigt__p_wxWindow
,
32616 &_swigt__p_wxWindowCreateEvent
,
32617 &_swigt__p_wxWindowDestroyEvent
,
32618 &_swigt__p_wxXPMHandler
,
32621 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32671 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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_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}};
32672 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32686 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}};
32687 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32699 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}};
32700 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32735 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}};
32736 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32737 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}};
32738 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}};
32739 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32742 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}};
32743 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32747 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}};
32748 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32762 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}};
32763 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32764 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}};
32765 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32776 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}};
32777 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info
*swig_cast_initial
[] = {
32785 _swigc__p_form_ops_t
,
32787 _swigc__p_unsigned_char
,
32788 _swigc__p_unsigned_int
,
32789 _swigc__p_unsigned_long
,
32790 _swigc__p_wxANIHandler
,
32791 _swigc__p_wxAcceleratorTable
,
32792 _swigc__p_wxActivateEvent
,
32793 _swigc__p_wxArrayInt
,
32794 _swigc__p_wxBMPHandler
,
32795 _swigc__p_wxBitmap
,
32796 _swigc__p_wxBoxSizer
,
32797 _swigc__p_wxCURHandler
,
32798 _swigc__p_wxCalculateLayoutEvent
,
32799 _swigc__p_wxChildFocusEvent
,
32800 _swigc__p_wxCloseEvent
,
32801 _swigc__p_wxColour
,
32802 _swigc__p_wxColourData
,
32803 _swigc__p_wxColourDialog
,
32804 _swigc__p_wxCommandEvent
,
32805 _swigc__p_wxContextMenuEvent
,
32806 _swigc__p_wxControl
,
32807 _swigc__p_wxControlWithItems
,
32809 _swigc__p_wxDateEvent
,
32810 _swigc__p_wxDialog
,
32811 _swigc__p_wxDirDialog
,
32812 _swigc__p_wxDisplayChangedEvent
,
32813 _swigc__p_wxDropFilesEvent
,
32814 _swigc__p_wxDuplexMode
,
32815 _swigc__p_wxEraseEvent
,
32817 _swigc__p_wxEvtHandler
,
32818 _swigc__p_wxFSFile
,
32819 _swigc__p_wxFileDialog
,
32820 _swigc__p_wxFileSystem
,
32821 _swigc__p_wxFindDialogEvent
,
32822 _swigc__p_wxFindReplaceData
,
32823 _swigc__p_wxFindReplaceDialog
,
32824 _swigc__p_wxFlexGridSizer
,
32825 _swigc__p_wxFocusEvent
,
32827 _swigc__p_wxFontData
,
32828 _swigc__p_wxFontDialog
,
32830 _swigc__p_wxGBSizerItem
,
32831 _swigc__p_wxGIFHandler
,
32832 _swigc__p_wxGridBagSizer
,
32833 _swigc__p_wxGridSizer
,
32834 _swigc__p_wxHtmlLinkInfo
,
32835 _swigc__p_wxICOHandler
,
32837 _swigc__p_wxIconBundle
,
32838 _swigc__p_wxIconizeEvent
,
32839 _swigc__p_wxIdleEvent
,
32841 _swigc__p_wxImageHandler
,
32842 _swigc__p_wxIndividualLayoutConstraint
,
32843 _swigc__p_wxInitDialogEvent
,
32844 _swigc__p_wxJPEGHandler
,
32845 _swigc__p_wxKeyEvent
,
32846 _swigc__p_wxLayoutAlgorithm
,
32847 _swigc__p_wxLayoutConstraints
,
32848 _swigc__p_wxMDIChildFrame
,
32849 _swigc__p_wxMDIClientWindow
,
32850 _swigc__p_wxMDIParentFrame
,
32851 _swigc__p_wxMaximizeEvent
,
32853 _swigc__p_wxMenuBar
,
32854 _swigc__p_wxMenuEvent
,
32855 _swigc__p_wxMenuItem
,
32856 _swigc__p_wxMessageDialog
,
32857 _swigc__p_wxMiniFrame
,
32858 _swigc__p_wxMouseCaptureChangedEvent
,
32859 _swigc__p_wxMouseEvent
,
32860 _swigc__p_wxMoveEvent
,
32861 _swigc__p_wxMultiChoiceDialog
,
32862 _swigc__p_wxNavigationKeyEvent
,
32863 _swigc__p_wxNcPaintEvent
,
32864 _swigc__p_wxNotifyEvent
,
32865 _swigc__p_wxObject
,
32866 _swigc__p_wxPCXHandler
,
32867 _swigc__p_wxPNGHandler
,
32868 _swigc__p_wxPNMHandler
,
32869 _swigc__p_wxPageSetupDialog
,
32870 _swigc__p_wxPageSetupDialogData
,
32871 _swigc__p_wxPaintEvent
,
32872 _swigc__p_wxPaletteChangedEvent
,
32874 _swigc__p_wxPaperSize
,
32875 _swigc__p_wxPasswordEntryDialog
,
32877 _swigc__p_wxPopupWindow
,
32878 _swigc__p_wxPreviewCanvas
,
32879 _swigc__p_wxPreviewControlBar
,
32880 _swigc__p_wxPreviewFrame
,
32881 _swigc__p_wxPrintData
,
32882 _swigc__p_wxPrintDialog
,
32883 _swigc__p_wxPrintDialogData
,
32884 _swigc__p_wxPrintPreview
,
32885 _swigc__p_wxPrinter
,
32886 _swigc__p_wxProgressDialog
,
32888 _swigc__p_wxPyCommandEvent
,
32889 _swigc__p_wxPyEvent
,
32890 _swigc__p_wxPyHtmlListBox
,
32891 _swigc__p_wxPyImageHandler
,
32892 _swigc__p_wxPyPanel
,
32893 _swigc__p_wxPyPopupTransientWindow
,
32894 _swigc__p_wxPyPreviewControlBar
,
32895 _swigc__p_wxPyPreviewFrame
,
32896 _swigc__p_wxPyPrintPreview
,
32897 _swigc__p_wxPyPrintout
,
32898 _swigc__p_wxPyScrolledWindow
,
32899 _swigc__p_wxPySizer
,
32900 _swigc__p_wxPyTaskBarIcon
,
32901 _swigc__p_wxPyVListBox
,
32902 _swigc__p_wxPyVScrolledWindow
,
32903 _swigc__p_wxPyValidator
,
32904 _swigc__p_wxPyWindow
,
32905 _swigc__p_wxQueryLayoutInfoEvent
,
32906 _swigc__p_wxQueryNewPaletteEvent
,
32908 _swigc__p_wxRegion
,
32909 _swigc__p_wxSashEvent
,
32910 _swigc__p_wxSashLayoutWindow
,
32911 _swigc__p_wxSashWindow
,
32912 _swigc__p_wxScrollEvent
,
32913 _swigc__p_wxScrollWinEvent
,
32914 _swigc__p_wxScrolledWindow
,
32915 _swigc__p_wxSetCursorEvent
,
32916 _swigc__p_wxShowEvent
,
32917 _swigc__p_wxSingleChoiceDialog
,
32919 _swigc__p_wxSizeEvent
,
32921 _swigc__p_wxSizerItem
,
32922 _swigc__p_wxSplashScreen
,
32923 _swigc__p_wxSplashScreenWindow
,
32924 _swigc__p_wxSplitterEvent
,
32925 _swigc__p_wxSplitterWindow
,
32926 _swigc__p_wxStaticBoxSizer
,
32927 _swigc__p_wxStatusBar
,
32928 _swigc__p_wxStdDialogButtonSizer
,
32929 _swigc__p_wxString
,
32930 _swigc__p_wxSysColourChangedEvent
,
32931 _swigc__p_wxTIFFHandler
,
32932 _swigc__p_wxTaskBarIcon
,
32933 _swigc__p_wxTaskBarIconEvent
,
32934 _swigc__p_wxTextEntryDialog
,
32935 _swigc__p_wxTipWindow
,
32936 _swigc__p_wxToolBar
,
32937 _swigc__p_wxTopLevelWindow
,
32938 _swigc__p_wxUpdateUIEvent
,
32939 _swigc__p_wxValidator
,
32940 _swigc__p_wxVisualAttributes
,
32941 _swigc__p_wxWindow
,
32942 _swigc__p_wxWindowCreateEvent
,
32943 _swigc__p_wxWindowDestroyEvent
,
32944 _swigc__p_wxXPMHandler
,
32948 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32950 static swig_const_info swig_const_table
[] = {
32951 {0, 0, 0, 0.0, 0, 0}};
32956 /* -----------------------------------------------------------------------------
32957 * Type initialization:
32958 * This problem is tough by the requirement that no dynamic
32959 * memory is used. Also, since swig_type_info structures store pointers to
32960 * swig_cast_info structures and swig_cast_info structures store pointers back
32961 * to swig_type_info structures, we need some lookup code at initialization.
32962 * The idea is that swig generates all the structures that are needed.
32963 * The runtime then collects these partially filled structures.
32964 * The SWIG_InitializeModule function takes these initial arrays out of
32965 * swig_module, and does all the lookup, filling in the swig_module.types
32966 * array with the correct data and linking the correct swig_cast_info
32967 * structures together.
32969 * The generated swig_type_info structures are assigned staticly to an initial
32970 * array. We just loop though that array, and handle each type individually.
32971 * First we lookup if this type has been already loaded, and if so, use the
32972 * loaded structure instead of the generated one. Then we have to fill in the
32973 * cast linked list. The cast data is initially stored in something like a
32974 * two-dimensional array. Each row corresponds to a type (there are the same
32975 * number of rows as there are in the swig_type_initial array). Each entry in
32976 * a column is one of the swig_cast_info structures for that type.
32977 * The cast_initial array is actually an array of arrays, because each row has
32978 * a variable number of columns. So to actually build the cast linked list,
32979 * we find the array of casts associated with the type, and loop through it
32980 * adding the casts to the list. The one last trick we need to do is making
32981 * sure the type pointer in the swig_cast_info struct is correct.
32983 * First off, we lookup the cast->type name to see if it is already loaded.
32984 * There are three cases to handle:
32985 * 1) If the cast->type has already been loaded AND the type we are adding
32986 * casting info to has not been loaded (it is in this module), THEN we
32987 * replace the cast->type pointer with the type pointer that has already
32989 * 2) If BOTH types (the one we are adding casting info to, and the
32990 * cast->type) are loaded, THEN the cast info has already been loaded by
32991 * the previous module so we just ignore it.
32992 * 3) Finally, if cast->type has not already been loaded, then we add that
32993 * swig_cast_info to the linked list (because the cast->type) pointer will
32995 * ----------------------------------------------------------------------------- */
33005 #define SWIGRUNTIME_DEBUG
33009 SWIG_InitializeModule(void *clientdata
) {
33011 swig_module_info
*module_head
;
33012 static int init_run
= 0;
33014 clientdata
= clientdata
;
33016 if (init_run
) return;
33019 /* Initialize the swig_module */
33020 swig_module
.type_initial
= swig_type_initial
;
33021 swig_module
.cast_initial
= swig_cast_initial
;
33023 /* Try and load any already created modules */
33024 module_head
= SWIG_GetModule(clientdata
);
33026 swig_module
.next
= module_head
->next
;
33027 module_head
->next
= &swig_module
;
33029 /* This is the first module loaded */
33030 swig_module
.next
= &swig_module
;
33031 SWIG_SetModule(clientdata
, &swig_module
);
33034 /* Now work on filling in swig_module.types */
33035 #ifdef SWIGRUNTIME_DEBUG
33036 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33038 for (i
= 0; i
< swig_module
.size
; ++i
) {
33039 swig_type_info
*type
= 0;
33040 swig_type_info
*ret
;
33041 swig_cast_info
*cast
;
33043 #ifdef SWIGRUNTIME_DEBUG
33044 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33047 /* if there is another module already loaded */
33048 if (swig_module
.next
!= &swig_module
) {
33049 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33052 /* Overwrite clientdata field */
33053 #ifdef SWIGRUNTIME_DEBUG
33054 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33056 if (swig_module
.type_initial
[i
]->clientdata
) {
33057 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33058 #ifdef SWIGRUNTIME_DEBUG
33059 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33063 type
= swig_module
.type_initial
[i
];
33066 /* Insert casting types */
33067 cast
= swig_module
.cast_initial
[i
];
33068 while (cast
->type
) {
33069 /* Don't need to add information already in the list */
33071 #ifdef SWIGRUNTIME_DEBUG
33072 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33074 if (swig_module
.next
!= &swig_module
) {
33075 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33076 #ifdef SWIGRUNTIME_DEBUG
33077 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33081 if (type
== swig_module
.type_initial
[i
]) {
33082 #ifdef SWIGRUNTIME_DEBUG
33083 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33088 /* Check for casting already in the list */
33089 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33090 #ifdef SWIGRUNTIME_DEBUG
33091 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33093 if (!ocast
) ret
= 0;
33098 #ifdef SWIGRUNTIME_DEBUG
33099 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33102 type
->cast
->prev
= cast
;
33103 cast
->next
= type
->cast
;
33109 /* Set entry in modules->types array equal to the type */
33110 swig_module
.types
[i
] = type
;
33112 swig_module
.types
[i
] = 0;
33114 #ifdef SWIGRUNTIME_DEBUG
33115 printf("**** SWIG_InitializeModule: Cast List ******\n");
33116 for (i
= 0; i
< swig_module
.size
; ++i
) {
33118 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33119 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33120 while (cast
->type
) {
33121 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33125 printf("---- Total casts: %d\n",j
);
33127 printf("**** SWIG_InitializeModule: Cast List ******\n");
33131 /* This function will propagate the clientdata field of type to
33132 * any new swig_type_info structures that have been added into the list
33133 * of equivalent types. It is like calling
33134 * SWIG_TypeClientData(type, clientdata) a second time.
33137 SWIG_PropagateClientData(void) {
33139 swig_cast_info
*equiv
;
33140 static int init_run
= 0;
33142 if (init_run
) return;
33145 for (i
= 0; i
< swig_module
.size
; i
++) {
33146 if (swig_module
.types
[i
]->clientdata
) {
33147 equiv
= swig_module
.types
[i
]->cast
;
33149 if (!equiv
->converter
) {
33150 if (equiv
->type
&& !equiv
->type
->clientdata
)
33151 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33153 equiv
= equiv
->next
;
33173 /* Python-specific SWIG API */
33174 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33175 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33176 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33178 /* -----------------------------------------------------------------------------
33179 * global variable support code.
33180 * ----------------------------------------------------------------------------- */
33182 typedef struct swig_globalvar
{
33183 char *name
; /* Name of global variable */
33184 PyObject
*(*get_attr
)(void); /* Return the current value */
33185 int (*set_attr
)(PyObject
*); /* Set the value */
33186 struct swig_globalvar
*next
;
33189 typedef struct swig_varlinkobject
{
33191 swig_globalvar
*vars
;
33192 } swig_varlinkobject
;
33194 SWIGINTERN PyObject
*
33195 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33196 return PyString_FromString("<Swig global variables>");
33199 SWIGINTERN PyObject
*
33200 swig_varlink_str(swig_varlinkobject
*v
) {
33201 PyObject
*str
= PyString_FromString("(");
33202 swig_globalvar
*var
;
33203 for (var
= v
->vars
; var
; var
=var
->next
) {
33204 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33205 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33207 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33212 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33213 PyObject
*str
= swig_varlink_str(v
);
33214 fprintf(fp
,"Swig global variables ");
33215 fprintf(fp
,"%s\n", PyString_AsString(str
));
33221 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33222 swig_globalvar
*var
= v
->vars
;
33224 swig_globalvar
*n
= var
->next
;
33231 SWIGINTERN PyObject
*
33232 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33233 PyObject
*res
= NULL
;
33234 swig_globalvar
*var
= v
->vars
;
33236 if (strcmp(var
->name
,n
) == 0) {
33237 res
= (*var
->get_attr
)();
33242 if (res
== NULL
&& !PyErr_Occurred()) {
33243 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33249 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33251 swig_globalvar
*var
= v
->vars
;
33253 if (strcmp(var
->name
,n
) == 0) {
33254 res
= (*var
->set_attr
)(p
);
33259 if (res
== 1 && !PyErr_Occurred()) {
33260 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33265 SWIGINTERN PyTypeObject
*
33266 swig_varlink_type(void) {
33267 static char varlink__doc__
[] = "Swig var link object";
33268 static PyTypeObject varlink_type
;
33269 static int type_init
= 0;
33271 const PyTypeObject tmp
33273 PyObject_HEAD_INIT(NULL
)
33274 0, /* Number of items in variable part (ob_size) */
33275 (char *)"swigvarlink", /* Type name (tp_name) */
33276 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33277 0, /* Itemsize (tp_itemsize) */
33278 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33279 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33280 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33281 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33282 0, /* tp_compare */
33283 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33284 0, /* tp_as_number */
33285 0, /* tp_as_sequence */
33286 0, /* tp_as_mapping */
33289 (reprfunc
)swig_varlink_str
, /* tp_str */
33290 0, /* tp_getattro */
33291 0, /* tp_setattro */
33292 0, /* tp_as_buffer */
33294 varlink__doc__
, /* tp_doc */
33295 0, /* tp_traverse */
33297 0, /* tp_richcompare */
33298 0, /* tp_weaklistoffset */
33299 #if PY_VERSION_HEX >= 0x02020000
33300 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33302 #if PY_VERSION_HEX >= 0x02030000
33305 #ifdef COUNT_ALLOCS
33306 0,0,0,0 /* tp_alloc -> tp_next */
33309 varlink_type
= tmp
;
33310 varlink_type
.ob_type
= &PyType_Type
;
33313 return &varlink_type
;
33316 /* Create a variable linking object for use later */
33317 SWIGINTERN PyObject
*
33318 SWIG_Python_newvarlink(void) {
33319 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33323 return ((PyObject
*) result
);
33327 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33328 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33329 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33331 size_t size
= strlen(name
)+1;
33332 gv
->name
= (char *)malloc(size
);
33334 strncpy(gv
->name
,name
,size
);
33335 gv
->get_attr
= get_attr
;
33336 gv
->set_attr
= set_attr
;
33337 gv
->next
= v
->vars
;
33343 SWIGINTERN PyObject
*
33345 static PyObject
*_SWIG_globals
= 0;
33346 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33347 return _SWIG_globals
;
33350 /* -----------------------------------------------------------------------------
33351 * constants/methods manipulation
33352 * ----------------------------------------------------------------------------- */
33354 /* Install Constants */
33356 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33359 for (i
= 0; constants
[i
].type
; ++i
) {
33360 switch(constants
[i
].type
) {
33361 case SWIG_PY_POINTER
:
33362 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33364 case SWIG_PY_BINARY
:
33365 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33372 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33378 /* -----------------------------------------------------------------------------*/
33379 /* Fix SwigMethods to carry the callback ptrs when needed */
33380 /* -----------------------------------------------------------------------------*/
33383 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33384 swig_const_info
*const_table
,
33385 swig_type_info
**types
,
33386 swig_type_info
**types_initial
) {
33388 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33389 char *c
= methods
[i
].ml_doc
;
33390 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33392 swig_const_info
*ci
= 0;
33393 char *name
= c
+ 10;
33394 for (j
= 0; const_table
[j
].type
; ++j
) {
33395 if (strncmp(const_table
[j
].name
, name
,
33396 strlen(const_table
[j
].name
)) == 0) {
33397 ci
= &(const_table
[j
]);
33402 size_t shift
= (ci
->ptype
) - types
;
33403 swig_type_info
*ty
= types_initial
[shift
];
33404 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33405 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33406 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33409 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33411 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33413 strncpy(buff
, "swig_ptr: ", 10);
33415 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33416 methods
[i
].ml_doc
= ndoc
;
33428 /* -----------------------------------------------------------------------------*
33429 * Partial Init method
33430 * -----------------------------------------------------------------------------*/
33435 SWIGEXPORT
void SWIG_init(void) {
33438 /* Fix SwigMethods to carry the callback ptrs when needed */
33439 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33441 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33442 d
= PyModule_GetDict(m
);
33444 SWIG_InitializeModule(0);
33445 SWIG_InstallConstants(d
,swig_const_table
);
33448 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33449 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33450 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33451 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33452 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33453 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33454 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33455 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33456 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33457 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33458 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33459 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33460 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33461 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33462 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33463 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33464 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33465 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33466 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33467 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33468 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33469 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33470 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33471 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33472 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33473 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33474 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33475 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33476 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33477 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33478 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33479 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33480 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33481 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33482 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33483 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33484 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33485 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33486 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33487 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33488 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33489 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33490 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33491 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33492 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33493 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33494 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33495 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33496 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33497 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33498 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33499 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33500 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33501 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33502 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33503 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33504 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33505 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33506 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33507 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33508 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33509 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33510 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33511 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33512 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33513 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33514 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33515 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33516 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33517 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33518 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33519 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33520 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33521 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33522 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33523 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33524 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33525 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33526 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33527 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33528 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33529 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33530 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33531 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33532 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33533 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33534 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33535 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33536 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33537 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33538 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33539 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33540 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33541 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33542 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33543 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33544 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33545 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33546 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33547 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33548 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33549 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33551 // Map renamed classes back to their common name for OOR
33552 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33553 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33554 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33556 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33557 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33558 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33559 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33560 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33561 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33562 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33563 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33564 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33565 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33566 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33567 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33568 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33569 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33570 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33571 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33572 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33573 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33574 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33575 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33576 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33577 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33578 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33579 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33580 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33581 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33582 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33583 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33584 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33585 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33586 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33587 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33588 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33589 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33590 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33591 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33592 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33593 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33594 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33595 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33596 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33597 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33598 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33599 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33600 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33601 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33602 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33603 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33604 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33605 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33606 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33607 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33608 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33609 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33610 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33611 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33612 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33613 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33614 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33615 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33616 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33617 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33618 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33619 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33620 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33621 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33622 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33623 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33624 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33625 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33626 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33627 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33628 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33629 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33630 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33631 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33632 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33633 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33635 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");