1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2824 int style
= self
->GetExtraStyle();
2826 style
|= wxFRAME_EX_METAL
;
2828 style
&= ~wxFRAME_EX_METAL
;
2829 self
->SetExtraStyle(style
);
2831 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2834 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2837 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2838 return SWIG_TypeError
;
2841 *val
= (unsigned long)v
;
2847 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2850 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2851 if (SWIG_IsOK(res
)) {
2852 if ((v
> UCHAR_MAX
)) {
2853 return SWIG_OverflowError
;
2855 if (val
) *val
= static_cast< unsigned char >(v
);
2863 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2865 self
->GetFieldRect(i
, r
);
2868 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2869 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2870 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2872 #include <wx/popupwin.h>
2875 class wxPopupWindow
: public wxWindow
{
2877 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2878 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2881 class wxPyPopupTransientWindow
: public wxPopupWindow
2884 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2885 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2889 #include <wx/tipwin.h>
2891 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2892 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2895 #include <wx/tipwin.h>
2898 #include <wx/vscroll.h>
2901 class wxPyVScrolledWindow
: public wxVScrolledWindow
2903 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2905 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2907 wxPyVScrolledWindow(wxWindow
*parent
,
2908 wxWindowID id
= wxID_ANY
,
2909 const wxPoint
& pos
= wxDefaultPosition
,
2910 const wxSize
& size
= wxDefaultSize
,
2912 const wxString
& name
= wxPyPanelNameStr
)
2913 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2916 // Overridable virtuals
2918 // this function must be overridden in the derived class and it should
2919 // return the height of the given line in pixels
2920 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2923 // this function doesn't have to be overridden but it may be useful to do
2924 // it if calculating the lines heights is a relatively expensive operation
2925 // as it gives the user code a possibility to calculate several of them at
2928 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2929 // shouldn't rely on the latter being called for all lines in the interval
2930 // specified here. It is also possible that OnGetLineHeight() will be
2931 // called for the lines outside of this interval, so this is really just a
2932 // hint, not a promise.
2934 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2936 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2939 // when the number of lines changes, we try to estimate the total height
2940 // of all lines which is a rather expensive operation in terms of lines
2941 // access, so if the user code may estimate the average height
2942 // better/faster than we do, it should override this function to implement
2945 // this function should return the best guess for the total height it may
2947 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2950 // Also expose some other interesting protected methods
2953 // find the index of the line we need to show at the top of the window such
2954 // that the last (fully or partially) visible line is the given one
2955 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2956 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2958 // get the total height of the lines between lineMin (inclusive) and
2959 // lineMax (exclusive)
2960 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2961 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2963 // update the thumb size shown by the scrollbar
2964 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2966 // remove the scrollbar completely because we don't need it
2967 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2972 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2974 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2975 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2976 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2979 SWIGINTERNINLINE
int
2980 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2983 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2984 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2989 SWIGINTERNINLINE PyObject
*
2990 SWIG_From_unsigned_SS_long (unsigned long value
)
2992 return (value
> LONG_MAX
) ?
2993 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2997 SWIGINTERNINLINE PyObject
*
2998 SWIG_From_size_t (size_t value
)
3000 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3004 #include <wx/vlbox.h>
3006 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3008 class wxPyVListBox
: public wxVListBox
3010 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3012 wxPyVListBox() : wxVListBox() {}
3014 wxPyVListBox(wxWindow
*parent
,
3015 wxWindowID id
= wxID_ANY
,
3016 const wxPoint
& pos
= wxDefaultPosition
,
3017 const wxSize
& size
= wxDefaultSize
,
3019 const wxString
& name
= wxPyVListBoxNameStr
)
3020 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3023 // Overridable virtuals
3025 // the derived class must implement this function to actually draw the item
3026 // with the given index on the provided DC
3027 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3028 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3031 // the derived class must implement this method to return the height of the
3033 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3034 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3037 // this method may be used to draw separators between the lines; note that
3038 // the rectangle may be modified, typically to deflate it a bit before
3039 // passing to OnDrawItem()
3041 // the base class version doesn't do anything
3042 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3046 // this method is used to draw the items background and, maybe, a border
3049 // the base class version implements a reasonable default behaviour which
3050 // consists in drawing the selected item with the standard background
3051 // colour and drawing a border around the item if it is either selected or
3053 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3054 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3060 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3062 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3063 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3064 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3065 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3068 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3069 unsigned long cookie
= 0;
3070 int selected
= self
->GetFirstSelected(cookie
);
3071 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3072 PyObject
* tup
= PyTuple_New(2);
3073 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3074 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3075 wxPyEndBlockThreads(blocked
);
3078 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3079 int selected
= self
->GetNextSelected(cookie
);
3080 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3081 PyObject
* tup
= PyTuple_New(2);
3082 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3083 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3084 wxPyEndBlockThreads(blocked
);
3088 #include <wx/htmllbox.h>
3091 class wxPyHtmlListBox
: public wxHtmlListBox
3093 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3095 wxPyHtmlListBox() : wxHtmlListBox() {}
3097 wxPyHtmlListBox(wxWindow
*parent
,
3098 wxWindowID id
= wxID_ANY
,
3099 const wxPoint
& pos
= wxDefaultPosition
,
3100 const wxSize
& size
= wxDefaultSize
,
3102 const wxString
& name
= wxPyVListBoxNameStr
)
3103 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3106 // Overridable virtuals
3108 // this method must be implemented in the derived class and should return
3109 // the body (i.e. without <html>) of the HTML for the given item
3110 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3112 // this function may be overridden to decorate HTML returned by OnGetItem()
3113 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3115 // These are from wxVListBox
3116 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3117 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3120 // // this method allows to customize the selection appearance: it may be used
3121 // // to specify the colour of the text which normally has the given colour
3122 // // colFg when it is inside the selection
3124 // // by default, the original colour is not used at all and all text has the
3125 // // same (default for this system) colour inside selection
3126 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3128 // // this is the same as GetSelectedTextColour() but allows to customize the
3129 // // background colour -- this is even more rarely used as you can change it
3130 // // globally using SetSelectionBackground()
3131 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3134 // This method may be overriden to handle clicking on a link in
3135 // the listbox. By default, clicking links is ignored.
3136 virtual void OnLinkClicked(size_t n
,
3137 const wxHtmlLinkInfo
& link
);
3143 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3145 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3146 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3147 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3148 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3151 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3152 const wxHtmlLinkInfo
& link
) {
3154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3155 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3156 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3157 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3160 wxPyEndBlockThreads(blocked
);
3162 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3169 #ifndef wxHAS_TASK_BAR_ICON
3170 // implement dummy classes for platforms that don't have it
3172 class wxTaskBarIcon
: public wxEvtHandler
3175 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3179 class wxTaskBarIconEvent
: public wxEvent
3182 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3183 { wxPyRaiseNotImplemented(); }
3184 virtual wxEvent
* Clone() const { return NULL
; }
3185 bool IsOk() const { return false; }
3186 bool IsIconInstalled() const { return false; }
3187 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3188 bool RemoveIcon() { return false; }
3189 bool PopupMenu(wxMenu
*menu
) { return false; }
3193 wxEVT_TASKBAR_MOVE
= 0,
3194 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3195 wxEVT_TASKBAR_LEFT_UP
= 0,
3196 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3197 wxEVT_TASKBAR_RIGHT_UP
= 0,
3198 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3199 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3204 // Otherwise make a class that can virtualize CreatePopupMenu
3205 class wxPyTaskBarIcon
: public wxTaskBarIcon
3207 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3209 wxPyTaskBarIcon() : wxTaskBarIcon()
3212 wxMenu
* CreatePopupMenu() {
3213 wxMenu
*rval
= NULL
;
3215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3216 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3219 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3221 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3226 wxPyEndBlockThreads(blocked
);
3228 rval
= wxTaskBarIcon::CreatePopupMenu();
3235 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3239 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3243 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3244 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3245 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3246 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3247 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3248 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3250 // for compatibility only
3251 #define wxHIDE_READONLY 0
3253 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3255 self
->GetFilenames(arr
);
3256 return wxArrayString2PyList_helper(arr
);
3258 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3260 self
->GetPaths(arr
);
3261 return wxArrayString2PyList_helper(arr
);
3263 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3264 return wxArrayInt2PyList_helper(self
->GetSelections());
3266 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
){
3267 return new wxSingleChoiceDialog(parent
, message
, caption
,
3268 choices
, choices_array
, NULL
, style
, pos
);
3270 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3272 SWIGINTERNINLINE PyObject
*
3273 SWIG_From_bool (bool value
)
3275 return PyBool_FromLong(value
? 1 : 0);
3281 // C++ version of Python aware wxWindow
3282 class wxPyWindow
: public wxWindow
3284 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3286 wxPyWindow() : wxWindow() {}
3287 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3288 const wxPoint
& pos
= wxDefaultPosition
,
3289 const wxSize
& size
= wxDefaultSize
,
3291 const wxString
& name
= wxPyPanelNameStr
)
3292 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3294 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3296 bool DoEraseBackground(wxDC
* dc
) {
3298 return wxWindow::DoEraseBackground(dc
->GetHDC());
3300 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3306 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3307 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3308 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3309 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3312 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3313 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3315 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3316 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3318 DEC_PYCALLBACK__(InitDialog
);
3319 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3320 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3321 DEC_PYCALLBACK_BOOL_(Validate
);
3323 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3324 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3325 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3327 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3328 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3330 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3331 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3333 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3335 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3340 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3342 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3343 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3344 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3345 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3348 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3349 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3351 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3352 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3354 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3356 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3357 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3360 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3361 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3363 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3364 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3366 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3367 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3369 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3371 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3373 // C++ version of Python aware wxPanel
3374 class wxPyPanel
: public wxPanel
3376 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3378 wxPyPanel() : wxPanel() {}
3379 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3380 const wxPoint
& pos
= wxDefaultPosition
,
3381 const wxSize
& size
= wxDefaultSize
,
3383 const wxString
& name
= wxPyPanelNameStr
)
3384 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3386 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3387 bool DoEraseBackground(wxDC
* dc
) {
3389 return wxWindow::DoEraseBackground(dc
->GetHDC());
3391 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3398 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3399 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3400 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3401 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3404 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3405 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3407 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3408 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3410 DEC_PYCALLBACK__(InitDialog
);
3411 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3412 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3413 DEC_PYCALLBACK_BOOL_(Validate
);
3415 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3416 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3417 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3419 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3420 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3422 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3423 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3425 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3427 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3432 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3434 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3435 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3436 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3437 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3440 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3441 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3443 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3444 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3446 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3448 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3449 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3452 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3453 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3455 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3456 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3458 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3459 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3461 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3463 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3465 // C++ version of Python aware wxScrolledWindow
3466 class wxPyScrolledWindow
: public wxScrolledWindow
3468 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3470 wxPyScrolledWindow() : wxScrolledWindow() {}
3471 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3472 const wxPoint
& pos
= wxDefaultPosition
,
3473 const wxSize
& size
= wxDefaultSize
,
3475 const wxString
& name
= wxPyPanelNameStr
)
3476 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3478 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3479 bool DoEraseBackground(wxDC
* dc
) {
3481 return wxWindow::DoEraseBackground(dc
->GetHDC());
3483 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3489 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3490 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3491 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3492 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3495 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3496 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3498 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3499 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3501 DEC_PYCALLBACK__(InitDialog
);
3502 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3503 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3504 DEC_PYCALLBACK_BOOL_(Validate
);
3506 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3507 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3508 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3510 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3511 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3513 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3514 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3516 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3518 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3523 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3525 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3526 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3527 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3528 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3531 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3532 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3535 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3537 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3539 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3540 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3542 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3543 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3544 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3546 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3547 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3549 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3550 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3552 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3554 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3557 #include "wx/wxPython/printfw.h"
3560 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3561 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3562 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3564 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3565 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3566 self
->GetPrivDataLen());
3567 wxPyEndBlockThreads(blocked
);
3570 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3571 if (! PyString_Check(data
)) {
3572 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3573 "Expected string object"));
3577 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3578 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3579 wxPyEndBlockThreads(blocked
);
3583 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3585 // Since this one would be tough and ugly to do with the Macros...
3586 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3587 bool hadErr
= false;
3590 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3591 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3592 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3593 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3596 val
= PyTuple_GetItem(result
, 0);
3597 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3600 val
= PyTuple_GetItem(result
, 1);
3601 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3604 val
= PyTuple_GetItem(result
, 2);
3605 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3608 val
= PyTuple_GetItem(result
, 3);
3609 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3616 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3621 wxPyEndBlockThreads(blocked
);
3623 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3628 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3630 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3631 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3632 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3633 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3634 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3640 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3641 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3644 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3645 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3648 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3649 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3650 PyObject* win = wxPyMake_wxObject(a,false); \
3651 PyObject* dc = wxPyMake_wxObject(&b,false); \
3652 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3656 wxPyEndBlockThreads(blocked); \
3658 rval = PCLASS::CBNAME(a, b); \
3665 class wxPyPrintPreview
: public wxPrintPreview
3667 DECLARE_CLASS(wxPyPrintPreview
)
3669 wxPyPrintPreview(wxPyPrintout
* printout
,
3670 wxPyPrintout
* printoutForPrinting
,
3671 wxPrintDialogData
* data
=NULL
)
3672 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3674 wxPyPrintPreview(wxPyPrintout
* printout
,
3675 wxPyPrintout
* printoutForPrinting
,
3677 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3680 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3681 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3682 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3683 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3684 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3685 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3686 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3691 // Stupid renamed classes... Fix this in 2.5...
3692 #if defined(__WXMSW__)
3693 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3694 #elif defined(__WXMAC__)
3695 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3697 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3700 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3701 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3702 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3703 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3704 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3705 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3706 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3709 class wxPyPreviewFrame
: public wxPreviewFrame
3711 DECLARE_CLASS(wxPyPreviewFrame
)
3713 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3714 const wxString
& title
,
3715 const wxPoint
& pos
= wxDefaultPosition
,
3716 const wxSize
& size
= wxDefaultSize
,
3717 long style
= wxDEFAULT_FRAME_STYLE
,
3718 const wxString
& name
= wxPyFrameNameStr
)
3719 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3722 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3723 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3725 DEC_PYCALLBACK_VOID_(Initialize
);
3726 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3727 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3732 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3736 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3739 class wxPyPreviewControlBar
: public wxPreviewControlBar
3741 DECLARE_CLASS(wxPyPreviewControlBar
)
3743 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3746 const wxPoint
& pos
= wxDefaultPosition
,
3747 const wxSize
& size
= wxDefaultSize
,
3749 const wxString
& name
= wxPyPanelNameStr
)
3750 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3753 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3755 DEC_PYCALLBACK_VOID_(CreateButtons
);
3756 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3761 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3762 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3763 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3768 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) (int)-1 ;
3772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3774 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3775 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3776 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3777 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3778 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3779 wxPanel
*result
= 0 ;
3788 bool temp6
= false ;
3789 PyObject
* obj0
= 0 ;
3790 PyObject
* obj1
= 0 ;
3791 PyObject
* obj2
= 0 ;
3792 PyObject
* obj3
= 0 ;
3793 PyObject
* obj4
= 0 ;
3794 PyObject
* obj5
= 0 ;
3795 char * kwnames
[] = {
3796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3801 if (!SWIG_IsOK(res1
)) {
3802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3807 if (!SWIG_IsOK(ecode2
)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3810 arg2
= static_cast< int >(val2
);
3815 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3821 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3825 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3826 if (!SWIG_IsOK(ecode5
)) {
3827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3829 arg5
= static_cast< long >(val5
);
3833 arg6
= wxString_in_helper(obj5
);
3834 if (arg6
== NULL
) SWIG_fail
;
3839 if (!wxPyCheckForApp()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3860 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3861 PyObject
*resultobj
= 0;
3862 wxPanel
*result
= 0 ;
3864 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3866 if (!wxPyCheckForApp()) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (wxPanel
*)new wxPanel();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3879 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
= 0;
3881 wxPanel
*arg1
= (wxPanel
*) 0 ;
3882 wxWindow
*arg2
= (wxWindow
*) 0 ;
3883 int arg3
= (int) (int)-1 ;
3884 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3885 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3886 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3887 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3888 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3889 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3890 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3902 bool temp7
= false ;
3903 PyObject
* obj0
= 0 ;
3904 PyObject
* obj1
= 0 ;
3905 PyObject
* obj2
= 0 ;
3906 PyObject
* obj3
= 0 ;
3907 PyObject
* obj4
= 0 ;
3908 PyObject
* obj5
= 0 ;
3909 PyObject
* obj6
= 0 ;
3910 char * kwnames
[] = {
3911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3916 if (!SWIG_IsOK(res1
)) {
3917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3919 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3921 if (!SWIG_IsOK(res2
)) {
3922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3927 if (!SWIG_IsOK(ecode3
)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3930 arg3
= static_cast< int >(val3
);
3935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3945 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3946 if (!SWIG_IsOK(ecode6
)) {
3947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3949 arg6
= static_cast< long >(val6
);
3953 arg7
= wxString_in_helper(obj6
);
3954 if (arg7
== NULL
) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3981 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3982 PyObject
*resultobj
= 0;
3983 wxPanel
*arg1
= (wxPanel
*) 0 ;
3986 PyObject
*swig_obj
[1] ;
3988 if (!args
) SWIG_fail
;
3990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3991 if (!SWIG_IsOK(res1
)) {
3992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3994 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 (arg1
)->SetFocusIgnoringChildren();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= SWIG_Py_Void();
4008 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
= 0;
4010 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4011 SwigValueWrapper
<wxVisualAttributes
> result
;
4014 PyObject
* obj0
= 0 ;
4015 char * kwnames
[] = {
4016 (char *) "variant", NULL
4019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4021 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4022 if (!SWIG_IsOK(ecode1
)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4025 arg1
= static_cast< wxWindowVariant
>(val1
);
4028 if (!wxPyCheckForApp()) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4041 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4045 return SWIG_Py_Void();
4048 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4049 return SWIG_Python_InitShadowInstance(args
);
4052 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
= 0;
4054 wxWindow
*arg1
= (wxWindow
*) 0 ;
4055 int arg2
= (int) (int)-1 ;
4056 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4057 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4058 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4059 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4060 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4061 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4062 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4063 wxScrolledWindow
*result
= 0 ;
4072 bool temp6
= false ;
4073 PyObject
* obj0
= 0 ;
4074 PyObject
* obj1
= 0 ;
4075 PyObject
* obj2
= 0 ;
4076 PyObject
* obj3
= 0 ;
4077 PyObject
* obj4
= 0 ;
4078 PyObject
* obj5
= 0 ;
4079 char * kwnames
[] = {
4080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4085 if (!SWIG_IsOK(res1
)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4091 if (!SWIG_IsOK(ecode2
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4094 arg2
= static_cast< int >(val2
);
4099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4105 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4109 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4110 if (!SWIG_IsOK(ecode5
)) {
4111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4113 arg5
= static_cast< long >(val5
);
4117 arg6
= wxString_in_helper(obj5
);
4118 if (arg6
== NULL
) SWIG_fail
;
4123 if (!wxPyCheckForApp()) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4144 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4145 PyObject
*resultobj
= 0;
4146 wxScrolledWindow
*result
= 0 ;
4148 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4150 if (!wxPyCheckForApp()) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4163 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
= 0;
4165 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4166 wxWindow
*arg2
= (wxWindow
*) 0 ;
4167 int arg3
= (int) (int)-1 ;
4168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4172 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4173 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4186 bool temp7
= false ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4189 PyObject
* obj2
= 0 ;
4190 PyObject
* obj3
= 0 ;
4191 PyObject
* obj4
= 0 ;
4192 PyObject
* obj5
= 0 ;
4193 PyObject
* obj6
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4200 if (!SWIG_IsOK(res1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4203 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4205 if (!SWIG_IsOK(res2
)) {
4206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4211 if (!SWIG_IsOK(ecode3
)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4214 arg3
= static_cast< int >(val3
);
4219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4229 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4230 if (!SWIG_IsOK(ecode6
)) {
4231 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4233 arg6
= static_cast< long >(val6
);
4237 arg7
= wxString_in_helper(obj6
);
4238 if (arg7
== NULL
) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4265 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
= 0;
4267 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4272 int arg6
= (int) 0 ;
4273 int arg7
= (int) 0 ;
4274 bool arg8
= (bool) false ;
4291 PyObject
* obj0
= 0 ;
4292 PyObject
* obj1
= 0 ;
4293 PyObject
* obj2
= 0 ;
4294 PyObject
* obj3
= 0 ;
4295 PyObject
* obj4
= 0 ;
4296 PyObject
* obj5
= 0 ;
4297 PyObject
* obj6
= 0 ;
4298 PyObject
* obj7
= 0 ;
4299 char * kwnames
[] = {
4300 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4308 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4310 if (!SWIG_IsOK(ecode2
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4313 arg2
= static_cast< int >(val2
);
4314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4315 if (!SWIG_IsOK(ecode3
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4318 arg3
= static_cast< int >(val3
);
4319 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4320 if (!SWIG_IsOK(ecode4
)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4323 arg4
= static_cast< int >(val4
);
4324 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4325 if (!SWIG_IsOK(ecode5
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4328 arg5
= static_cast< int >(val5
);
4330 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4331 if (!SWIG_IsOK(ecode6
)) {
4332 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4334 arg6
= static_cast< int >(val6
);
4337 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4338 if (!SWIG_IsOK(ecode7
)) {
4339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4341 arg7
= static_cast< int >(val7
);
4344 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4345 if (!SWIG_IsOK(ecode8
)) {
4346 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4348 arg8
= static_cast< bool >(val8
);
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_Py_Void();
4363 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
= 0;
4365 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4376 PyObject
* obj2
= 0 ;
4377 char * kwnames
[] = {
4378 (char *) "self",(char *) "x",(char *) "y", NULL
4381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4383 if (!SWIG_IsOK(res1
)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4386 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4388 if (!SWIG_IsOK(ecode2
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4391 arg2
= static_cast< int >(val2
);
4392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4393 if (!SWIG_IsOK(ecode3
)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4396 arg3
= static_cast< int >(val3
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 (arg1
)->Scroll(arg2
,arg3
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_Py_Void();
4410 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
= 0;
4412 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 char * kwnames
[] = {
4422 (char *) "self",(char *) "orient", NULL
4425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) 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_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
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_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4435 arg2
= static_cast< int >(val2
);
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= SWIG_From_int(static_cast< int >(result
));
4449 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
= 0;
4451 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4462 PyObject
* obj2
= 0 ;
4463 char * kwnames
[] = {
4464 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4469 if (!SWIG_IsOK(res1
)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4472 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4474 if (!SWIG_IsOK(ecode2
)) {
4475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4477 arg2
= static_cast< int >(val2
);
4478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4479 if (!SWIG_IsOK(ecode3
)) {
4480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4482 arg3
= static_cast< int >(val3
);
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 resultobj
= SWIG_Py_Void();
4496 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
= 0;
4498 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 PyObject
* obj2
= 0 ;
4510 char * kwnames
[] = {
4511 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4516 if (!SWIG_IsOK(res1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4519 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4521 if (!SWIG_IsOK(ecode2
)) {
4522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4524 arg2
= static_cast< int >(val2
);
4525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4526 if (!SWIG_IsOK(ecode3
)) {
4527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4529 arg3
= static_cast< int >(val3
);
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 (arg1
)->SetScrollRate(arg2
,arg3
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_Py_Void();
4543 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4544 PyObject
*resultobj
= 0;
4545 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4546 int *arg2
= (int *) 0 ;
4547 int *arg3
= (int *) 0 ;
4551 int res2
= SWIG_TMPOBJ
;
4553 int res3
= SWIG_TMPOBJ
;
4554 PyObject
*swig_obj
[1] ;
4558 if (!args
) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4564 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 resultobj
= SWIG_Py_Void();
4572 if (SWIG_IsTmpObj(res2
)) {
4573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4575 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4578 if (SWIG_IsTmpObj(res3
)) {
4579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4581 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4590 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
= 0;
4592 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4603 PyObject
* obj2
= 0 ;
4604 char * kwnames
[] = {
4605 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4610 if (!SWIG_IsOK(res1
)) {
4611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4613 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4614 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4615 if (!SWIG_IsOK(ecode2
)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4618 arg2
= static_cast< bool >(val2
);
4619 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4620 if (!SWIG_IsOK(ecode3
)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4623 arg3
= static_cast< bool >(val3
);
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 (arg1
)->EnableScrolling(arg2
,arg3
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_Py_Void();
4637 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4638 PyObject
*resultobj
= 0;
4639 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4640 int *arg2
= (int *) 0 ;
4641 int *arg3
= (int *) 0 ;
4645 int res2
= SWIG_TMPOBJ
;
4647 int res3
= SWIG_TMPOBJ
;
4648 PyObject
*swig_obj
[1] ;
4652 if (!args
) SWIG_fail
;
4654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4655 if (!SWIG_IsOK(res1
)) {
4656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4658 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_Py_Void();
4666 if (SWIG_IsTmpObj(res2
)) {
4667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4669 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4672 if (SWIG_IsTmpObj(res3
)) {
4673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4675 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4684 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
= 0;
4686 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4698 char * kwnames
[] = {
4699 (char *) "self",(char *) "xs",(char *) "ys", NULL
4702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4704 if (!SWIG_IsOK(res1
)) {
4705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4707 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4708 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4709 if (!SWIG_IsOK(ecode2
)) {
4710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4712 arg2
= static_cast< double >(val2
);
4713 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4714 if (!SWIG_IsOK(ecode3
)) {
4715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4717 arg3
= static_cast< double >(val3
);
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 (arg1
)->SetScale(arg2
,arg3
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_Py_Void();
4731 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4745 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_From_double(static_cast< double >(result
));
4759 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4760 PyObject
*resultobj
= 0;
4761 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4765 PyObject
*swig_obj
[1] ;
4767 if (!args
) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4773 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= SWIG_From_double(static_cast< double >(result
));
4787 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4788 PyObject
*resultobj
= 0;
4789 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4796 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4798 if (!SWIG_IsOK(res1
)) {
4799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4801 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4804 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4819 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4820 PyObject
*resultobj
= 0;
4821 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4824 int *arg4
= (int *) 0 ;
4825 int *arg5
= (int *) 0 ;
4833 int res4
= SWIG_TMPOBJ
;
4835 int res5
= SWIG_TMPOBJ
;
4839 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4844 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4845 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4846 if (!SWIG_IsOK(ecode2
)) {
4847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4849 arg2
= static_cast< int >(val2
);
4850 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4851 if (!SWIG_IsOK(ecode3
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4854 arg3
= static_cast< int >(val3
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_Py_Void();
4862 if (SWIG_IsTmpObj(res4
)) {
4863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4865 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4868 if (SWIG_IsTmpObj(res5
)) {
4869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4871 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4880 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4884 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4887 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4890 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4894 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4899 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4900 PyObject
*resultobj
= 0;
4901 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4908 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4913 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4916 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4931 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4932 PyObject
*resultobj
= 0;
4933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4936 int *arg4
= (int *) 0 ;
4937 int *arg5
= (int *) 0 ;
4945 int res4
= SWIG_TMPOBJ
;
4947 int res5
= SWIG_TMPOBJ
;
4951 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4953 if (!SWIG_IsOK(res1
)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4956 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4957 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4958 if (!SWIG_IsOK(ecode2
)) {
4959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4961 arg2
= static_cast< int >(val2
);
4962 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4963 if (!SWIG_IsOK(ecode3
)) {
4964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4966 arg3
= static_cast< int >(val3
);
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_Py_Void();
4974 if (SWIG_IsTmpObj(res4
)) {
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4977 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4980 if (SWIG_IsTmpObj(res5
)) {
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4983 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4992 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4996 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4999 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5002 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5006 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5011 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5012 PyObject
*resultobj
= 0;
5013 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5016 PyObject
*swig_obj
[1] ;
5018 if (!args
) SWIG_fail
;
5020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5021 if (!SWIG_IsOK(res1
)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5024 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->AdjustScrollbars();
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_Py_Void();
5038 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
= 0;
5040 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5041 wxScrollWinEvent
*arg2
= 0 ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5049 char * kwnames
[] = {
5050 (char *) "self",(char *) "event", NULL
5053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5055 if (!SWIG_IsOK(res1
)) {
5056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5058 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5060 if (!SWIG_IsOK(res2
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5066 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_From_int(static_cast< int >(result
));
5080 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
= 0;
5082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5083 wxWindow
*arg2
= (wxWindow
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5090 char * kwnames
[] = {
5091 (char *) "self",(char *) "target", NULL
5094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5096 if (!SWIG_IsOK(res1
)) {
5097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5099 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5101 if (!SWIG_IsOK(res2
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5104 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 (arg1
)->SetTargetWindow(arg2
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_Py_Void();
5118 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 PyObject
*resultobj
= 0;
5120 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5121 wxWindow
*result
= 0 ;
5124 PyObject
*swig_obj
[1] ;
5126 if (!args
) SWIG_fail
;
5128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5129 if (!SWIG_IsOK(res1
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5132 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= wxPyMake_wxObject(result
, 0);
5148 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
= 0;
5150 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 char * kwnames
[] = {
5158 (char *) "self",(char *) "rect", NULL
5161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5166 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5169 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_Py_Void();
5184 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5185 PyObject
*resultobj
= 0;
5186 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5190 PyObject
*swig_obj
[1] ;
5192 if (!args
) SWIG_fail
;
5194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5195 if (!SWIG_IsOK(res1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5198 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5212 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
= 0;
5214 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5222 char * kwnames
[] = {
5223 (char *) "self",(char *) "dc", NULL
5226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5231 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5233 if (!SWIG_IsOK(res2
)) {
5234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5239 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->DoPrepareDC(*arg2
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_Py_Void();
5253 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
= 0;
5255 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5256 SwigValueWrapper
<wxVisualAttributes
> result
;
5259 PyObject
* obj0
= 0 ;
5260 char * kwnames
[] = {
5261 (char *) "variant", NULL
5264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5266 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5267 if (!SWIG_IsOK(ecode1
)) {
5268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5270 arg1
= static_cast< wxWindowVariant
>(val1
);
5273 if (!wxPyCheckForApp()) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5286 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5289 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5290 return SWIG_Py_Void();
5293 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5294 return SWIG_Python_InitShadowInstance(args
);
5297 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5298 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5303 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5304 PyObject
*pyobj
= 0;
5308 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5310 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5317 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5318 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5323 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5324 PyObject
*pyobj
= 0;
5328 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5330 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5337 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5338 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5343 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5344 PyObject
*pyobj
= 0;
5348 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5350 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5357 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5358 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5363 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5364 PyObject
*pyobj
= 0;
5368 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5370 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5377 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
= 0;
5379 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5380 bool arg2
= (bool) true ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 char * kwnames
[] = {
5388 (char *) "self",(char *) "maximize", NULL
5391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5396 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5398 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5399 if (!SWIG_IsOK(ecode2
)) {
5400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5402 arg2
= static_cast< bool >(val2
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->Maximize(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5418 PyObject
*resultobj
= 0;
5419 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5422 PyObject
*swig_obj
[1] ;
5424 if (!args
) SWIG_fail
;
5426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5427 if (!SWIG_IsOK(res1
)) {
5428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5430 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_Py_Void();
5444 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
= 0;
5446 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5447 bool arg2
= (bool) true ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5454 char * kwnames
[] = {
5455 (char *) "self",(char *) "iconize", NULL
5458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5460 if (!SWIG_IsOK(res1
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5463 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5465 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5466 if (!SWIG_IsOK(ecode2
)) {
5467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5469 arg2
= static_cast< bool >(val2
);
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 (arg1
)->Iconize(arg2
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= SWIG_Py_Void();
5484 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5485 PyObject
*resultobj
= 0;
5486 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5490 PyObject
*swig_obj
[1] ;
5492 if (!args
) SWIG_fail
;
5494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5495 if (!SWIG_IsOK(res1
)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5498 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5514 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5515 PyObject
*resultobj
= 0;
5516 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5520 PyObject
*swig_obj
[1] ;
5522 if (!args
) SWIG_fail
;
5524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5525 if (!SWIG_IsOK(res1
)) {
5526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5528 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5544 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5545 PyObject
*resultobj
= 0;
5546 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5550 PyObject
*swig_obj
[1] ;
5552 if (!args
) SWIG_fail
;
5554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5555 if (!SWIG_IsOK(res1
)) {
5556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5558 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5574 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5575 PyObject
*resultobj
= 0;
5576 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5580 PyObject
*swig_obj
[1] ;
5582 if (!args
) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5588 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5602 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
= 0;
5604 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5612 char * kwnames
[] = {
5613 (char *) "self",(char *) "icon", NULL
5616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5618 if (!SWIG_IsOK(res1
)) {
5619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5621 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5623 if (!SWIG_IsOK(res2
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5629 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= SWIG_Py_Void();
5643 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
= 0;
5645 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5646 wxIconBundle
*arg2
= 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5653 char * kwnames
[] = {
5654 (char *) "self",(char *) "icons", NULL
5657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5659 if (!SWIG_IsOK(res1
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5662 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5664 if (!SWIG_IsOK(res2
)) {
5665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5670 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= SWIG_Py_Void();
5684 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
= 0;
5686 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5688 long arg3
= (long) wxFULLSCREEN_ALL
;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5698 PyObject
* obj2
= 0 ;
5699 char * kwnames
[] = {
5700 (char *) "self",(char *) "show",(char *) "style", NULL
5703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5705 if (!SWIG_IsOK(res1
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5708 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5709 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5710 if (!SWIG_IsOK(ecode2
)) {
5711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5713 arg2
= static_cast< bool >(val2
);
5715 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5716 if (!SWIG_IsOK(ecode3
)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5719 arg3
= static_cast< long >(val3
);
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5736 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5737 PyObject
*resultobj
= 0;
5738 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5742 PyObject
*swig_obj
[1] ;
5744 if (!args
) SWIG_fail
;
5746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5747 if (!SWIG_IsOK(res1
)) {
5748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5750 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5766 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
= 0;
5768 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5769 wxString
*arg2
= 0 ;
5772 bool temp2
= false ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 char * kwnames
[] = {
5776 (char *) "self",(char *) "title", NULL
5779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5784 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5786 arg2
= wxString_in_helper(obj1
);
5787 if (arg2
== NULL
) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->SetTitle((wxString
const &)*arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_Py_Void();
5811 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5812 PyObject
*resultobj
= 0;
5813 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5817 PyObject
*swig_obj
[1] ;
5819 if (!args
) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5825 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5845 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
= 0;
5847 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5848 wxRegion
*arg2
= 0 ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 char * kwnames
[] = {
5857 (char *) "self",(char *) "region", NULL
5860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5862 if (!SWIG_IsOK(res1
)) {
5863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5865 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5867 if (!SWIG_IsOK(res2
)) {
5868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5873 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5889 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
= 0;
5891 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5892 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5899 char * kwnames
[] = {
5900 (char *) "self",(char *) "flags", NULL
5903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5905 if (!SWIG_IsOK(res1
)) {
5906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5908 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5911 if (!SWIG_IsOK(ecode2
)) {
5912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5914 arg2
= static_cast< int >(val2
);
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 (arg1
)->RequestUserAttention(arg2
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_Py_Void();
5929 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5930 PyObject
*resultobj
= 0;
5931 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5935 PyObject
*swig_obj
[1] ;
5937 if (!args
) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5943 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (bool)(arg1
)->IsActive();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5959 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
= 0;
5961 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5969 char * kwnames
[] = {
5970 (char *) "self",(char *) "on", NULL
5973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5975 if (!SWIG_IsOK(res1
)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5978 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5979 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5980 if (!SWIG_IsOK(ecode2
)) {
5981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5983 arg2
= static_cast< bool >(val2
);
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_Py_Void();
5997 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5998 PyObject
*resultobj
= 0;
5999 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6003 PyObject
*swig_obj
[1] ;
6005 if (!args
) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6011 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6027 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
= 0;
6029 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6030 int arg2
= (int) wxBOTH
;
6035 PyObject
* obj0
= 0 ;
6036 PyObject
* obj1
= 0 ;
6037 char * kwnames
[] = {
6038 (char *) "self",(char *) "dir", NULL
6041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6043 if (!SWIG_IsOK(res1
)) {
6044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6046 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6049 if (!SWIG_IsOK(ecode2
)) {
6050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6052 arg2
= static_cast< int >(val2
);
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->CenterOnScreen(arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_Py_Void();
6067 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
= 0;
6069 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6070 bool arg2
= (bool) true ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6078 char * kwnames
[] = {
6079 (char *) "self",(char *) "enable", NULL
6082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6087 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6090 if (!SWIG_IsOK(ecode2
)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6093 arg2
= static_cast< bool >(val2
);
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
= 0;
6112 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6117 unsigned char val2
;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6121 char * kwnames
[] = {
6122 (char *) "self",(char *) "alpha", NULL
6125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6127 if (!SWIG_IsOK(res1
)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6130 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6131 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
6132 if (!SWIG_IsOK(ecode2
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6135 arg2
= static_cast< byte
>(val2
);
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (bool)(arg1
)->SetTransparent(arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6151 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6152 PyObject
*resultobj
= 0;
6153 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6157 PyObject
*swig_obj
[1] ;
6159 if (!args
) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6165 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (bool)(arg1
)->CanSetTransparent();
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6181 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6184 wxWindow
*result
= 0 ;
6187 PyObject
*swig_obj
[1] ;
6189 if (!args
) SWIG_fail
;
6191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6192 if (!SWIG_IsOK(res1
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6195 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= wxPyMake_wxObject(result
, 0);
6211 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
= 0;
6213 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6214 wxWindow
*arg2
= (wxWindow
*) 0 ;
6215 wxWindow
*result
= 0 ;
6220 PyObject
* obj0
= 0 ;
6221 PyObject
* obj1
= 0 ;
6222 char * kwnames
[] = {
6223 (char *) "self",(char *) "child", NULL
6226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6228 if (!SWIG_IsOK(res1
)) {
6229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6231 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6233 if (!SWIG_IsOK(res2
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6236 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= wxPyMake_wxObject(result
, 0);
6252 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
= 0;
6254 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6255 wxWindow
*arg2
= (wxWindow
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 char * kwnames
[] = {
6263 (char *) "self",(char *) "win", NULL
6266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6268 if (!SWIG_IsOK(res1
)) {
6269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6271 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6273 if (!SWIG_IsOK(res2
)) {
6274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6276 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 (arg1
)->SetTmpDefaultItem(arg2
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_Py_Void();
6290 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6291 PyObject
*resultobj
= 0;
6292 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6293 wxWindow
*result
= 0 ;
6296 PyObject
*swig_obj
[1] ;
6298 if (!args
) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6304 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= wxPyMake_wxObject(result
, 0);
6320 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6323 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6324 return SWIG_Py_Void();
6327 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
= 0;
6329 wxWindow
*arg1
= (wxWindow
*) 0 ;
6330 int arg2
= (int) (int)-1 ;
6331 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6332 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6337 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6338 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6340 wxFrame
*result
= 0 ;
6345 bool temp3
= false ;
6350 bool temp7
= false ;
6351 PyObject
* obj0
= 0 ;
6352 PyObject
* obj1
= 0 ;
6353 PyObject
* obj2
= 0 ;
6354 PyObject
* obj3
= 0 ;
6355 PyObject
* obj4
= 0 ;
6356 PyObject
* obj5
= 0 ;
6357 PyObject
* obj6
= 0 ;
6358 char * kwnames
[] = {
6359 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6364 if (!SWIG_IsOK(res1
)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6367 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6370 if (!SWIG_IsOK(ecode2
)) {
6371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6373 arg2
= static_cast< int >(val2
);
6377 arg3
= wxString_in_helper(obj2
);
6378 if (arg3
== NULL
) SWIG_fail
;
6385 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6391 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6395 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6396 if (!SWIG_IsOK(ecode6
)) {
6397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6399 arg6
= static_cast< long >(val6
);
6403 arg7
= wxString_in_helper(obj6
);
6404 if (arg7
== NULL
) SWIG_fail
;
6409 if (!wxPyCheckForApp()) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6438 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6439 PyObject
*resultobj
= 0;
6440 wxFrame
*result
= 0 ;
6442 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6444 if (!wxPyCheckForApp()) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 result
= (wxFrame
*)new wxFrame();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6457 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
= 0;
6459 wxFrame
*arg1
= (wxFrame
*) 0 ;
6460 wxWindow
*arg2
= (wxWindow
*) 0 ;
6461 int arg3
= (int) (int)-1 ;
6462 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6468 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6469 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6478 bool temp4
= false ;
6483 bool temp8
= false ;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6486 PyObject
* obj2
= 0 ;
6487 PyObject
* obj3
= 0 ;
6488 PyObject
* obj4
= 0 ;
6489 PyObject
* obj5
= 0 ;
6490 PyObject
* obj6
= 0 ;
6491 PyObject
* obj7
= 0 ;
6492 char * kwnames
[] = {
6493 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6498 if (!SWIG_IsOK(res1
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6501 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6503 if (!SWIG_IsOK(res2
)) {
6504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6506 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6509 if (!SWIG_IsOK(ecode3
)) {
6510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6512 arg3
= static_cast< int >(val3
);
6516 arg4
= wxString_in_helper(obj3
);
6517 if (arg4
== NULL
) SWIG_fail
;
6524 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6530 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6534 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6535 if (!SWIG_IsOK(ecode7
)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6538 arg7
= static_cast< long >(val7
);
6542 arg8
= wxString_in_helper(obj7
);
6543 if (arg8
== NULL
) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6578 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxFrame
*arg1
= (wxFrame
*) 0 ;
6583 PyObject
*swig_obj
[1] ;
6585 if (!args
) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6591 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 (arg1
)->SendSizeEvent();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_Py_Void();
6605 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
= 0;
6607 wxFrame
*arg1
= (wxFrame
*) 0 ;
6608 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "menubar", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6624 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6626 if (!SWIG_IsOK(res2
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6629 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 (arg1
)->SetMenuBar(arg2
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= SWIG_Py_Void();
6643 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6644 PyObject
*resultobj
= 0;
6645 wxFrame
*arg1
= (wxFrame
*) 0 ;
6646 wxMenuBar
*result
= 0 ;
6649 PyObject
*swig_obj
[1] ;
6651 if (!args
) SWIG_fail
;
6653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6654 if (!SWIG_IsOK(res1
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6657 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= wxPyMake_wxObject(result
, 0);
6673 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
= 0;
6675 wxFrame
*arg1
= (wxFrame
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "winid", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6693 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6695 if (!SWIG_IsOK(ecode2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6698 arg2
= static_cast< int >(val2
);
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxFrame
*arg1
= (wxFrame
*) 0 ;
6717 int arg2
= (int) 1 ;
6718 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6719 int arg4
= (int) 0 ;
6720 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6721 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6722 wxStatusBar
*result
= 0 ;
6731 bool temp5
= false ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6734 PyObject
* obj2
= 0 ;
6735 PyObject
* obj3
= 0 ;
6736 PyObject
* obj4
= 0 ;
6737 char * kwnames
[] = {
6738 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6746 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6749 if (!SWIG_IsOK(ecode2
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6752 arg2
= static_cast< int >(val2
);
6755 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6756 if (!SWIG_IsOK(ecode3
)) {
6757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6759 arg3
= static_cast< long >(val3
);
6762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6763 if (!SWIG_IsOK(ecode4
)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6766 arg4
= static_cast< int >(val4
);
6770 arg5
= wxString_in_helper(obj4
);
6771 if (arg5
== NULL
) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6798 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6799 PyObject
*resultobj
= 0;
6800 wxFrame
*arg1
= (wxFrame
*) 0 ;
6801 wxStatusBar
*result
= 0 ;
6804 PyObject
*swig_obj
[1] ;
6806 if (!args
) SWIG_fail
;
6808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6809 if (!SWIG_IsOK(res1
)) {
6810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6812 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6828 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
= 0;
6830 wxFrame
*arg1
= (wxFrame
*) 0 ;
6831 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "self",(char *) "statBar", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6847 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6849 if (!SWIG_IsOK(res2
)) {
6850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6852 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 (arg1
)->SetStatusBar(arg2
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= SWIG_Py_Void();
6866 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
= 0;
6868 wxFrame
*arg1
= (wxFrame
*) 0 ;
6869 wxString
*arg2
= 0 ;
6870 int arg3
= (int) 0 ;
6873 bool temp2
= false ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6878 PyObject
* obj2
= 0 ;
6879 char * kwnames
[] = {
6880 (char *) "self",(char *) "text",(char *) "number", NULL
6883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6885 if (!SWIG_IsOK(res1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6888 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6890 arg2
= wxString_in_helper(obj1
);
6891 if (arg2
== NULL
) SWIG_fail
;
6895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6896 if (!SWIG_IsOK(ecode3
)) {
6897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6899 arg3
= static_cast< int >(val3
);
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_Py_Void();
6922 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
= 0;
6924 wxFrame
*arg1
= (wxFrame
*) 0 ;
6926 int *arg3
= (int *) 0 ;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6931 char * kwnames
[] = {
6932 (char *) "self",(char *) "widths", NULL
6935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6937 if (!SWIG_IsOK(res1
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6940 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6942 arg2
= PyList_Size(obj1
);
6943 arg3
= int_LIST_helper(obj1
);
6944 if (arg3
== NULL
) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_Py_Void();
6954 if (arg3
) delete [] arg3
;
6959 if (arg3
) delete [] arg3
;
6965 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
= 0;
6967 wxFrame
*arg1
= (wxFrame
*) 0 ;
6968 wxString
*arg2
= 0 ;
6969 int arg3
= (int) 0 ;
6972 bool temp2
= false ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 PyObject
* obj2
= 0 ;
6978 char * kwnames
[] = {
6979 (char *) "self",(char *) "text",(char *) "number", NULL
6982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6987 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6989 arg2
= wxString_in_helper(obj1
);
6990 if (arg2
== NULL
) SWIG_fail
;
6994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6995 if (!SWIG_IsOK(ecode3
)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6998 arg3
= static_cast< int >(val3
);
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_Py_Void();
7021 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
= 0;
7023 wxFrame
*arg1
= (wxFrame
*) 0 ;
7024 int arg2
= (int) 0 ;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7031 char * kwnames
[] = {
7032 (char *) "self",(char *) "number", NULL
7035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7037 if (!SWIG_IsOK(res1
)) {
7038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7040 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7043 if (!SWIG_IsOK(ecode2
)) {
7044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7046 arg2
= static_cast< int >(val2
);
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 (arg1
)->PopStatusText(arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= SWIG_Py_Void();
7061 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7063 wxFrame
*arg1
= (wxFrame
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7071 char * kwnames
[] = {
7072 (char *) "self",(char *) "n", NULL
7075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7077 if (!SWIG_IsOK(res1
)) {
7078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7080 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7082 if (!SWIG_IsOK(ecode2
)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7085 arg2
= static_cast< int >(val2
);
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 (arg1
)->SetStatusBarPane(arg2
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_Py_Void();
7099 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7100 PyObject
*resultobj
= 0;
7101 wxFrame
*arg1
= (wxFrame
*) 0 ;
7105 PyObject
*swig_obj
[1] ;
7107 if (!args
) SWIG_fail
;
7109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7110 if (!SWIG_IsOK(res1
)) {
7111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7113 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= SWIG_From_int(static_cast< int >(result
));
7127 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
= 0;
7129 wxFrame
*arg1
= (wxFrame
*) 0 ;
7130 long arg2
= (long) -1 ;
7131 int arg3
= (int) -1 ;
7132 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7133 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7134 wxToolBar
*result
= 0 ;
7141 bool temp4
= false ;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7144 PyObject
* obj2
= 0 ;
7145 PyObject
* obj3
= 0 ;
7146 char * kwnames
[] = {
7147 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7155 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7157 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7158 if (!SWIG_IsOK(ecode2
)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7161 arg2
= static_cast< long >(val2
);
7164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7165 if (!SWIG_IsOK(ecode3
)) {
7166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7168 arg3
= static_cast< int >(val3
);
7172 arg4
= wxString_in_helper(obj3
);
7173 if (arg4
== NULL
) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7200 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7201 PyObject
*resultobj
= 0;
7202 wxFrame
*arg1
= (wxFrame
*) 0 ;
7203 wxToolBar
*result
= 0 ;
7206 PyObject
*swig_obj
[1] ;
7208 if (!args
) SWIG_fail
;
7210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7211 if (!SWIG_IsOK(res1
)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7214 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7230 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7232 wxFrame
*arg1
= (wxFrame
*) 0 ;
7233 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7240 char * kwnames
[] = {
7241 (char *) "self",(char *) "toolbar", NULL
7244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7246 if (!SWIG_IsOK(res1
)) {
7247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7249 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7251 if (!SWIG_IsOK(res2
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7254 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 (arg1
)->SetToolBar(arg2
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_Py_Void();
7268 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
= 0;
7270 wxFrame
*arg1
= (wxFrame
*) 0 ;
7271 wxString
*arg2
= 0 ;
7275 bool temp2
= false ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7280 PyObject
* obj2
= 0 ;
7281 char * kwnames
[] = {
7282 (char *) "self",(char *) "text",(char *) "show", NULL
7285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7287 if (!SWIG_IsOK(res1
)) {
7288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7290 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7292 arg2
= wxString_in_helper(obj1
);
7293 if (arg2
== NULL
) SWIG_fail
;
7296 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7297 if (!SWIG_IsOK(ecode3
)) {
7298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7300 arg3
= static_cast< bool >(val3
);
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_Py_Void();
7322 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
= 0;
7324 wxFrame
*arg1
= (wxFrame
*) 0 ;
7325 wxMenu
*arg2
= (wxMenu
*) NULL
;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 char * kwnames
[] = {
7333 (char *) "self",(char *) "menu", NULL
7336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7341 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7344 if (!SWIG_IsOK(res2
)) {
7345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7347 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 (arg1
)->DoMenuUpdates(arg2
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_Py_Void();
7362 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
= 0;
7364 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7365 SwigValueWrapper
<wxVisualAttributes
> result
;
7368 PyObject
* obj0
= 0 ;
7369 char * kwnames
[] = {
7370 (char *) "variant", NULL
7373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7375 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7376 if (!SWIG_IsOK(ecode1
)) {
7377 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7379 arg1
= static_cast< wxWindowVariant
>(val1
);
7382 if (!wxPyCheckForApp()) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7395 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7398 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7399 return SWIG_Py_Void();
7402 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 return SWIG_Python_InitShadowInstance(args
);
7406 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
= 0;
7408 wxWindow
*arg1
= (wxWindow
*) 0 ;
7409 int arg2
= (int) (int)-1 ;
7410 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7416 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7417 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7419 wxDialog
*result
= 0 ;
7424 bool temp3
= false ;
7429 bool temp7
= false ;
7430 PyObject
* obj0
= 0 ;
7431 PyObject
* obj1
= 0 ;
7432 PyObject
* obj2
= 0 ;
7433 PyObject
* obj3
= 0 ;
7434 PyObject
* obj4
= 0 ;
7435 PyObject
* obj5
= 0 ;
7436 PyObject
* obj6
= 0 ;
7437 char * kwnames
[] = {
7438 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7443 if (!SWIG_IsOK(res1
)) {
7444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7449 if (!SWIG_IsOK(ecode2
)) {
7450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7452 arg2
= static_cast< int >(val2
);
7456 arg3
= wxString_in_helper(obj2
);
7457 if (arg3
== NULL
) SWIG_fail
;
7464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7475 if (!SWIG_IsOK(ecode6
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7478 arg6
= static_cast< long >(val6
);
7482 arg7
= wxString_in_helper(obj6
);
7483 if (arg7
== NULL
) SWIG_fail
;
7488 if (!wxPyCheckForApp()) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7517 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7518 PyObject
*resultobj
= 0;
7519 wxDialog
*result
= 0 ;
7521 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7523 if (!wxPyCheckForApp()) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (wxDialog
*)new wxDialog();
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7536 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
= 0;
7538 wxDialog
*arg1
= (wxDialog
*) 0 ;
7539 wxWindow
*arg2
= (wxWindow
*) 0 ;
7540 int arg3
= (int) (int)-1 ;
7541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7543 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7544 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7545 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7546 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7547 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7548 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7549 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7557 bool temp4
= false ;
7562 bool temp8
= false ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7565 PyObject
* obj2
= 0 ;
7566 PyObject
* obj3
= 0 ;
7567 PyObject
* obj4
= 0 ;
7568 PyObject
* obj5
= 0 ;
7569 PyObject
* obj6
= 0 ;
7570 PyObject
* obj7
= 0 ;
7571 char * kwnames
[] = {
7572 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7577 if (!SWIG_IsOK(res1
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7580 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7582 if (!SWIG_IsOK(res2
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7585 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7588 if (!SWIG_IsOK(ecode3
)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7591 arg3
= static_cast< int >(val3
);
7595 arg4
= wxString_in_helper(obj3
);
7596 if (arg4
== NULL
) SWIG_fail
;
7603 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7609 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7613 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7614 if (!SWIG_IsOK(ecode7
)) {
7615 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7617 arg7
= static_cast< long >(val7
);
7621 arg8
= wxString_in_helper(obj7
);
7622 if (arg8
== NULL
) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7657 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
= 0;
7659 wxDialog
*arg1
= (wxDialog
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7667 char * kwnames
[] = {
7668 (char *) "self",(char *) "returnCode", NULL
7671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7673 if (!SWIG_IsOK(res1
)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7676 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7678 if (!SWIG_IsOK(ecode2
)) {
7679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7681 arg2
= static_cast< int >(val2
);
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 (arg1
)->SetReturnCode(arg2
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_Py_Void();
7695 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7696 PyObject
*resultobj
= 0;
7697 wxDialog
*arg1
= (wxDialog
*) 0 ;
7701 PyObject
*swig_obj
[1] ;
7703 if (!args
) SWIG_fail
;
7705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7706 if (!SWIG_IsOK(res1
)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7709 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_From_int(static_cast< int >(result
));
7723 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
= 0;
7725 wxDialog
*arg1
= (wxDialog
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 char * kwnames
[] = {
7734 (char *) "self",(char *) "affirmativeId", NULL
7737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7739 if (!SWIG_IsOK(res1
)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7742 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7744 if (!SWIG_IsOK(ecode2
)) {
7745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7747 arg2
= static_cast< int >(val2
);
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 (arg1
)->SetAffirmativeId(arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_Py_Void();
7761 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7762 PyObject
*resultobj
= 0;
7763 wxDialog
*arg1
= (wxDialog
*) 0 ;
7767 PyObject
*swig_obj
[1] ;
7769 if (!args
) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7775 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_From_int(static_cast< int >(result
));
7789 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= 0;
7791 wxDialog
*arg1
= (wxDialog
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7798 PyObject
* obj1
= 0 ;
7799 char * kwnames
[] = {
7800 (char *) "self",(char *) "escapeId", NULL
7803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7805 if (!SWIG_IsOK(res1
)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7808 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7810 if (!SWIG_IsOK(ecode2
)) {
7811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7813 arg2
= static_cast< int >(val2
);
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 (arg1
)->SetEscapeId(arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= SWIG_Py_Void();
7827 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7828 PyObject
*resultobj
= 0;
7829 wxDialog
*arg1
= (wxDialog
*) 0 ;
7833 PyObject
*swig_obj
[1] ;
7835 if (!args
) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7841 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= SWIG_From_int(static_cast< int >(result
));
7855 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
= 0;
7857 wxDialog
*arg1
= (wxDialog
*) 0 ;
7858 wxString
*arg2
= 0 ;
7859 wxSizer
*result
= 0 ;
7862 bool temp2
= false ;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7865 char * kwnames
[] = {
7866 (char *) "self",(char *) "message", NULL
7869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7871 if (!SWIG_IsOK(res1
)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7874 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7876 arg2
= wxString_in_helper(obj1
);
7877 if (arg2
== NULL
) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7903 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
= 0;
7905 wxDialog
*arg1
= (wxDialog
*) 0 ;
7907 bool arg3
= (bool) false ;
7908 int arg4
= (int) 0 ;
7909 wxSizer
*result
= 0 ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7920 PyObject
* obj2
= 0 ;
7921 PyObject
* obj3
= 0 ;
7922 char * kwnames
[] = {
7923 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7928 if (!SWIG_IsOK(res1
)) {
7929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7931 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7932 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7933 if (!SWIG_IsOK(ecode2
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7936 arg2
= static_cast< long >(val2
);
7938 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7939 if (!SWIG_IsOK(ecode3
)) {
7940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7942 arg3
= static_cast< bool >(val3
);
7945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7946 if (!SWIG_IsOK(ecode4
)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7949 arg4
= static_cast< int >(val4
);
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7966 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxDialog
*arg1
= (wxDialog
*) 0 ;
7970 wxStdDialogButtonSizer
*result
= 0 ;
7975 PyObject
* obj0
= 0 ;
7976 PyObject
* obj1
= 0 ;
7977 char * kwnames
[] = {
7978 (char *) "self",(char *) "flags", NULL
7981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7986 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7987 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7988 if (!SWIG_IsOK(ecode2
)) {
7989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7991 arg2
= static_cast< long >(val2
);
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
8005 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 PyObject
*resultobj
= 0;
8007 wxDialog
*arg1
= (wxDialog
*) 0 ;
8011 PyObject
*swig_obj
[1] ;
8013 if (!args
) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8019 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8035 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 PyObject
*resultobj
= 0;
8037 wxDialog
*arg1
= (wxDialog
*) 0 ;
8041 PyObject
*swig_obj
[1] ;
8043 if (!args
) SWIG_fail
;
8045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8046 if (!SWIG_IsOK(res1
)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8049 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (int)(arg1
)->ShowModal();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_From_int(static_cast< int >(result
));
8063 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
= 0;
8065 wxDialog
*arg1
= (wxDialog
*) 0 ;
8071 PyObject
* obj0
= 0 ;
8072 PyObject
* obj1
= 0 ;
8073 char * kwnames
[] = {
8074 (char *) "self",(char *) "retCode", NULL
8077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8082 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8084 if (!SWIG_IsOK(ecode2
)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8087 arg2
= static_cast< int >(val2
);
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 (arg1
)->EndModal(arg2
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_Py_Void();
8101 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
= 0;
8103 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8104 SwigValueWrapper
<wxVisualAttributes
> result
;
8107 PyObject
* obj0
= 0 ;
8108 char * kwnames
[] = {
8109 (char *) "variant", NULL
8112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8115 if (!SWIG_IsOK(ecode1
)) {
8116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8118 arg1
= static_cast< wxWindowVariant
>(val1
);
8121 if (!wxPyCheckForApp()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8134 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8137 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8138 return SWIG_Py_Void();
8141 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8142 return SWIG_Python_InitShadowInstance(args
);
8145 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxWindow
*arg1
= (wxWindow
*) 0 ;
8148 int arg2
= (int) (int)-1 ;
8149 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8150 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8155 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8156 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8158 wxMiniFrame
*result
= 0 ;
8163 bool temp3
= false ;
8168 bool temp7
= false ;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 PyObject
* obj2
= 0 ;
8172 PyObject
* obj3
= 0 ;
8173 PyObject
* obj4
= 0 ;
8174 PyObject
* obj5
= 0 ;
8175 PyObject
* obj6
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8182 if (!SWIG_IsOK(res1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8188 if (!SWIG_IsOK(ecode2
)) {
8189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8191 arg2
= static_cast< int >(val2
);
8195 arg3
= wxString_in_helper(obj2
);
8196 if (arg3
== NULL
) SWIG_fail
;
8203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8213 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8214 if (!SWIG_IsOK(ecode6
)) {
8215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8217 arg6
= static_cast< long >(val6
);
8221 arg7
= wxString_in_helper(obj6
);
8222 if (arg7
== NULL
) SWIG_fail
;
8227 if (!wxPyCheckForApp()) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8256 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8257 PyObject
*resultobj
= 0;
8258 wxMiniFrame
*result
= 0 ;
8260 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8262 if (!wxPyCheckForApp()) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (wxMiniFrame
*)new wxMiniFrame();
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8275 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
= 0;
8277 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8278 wxWindow
*arg2
= (wxWindow
*) 0 ;
8279 int arg3
= (int) (int)-1 ;
8280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8282 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8283 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8284 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8285 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8286 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8287 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8296 bool temp4
= false ;
8301 bool temp8
= false ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8304 PyObject
* obj2
= 0 ;
8305 PyObject
* obj3
= 0 ;
8306 PyObject
* obj4
= 0 ;
8307 PyObject
* obj5
= 0 ;
8308 PyObject
* obj6
= 0 ;
8309 PyObject
* obj7
= 0 ;
8310 char * kwnames
[] = {
8311 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8316 if (!SWIG_IsOK(res1
)) {
8317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8319 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8321 if (!SWIG_IsOK(res2
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8327 if (!SWIG_IsOK(ecode3
)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8330 arg3
= static_cast< int >(val3
);
8334 arg4
= wxString_in_helper(obj3
);
8335 if (arg4
== NULL
) SWIG_fail
;
8342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8352 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8353 if (!SWIG_IsOK(ecode7
)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8356 arg7
= static_cast< long >(val7
);
8360 arg8
= wxString_in_helper(obj7
);
8361 if (arg8
== NULL
) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8396 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8399 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8400 return SWIG_Py_Void();
8403 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8404 return SWIG_Python_InitShadowInstance(args
);
8407 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
= 0;
8409 wxBitmap
*arg1
= 0 ;
8410 wxWindow
*arg2
= (wxWindow
*) 0 ;
8412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8416 long arg6
= (long) wxNO_BORDER
;
8417 wxSplashScreenWindow
*result
= 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8430 PyObject
* obj2
= 0 ;
8431 PyObject
* obj3
= 0 ;
8432 PyObject
* obj4
= 0 ;
8433 PyObject
* obj5
= 0 ;
8434 char * kwnames
[] = {
8435 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8439 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8440 if (!SWIG_IsOK(res1
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8448 if (!SWIG_IsOK(res2
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8453 if (!SWIG_IsOK(ecode3
)) {
8454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8456 arg3
= static_cast< int >(val3
);
8460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8471 if (!SWIG_IsOK(ecode6
)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8474 arg6
= static_cast< long >(val6
);
8477 if (!wxPyCheckForApp()) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8490 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
= 0;
8492 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8493 wxBitmap
*arg2
= 0 ;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8500 char * kwnames
[] = {
8501 (char *) "self",(char *) "bitmap", NULL
8504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8506 if (!SWIG_IsOK(res1
)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8509 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8511 if (!SWIG_IsOK(res2
)) {
8512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8517 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= SWIG_Py_Void();
8531 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8532 PyObject
*resultobj
= 0;
8533 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8534 wxBitmap
*result
= 0 ;
8537 PyObject
*swig_obj
[1] ;
8539 if (!args
) SWIG_fail
;
8541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8542 if (!SWIG_IsOK(res1
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8545 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8550 result
= (wxBitmap
*) &_result_ref
;
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 wxBitmap
* resultptr
= new wxBitmap(*result
);
8557 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8565 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8568 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8569 return SWIG_Py_Void();
8572 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8573 return SWIG_Python_InitShadowInstance(args
);
8576 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
= 0;
8578 wxBitmap
*arg1
= 0 ;
8581 wxWindow
*arg4
= (wxWindow
*) 0 ;
8582 int arg5
= (int) -1 ;
8583 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8584 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8585 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8586 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8587 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8588 wxSplashScreen
*result
= 0 ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8606 PyObject
* obj3
= 0 ;
8607 PyObject
* obj4
= 0 ;
8608 PyObject
* obj5
= 0 ;
8609 PyObject
* obj6
= 0 ;
8610 PyObject
* obj7
= 0 ;
8611 char * kwnames
[] = {
8612 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8623 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8625 if (!SWIG_IsOK(ecode2
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8628 arg2
= static_cast< long >(val2
);
8629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8630 if (!SWIG_IsOK(ecode3
)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8633 arg3
= static_cast< int >(val3
);
8634 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8635 if (!SWIG_IsOK(res4
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8638 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8641 if (!SWIG_IsOK(ecode5
)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8644 arg5
= static_cast< int >(val5
);
8649 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8655 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8659 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8660 if (!SWIG_IsOK(ecode8
)) {
8661 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8663 arg8
= static_cast< long >(val8
);
8666 if (!wxPyCheckForApp()) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8679 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8680 PyObject
*resultobj
= 0;
8681 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8685 PyObject
*swig_obj
[1] ;
8687 if (!args
) SWIG_fail
;
8689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8690 if (!SWIG_IsOK(res1
)) {
8691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8693 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_From_long(static_cast< long >(result
));
8707 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8708 PyObject
*resultobj
= 0;
8709 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8710 wxSplashScreenWindow
*result
= 0 ;
8713 PyObject
*swig_obj
[1] ;
8715 if (!args
) SWIG_fail
;
8717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8718 if (!SWIG_IsOK(res1
)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8721 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8735 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8736 PyObject
*resultobj
= 0;
8737 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8741 PyObject
*swig_obj
[1] ;
8743 if (!args
) SWIG_fail
;
8745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8746 if (!SWIG_IsOK(res1
)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8749 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_From_int(static_cast< int >(result
));
8763 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8766 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8767 return SWIG_Py_Void();
8770 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8771 return SWIG_Python_InitShadowInstance(args
);
8774 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
= 0;
8776 wxWindow
*arg1
= (wxWindow
*) 0 ;
8777 int arg2
= (int) -1 ;
8778 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8779 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8781 wxStatusBar
*result
= 0 ;
8788 bool temp4
= false ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8792 PyObject
* obj3
= 0 ;
8793 char * kwnames
[] = {
8794 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8799 if (!SWIG_IsOK(res1
)) {
8800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8805 if (!SWIG_IsOK(ecode2
)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8808 arg2
= static_cast< int >(val2
);
8811 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8812 if (!SWIG_IsOK(ecode3
)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8815 arg3
= static_cast< long >(val3
);
8819 arg4
= wxString_in_helper(obj3
);
8820 if (arg4
== NULL
) SWIG_fail
;
8825 if (!wxPyCheckForApp()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8846 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8847 PyObject
*resultobj
= 0;
8848 wxStatusBar
*result
= 0 ;
8850 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8852 if (!wxPyCheckForApp()) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (wxStatusBar
*)new wxStatusBar();
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8865 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
= 0;
8867 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8868 wxWindow
*arg2
= (wxWindow
*) 0 ;
8869 int arg3
= (int) -1 ;
8870 long arg4
= (long) wxST_SIZEGRIP
;
8871 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8872 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8882 bool temp5
= false ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 PyObject
* obj2
= 0 ;
8886 PyObject
* obj3
= 0 ;
8887 PyObject
* obj4
= 0 ;
8888 char * kwnames
[] = {
8889 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8894 if (!SWIG_IsOK(res1
)) {
8895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8897 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8899 if (!SWIG_IsOK(res2
)) {
8900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8902 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8905 if (!SWIG_IsOK(ecode3
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8908 arg3
= static_cast< int >(val3
);
8911 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8912 if (!SWIG_IsOK(ecode4
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8915 arg4
= static_cast< long >(val4
);
8919 arg5
= wxString_in_helper(obj4
);
8920 if (arg5
== NULL
) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8947 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8950 int arg2
= (int) 1 ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8957 char * kwnames
[] = {
8958 (char *) "self",(char *) "number", NULL
8961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8963 if (!SWIG_IsOK(res1
)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8966 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8969 if (!SWIG_IsOK(ecode2
)) {
8970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8972 arg2
= static_cast< int >(val2
);
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 (arg1
)->SetFieldsCount(arg2
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_Py_Void();
8987 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8988 PyObject
*resultobj
= 0;
8989 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8993 PyObject
*swig_obj
[1] ;
8995 if (!args
) SWIG_fail
;
8997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8998 if (!SWIG_IsOK(res1
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9001 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_From_int(static_cast< int >(result
));
9015 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
= 0;
9017 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9018 wxString
*arg2
= 0 ;
9019 int arg3
= (int) 0 ;
9022 bool temp2
= false ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 char * kwnames
[] = {
9029 (char *) "self",(char *) "text",(char *) "number", NULL
9032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9034 if (!SWIG_IsOK(res1
)) {
9035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9037 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9039 arg2
= wxString_in_helper(obj1
);
9040 if (arg2
== NULL
) SWIG_fail
;
9044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9045 if (!SWIG_IsOK(ecode3
)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9048 arg3
= static_cast< int >(val3
);
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= SWIG_Py_Void();
9071 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
= 0;
9073 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9074 int arg2
= (int) 0 ;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 char * kwnames
[] = {
9083 (char *) "self",(char *) "number", NULL
9086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9088 if (!SWIG_IsOK(res1
)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9091 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9094 if (!SWIG_IsOK(ecode2
)) {
9095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9097 arg2
= static_cast< int >(val2
);
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9118 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
= 0;
9120 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9121 wxString
*arg2
= 0 ;
9122 int arg3
= (int) 0 ;
9125 bool temp2
= false ;
9128 PyObject
* obj0
= 0 ;
9129 PyObject
* obj1
= 0 ;
9130 PyObject
* obj2
= 0 ;
9131 char * kwnames
[] = {
9132 (char *) "self",(char *) "text",(char *) "number", NULL
9135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9137 if (!SWIG_IsOK(res1
)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9140 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9142 arg2
= wxString_in_helper(obj1
);
9143 if (arg2
== NULL
) SWIG_fail
;
9147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9148 if (!SWIG_IsOK(ecode3
)) {
9149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9151 arg3
= static_cast< int >(val3
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9174 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
= 0;
9176 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9177 int arg2
= (int) 0 ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 char * kwnames
[] = {
9185 (char *) "self",(char *) "number", NULL
9188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9190 if (!SWIG_IsOK(res1
)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9193 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9196 if (!SWIG_IsOK(ecode2
)) {
9197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9199 arg2
= static_cast< int >(val2
);
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 (arg1
)->PopStatusText(arg2
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_Py_Void();
9214 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
= 0;
9216 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9218 int *arg3
= (int *) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "self",(char *) "widths", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9229 if (!SWIG_IsOK(res1
)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9232 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9234 arg2
= PyList_Size(obj1
);
9235 arg3
= int_LIST_helper(obj1
);
9236 if (arg3
== NULL
) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_Py_Void();
9246 if (arg3
) delete [] arg3
;
9251 if (arg3
) delete [] arg3
;
9257 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
= 0;
9259 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9261 int *arg3
= (int *) 0 ;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9266 char * kwnames
[] = {
9267 (char *) "self",(char *) "styles", NULL
9270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9272 if (!SWIG_IsOK(res1
)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9275 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9277 arg2
= PyList_Size(obj1
);
9278 arg3
= int_LIST_helper(obj1
);
9279 if (arg3
== NULL
) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= SWIG_Py_Void();
9289 if (arg3
) delete [] arg3
;
9294 if (arg3
) delete [] arg3
;
9300 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
= 0;
9302 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9311 char * kwnames
[] = {
9312 (char *) "self",(char *) "i", NULL
9315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9320 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9322 if (!SWIG_IsOK(ecode2
)) {
9323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9325 arg2
= static_cast< int >(val2
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9339 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
= 0;
9341 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 char * kwnames
[] = {
9350 (char *) "self",(char *) "height", NULL
9353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9358 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9360 if (!SWIG_IsOK(ecode2
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9363 arg2
= static_cast< int >(val2
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 (arg1
)->SetMinHeight(arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_Py_Void();
9377 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9378 PyObject
*resultobj
= 0;
9379 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9383 PyObject
*swig_obj
[1] ;
9385 if (!args
) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9391 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_From_int(static_cast< int >(result
));
9405 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9406 PyObject
*resultobj
= 0;
9407 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9411 PyObject
*swig_obj
[1] ;
9413 if (!args
) SWIG_fail
;
9415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9416 if (!SWIG_IsOK(res1
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9419 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_From_int(static_cast< int >(result
));
9433 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9436 SwigValueWrapper
<wxVisualAttributes
> result
;
9439 PyObject
* obj0
= 0 ;
9440 char * kwnames
[] = {
9441 (char *) "variant", NULL
9444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9447 if (!SWIG_IsOK(ecode1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9450 arg1
= static_cast< wxWindowVariant
>(val1
);
9453 if (!wxPyCheckForApp()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9466 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9469 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9470 return SWIG_Py_Void();
9473 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9474 return SWIG_Python_InitShadowInstance(args
);
9477 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9478 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9483 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9484 PyObject
*pyobj
= 0;
9488 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9490 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9497 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxWindow
*arg1
= (wxWindow
*) 0 ;
9500 int arg2
= (int) -1 ;
9501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9505 long arg5
= (long) wxSP_3D
;
9506 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9508 wxSplitterWindow
*result
= 0 ;
9517 bool temp6
= false ;
9518 PyObject
* obj0
= 0 ;
9519 PyObject
* obj1
= 0 ;
9520 PyObject
* obj2
= 0 ;
9521 PyObject
* obj3
= 0 ;
9522 PyObject
* obj4
= 0 ;
9523 PyObject
* obj5
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9533 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9536 if (!SWIG_IsOK(ecode2
)) {
9537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9539 arg2
= static_cast< int >(val2
);
9544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9550 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9554 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9555 if (!SWIG_IsOK(ecode5
)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9558 arg5
= static_cast< long >(val5
);
9562 arg6
= wxString_in_helper(obj5
);
9563 if (arg6
== NULL
) SWIG_fail
;
9568 if (!wxPyCheckForApp()) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9589 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9590 PyObject
*resultobj
= 0;
9591 wxSplitterWindow
*result
= 0 ;
9593 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9595 if (!wxPyCheckForApp()) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9608 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
= 0;
9610 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9611 wxWindow
*arg2
= (wxWindow
*) 0 ;
9612 int arg3
= (int) -1 ;
9613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9617 long arg6
= (long) wxSP_3D
;
9618 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9631 bool temp7
= false ;
9632 PyObject
* obj0
= 0 ;
9633 PyObject
* obj1
= 0 ;
9634 PyObject
* obj2
= 0 ;
9635 PyObject
* obj3
= 0 ;
9636 PyObject
* obj4
= 0 ;
9637 PyObject
* obj5
= 0 ;
9638 PyObject
* obj6
= 0 ;
9639 char * kwnames
[] = {
9640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9645 if (!SWIG_IsOK(res1
)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9648 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9650 if (!SWIG_IsOK(res2
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9656 if (!SWIG_IsOK(ecode3
)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9659 arg3
= static_cast< int >(val3
);
9664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9675 if (!SWIG_IsOK(ecode6
)) {
9676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9678 arg6
= static_cast< long >(val6
);
9682 arg7
= wxString_in_helper(obj6
);
9683 if (arg7
== NULL
) SWIG_fail
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9711 PyObject
*resultobj
= 0;
9712 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9713 wxWindow
*result
= 0 ;
9716 PyObject
*swig_obj
[1] ;
9718 if (!args
) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9724 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= wxPyMake_wxObject(result
, 0);
9740 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9741 PyObject
*resultobj
= 0;
9742 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9743 wxWindow
*result
= 0 ;
9746 PyObject
*swig_obj
[1] ;
9748 if (!args
) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9754 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= wxPyMake_wxObject(result
, 0);
9770 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
= 0;
9772 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 char * kwnames
[] = {
9781 (char *) "self",(char *) "mode", NULL
9784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9789 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9791 if (!SWIG_IsOK(ecode2
)) {
9792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9794 arg2
= static_cast< int >(val2
);
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 (arg1
)->SetSplitMode(arg2
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= SWIG_Py_Void();
9808 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9809 PyObject
*resultobj
= 0;
9810 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9814 PyObject
*swig_obj
[1] ;
9816 if (!args
) SWIG_fail
;
9818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9819 if (!SWIG_IsOK(res1
)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9822 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_From_int(static_cast< int >(result
));
9836 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= 0;
9838 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9839 wxWindow
*arg2
= (wxWindow
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9845 PyObject
* obj1
= 0 ;
9846 char * kwnames
[] = {
9847 (char *) "self",(char *) "window", NULL
9850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9852 if (!SWIG_IsOK(res1
)) {
9853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9855 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9857 if (!SWIG_IsOK(res2
)) {
9858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9860 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 (arg1
)->Initialize(arg2
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_Py_Void();
9874 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
= 0;
9876 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9877 wxWindow
*arg2
= (wxWindow
*) 0 ;
9878 wxWindow
*arg3
= (wxWindow
*) 0 ;
9879 int arg4
= (int) 0 ;
9889 PyObject
* obj0
= 0 ;
9890 PyObject
* obj1
= 0 ;
9891 PyObject
* obj2
= 0 ;
9892 PyObject
* obj3
= 0 ;
9893 char * kwnames
[] = {
9894 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9902 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9904 if (!SWIG_IsOK(res2
)) {
9905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9908 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9909 if (!SWIG_IsOK(res3
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9912 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9915 if (!SWIG_IsOK(ecode4
)) {
9916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9918 arg4
= static_cast< int >(val4
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9935 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
= 0;
9937 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9938 wxWindow
*arg2
= (wxWindow
*) 0 ;
9939 wxWindow
*arg3
= (wxWindow
*) 0 ;
9940 int arg4
= (int) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9952 PyObject
* obj2
= 0 ;
9953 PyObject
* obj3
= 0 ;
9954 char * kwnames
[] = {
9955 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9960 if (!SWIG_IsOK(res1
)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9963 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9965 if (!SWIG_IsOK(res2
)) {
9966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9968 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9969 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9970 if (!SWIG_IsOK(res3
)) {
9971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9973 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9976 if (!SWIG_IsOK(ecode4
)) {
9977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9979 arg4
= static_cast< int >(val4
);
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9996 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
= 0;
9998 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9999 wxWindow
*arg2
= (wxWindow
*) NULL
;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 char * kwnames
[] = {
10008 (char *) "self",(char *) "toRemove", NULL
10011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10013 if (!SWIG_IsOK(res1
)) {
10014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10016 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10019 if (!SWIG_IsOK(res2
)) {
10020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->Unsplit(arg2
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10039 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
= 0;
10041 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10042 wxWindow
*arg2
= (wxWindow
*) 0 ;
10043 wxWindow
*arg3
= (wxWindow
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 PyObject
* obj2
= 0 ;
10054 char * kwnames
[] = {
10055 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10060 if (!SWIG_IsOK(res1
)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10063 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10065 if (!SWIG_IsOK(res2
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10069 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10070 if (!SWIG_IsOK(res3
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10073 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10089 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10090 PyObject
*resultobj
= 0;
10091 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10094 PyObject
*swig_obj
[1] ;
10096 if (!args
) SWIG_fail
;
10097 swig_obj
[0] = args
;
10098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10099 if (!SWIG_IsOK(res1
)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->UpdateSize();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_Py_Void();
10116 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10117 PyObject
*resultobj
= 0;
10118 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10122 PyObject
*swig_obj
[1] ;
10124 if (!args
) SWIG_fail
;
10125 swig_obj
[0] = args
;
10126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10130 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10146 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
= 0;
10148 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 char * kwnames
[] = {
10157 (char *) "self",(char *) "width", NULL
10160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10162 if (!SWIG_IsOK(res1
)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10165 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10167 if (!SWIG_IsOK(ecode2
)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10170 arg2
= static_cast< int >(val2
);
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 (arg1
)->SetSashSize(arg2
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= SWIG_Py_Void();
10184 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
= 0;
10186 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 char * kwnames
[] = {
10195 (char *) "self",(char *) "width", NULL
10198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10200 if (!SWIG_IsOK(res1
)) {
10201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10203 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10205 if (!SWIG_IsOK(ecode2
)) {
10206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10208 arg2
= static_cast< int >(val2
);
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 (arg1
)->SetBorderSize(arg2
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_Py_Void();
10222 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10223 PyObject
*resultobj
= 0;
10224 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10228 PyObject
*swig_obj
[1] ;
10230 if (!args
) SWIG_fail
;
10231 swig_obj
[0] = args
;
10232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10233 if (!SWIG_IsOK(res1
)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10236 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_From_int(static_cast< int >(result
));
10250 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10251 PyObject
*resultobj
= 0;
10252 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10256 PyObject
*swig_obj
[1] ;
10258 if (!args
) SWIG_fail
;
10259 swig_obj
[0] = args
;
10260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10264 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_From_int(static_cast< int >(result
));
10278 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
= 0;
10280 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10282 bool arg3
= (bool) true ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 char * kwnames
[] = {
10293 (char *) "self",(char *) "position",(char *) "redraw", NULL
10296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10301 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10303 if (!SWIG_IsOK(ecode2
)) {
10304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10306 arg2
= static_cast< int >(val2
);
10308 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10309 if (!SWIG_IsOK(ecode3
)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10312 arg3
= static_cast< bool >(val3
);
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 (arg1
)->SetSashPosition(arg2
,arg3
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= SWIG_Py_Void();
10327 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10328 PyObject
*resultobj
= 0;
10329 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10333 PyObject
*swig_obj
[1] ;
10335 if (!args
) SWIG_fail
;
10336 swig_obj
[0] = args
;
10337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10338 if (!SWIG_IsOK(res1
)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10341 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= SWIG_From_int(static_cast< int >(result
));
10355 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
= 0;
10357 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 PyObject
* obj1
= 0 ;
10365 char * kwnames
[] = {
10366 (char *) "self",(char *) "gravity", NULL
10369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10371 if (!SWIG_IsOK(res1
)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10374 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10375 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10376 if (!SWIG_IsOK(ecode2
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10379 arg2
= static_cast< double >(val2
);
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 (arg1
)->SetSashGravity(arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_Py_Void();
10393 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10394 PyObject
*resultobj
= 0;
10395 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10399 PyObject
*swig_obj
[1] ;
10401 if (!args
) SWIG_fail
;
10402 swig_obj
[0] = args
;
10403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10404 if (!SWIG_IsOK(res1
)) {
10405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10407 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_From_double(static_cast< double >(result
));
10421 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
= 0;
10423 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 char * kwnames
[] = {
10432 (char *) "self",(char *) "min", NULL
10435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10437 if (!SWIG_IsOK(res1
)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10440 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10442 if (!SWIG_IsOK(ecode2
)) {
10443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10445 arg2
= static_cast< int >(val2
);
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 (arg1
)->SetMinimumPaneSize(arg2
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= SWIG_Py_Void();
10459 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10460 PyObject
*resultobj
= 0;
10461 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10465 PyObject
*swig_obj
[1] ;
10467 if (!args
) SWIG_fail
;
10468 swig_obj
[0] = args
;
10469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10470 if (!SWIG_IsOK(res1
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10473 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_From_int(static_cast< int >(result
));
10487 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
= 0;
10489 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10492 int arg4
= (int) 5 ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 PyObject
* obj2
= 0 ;
10505 PyObject
* obj3
= 0 ;
10506 char * kwnames
[] = {
10507 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10515 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10517 if (!SWIG_IsOK(ecode2
)) {
10518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10520 arg2
= static_cast< int >(val2
);
10521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10522 if (!SWIG_IsOK(ecode3
)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10525 arg3
= static_cast< int >(val3
);
10527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10528 if (!SWIG_IsOK(ecode4
)) {
10529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10531 arg4
= static_cast< int >(val4
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10548 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 PyObject
*resultobj
= 0;
10550 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10553 PyObject
*swig_obj
[1] ;
10555 if (!args
) SWIG_fail
;
10556 swig_obj
[0] = args
;
10557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10561 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 (arg1
)->SizeWindows();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_Py_Void();
10575 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= 0;
10577 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char * kwnames
[] = {
10586 (char *) "self",(char *) "needUpdating", NULL
10589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10591 if (!SWIG_IsOK(res1
)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10594 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10595 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10596 if (!SWIG_IsOK(ecode2
)) {
10597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10599 arg2
= static_cast< bool >(val2
);
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 (arg1
)->SetNeedUpdating(arg2
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_Py_Void();
10613 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10614 PyObject
*resultobj
= 0;
10615 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10619 PyObject
*swig_obj
[1] ;
10621 if (!args
) SWIG_fail
;
10622 swig_obj
[0] = args
;
10623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10624 if (!SWIG_IsOK(res1
)) {
10625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10627 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10643 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
= 0;
10645 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10646 SwigValueWrapper
<wxVisualAttributes
> result
;
10649 PyObject
* obj0
= 0 ;
10650 char * kwnames
[] = {
10651 (char *) "variant", NULL
10654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10657 if (!SWIG_IsOK(ecode1
)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10660 arg1
= static_cast< wxWindowVariant
>(val1
);
10663 if (!wxPyCheckForApp()) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10676 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10680 return SWIG_Py_Void();
10683 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10684 return SWIG_Python_InitShadowInstance(args
);
10687 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
= 0;
10689 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10690 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10691 wxSplitterEvent
*result
= 0 ;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 char * kwnames
[] = {
10699 (char *) "type",(char *) "splitter", NULL
10702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10705 if (!SWIG_IsOK(ecode1
)) {
10706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10708 arg1
= static_cast< wxEventType
>(val1
);
10711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10712 if (!SWIG_IsOK(res2
)) {
10713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10715 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10730 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
= 0;
10732 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10738 PyObject
* obj0
= 0 ;
10739 PyObject
* obj1
= 0 ;
10740 char * kwnames
[] = {
10741 (char *) "self",(char *) "pos", NULL
10744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10746 if (!SWIG_IsOK(res1
)) {
10747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10749 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10751 if (!SWIG_IsOK(ecode2
)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10754 arg2
= static_cast< int >(val2
);
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->SetSashPosition(arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= SWIG_Py_Void();
10768 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10769 PyObject
*resultobj
= 0;
10770 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10774 PyObject
*swig_obj
[1] ;
10776 if (!args
) SWIG_fail
;
10777 swig_obj
[0] = args
;
10778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10779 if (!SWIG_IsOK(res1
)) {
10780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10782 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= SWIG_From_int(static_cast< int >(result
));
10796 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10797 PyObject
*resultobj
= 0;
10798 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10799 wxWindow
*result
= 0 ;
10802 PyObject
*swig_obj
[1] ;
10804 if (!args
) SWIG_fail
;
10805 swig_obj
[0] = args
;
10806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10807 if (!SWIG_IsOK(res1
)) {
10808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10810 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= wxPyMake_wxObject(result
, 0);
10826 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10827 PyObject
*resultobj
= 0;
10828 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10832 PyObject
*swig_obj
[1] ;
10834 if (!args
) SWIG_fail
;
10835 swig_obj
[0] = args
;
10836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10837 if (!SWIG_IsOK(res1
)) {
10838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10840 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_From_int(static_cast< int >(result
));
10854 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10855 PyObject
*resultobj
= 0;
10856 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10860 PyObject
*swig_obj
[1] ;
10862 if (!args
) SWIG_fail
;
10863 swig_obj
[0] = args
;
10864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10868 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_From_int(static_cast< int >(result
));
10882 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10885 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10886 return SWIG_Py_Void();
10889 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10890 return SWIG_Python_InitShadowInstance(args
);
10893 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10894 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10899 SWIGINTERN PyObject
*SashNameStr_get(void) {
10900 PyObject
*pyobj
= 0;
10904 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10906 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10913 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10914 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10919 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10920 PyObject
*pyobj
= 0;
10924 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10926 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10933 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= 0;
10935 wxWindow
*arg1
= (wxWindow
*) 0 ;
10936 int arg2
= (int) -1 ;
10937 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10938 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10939 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10940 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10941 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10942 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10943 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10944 wxSashWindow
*result
= 0 ;
10953 bool temp6
= false ;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 PyObject
* obj2
= 0 ;
10957 PyObject
* obj3
= 0 ;
10958 PyObject
* obj4
= 0 ;
10959 PyObject
* obj5
= 0 ;
10960 char * kwnames
[] = {
10961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10969 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10972 if (!SWIG_IsOK(ecode2
)) {
10973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10975 arg2
= static_cast< int >(val2
);
10980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10986 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10990 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10991 if (!SWIG_IsOK(ecode5
)) {
10992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10994 arg5
= static_cast< long >(val5
);
10998 arg6
= wxString_in_helper(obj5
);
10999 if (arg6
== NULL
) SWIG_fail
;
11004 if (!wxPyCheckForApp()) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11025 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11026 PyObject
*resultobj
= 0;
11027 wxSashWindow
*result
= 0 ;
11029 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11031 if (!wxPyCheckForApp()) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (wxSashWindow
*)new wxSashWindow();
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11044 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
= 0;
11046 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11047 wxWindow
*arg2
= (wxWindow
*) 0 ;
11048 int arg3
= (int) -1 ;
11049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11053 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11054 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11067 bool temp7
= false ;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 PyObject
* obj3
= 0 ;
11072 PyObject
* obj4
= 0 ;
11073 PyObject
* obj5
= 0 ;
11074 PyObject
* obj6
= 0 ;
11075 char * kwnames
[] = {
11076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11081 if (!SWIG_IsOK(res1
)) {
11082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11084 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11086 if (!SWIG_IsOK(res2
)) {
11087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11092 if (!SWIG_IsOK(ecode3
)) {
11093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11095 arg3
= static_cast< int >(val3
);
11100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11111 if (!SWIG_IsOK(ecode6
)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11114 arg6
= static_cast< long >(val6
);
11118 arg7
= wxString_in_helper(obj6
);
11119 if (arg7
== NULL
) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11149 wxSashEdgePosition arg2
;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 PyObject
* obj2
= 0 ;
11160 char * kwnames
[] = {
11161 (char *) "self",(char *) "edge",(char *) "sash", NULL
11164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11169 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11171 if (!SWIG_IsOK(ecode2
)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11174 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11175 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11176 if (!SWIG_IsOK(ecode3
)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11179 arg3
= static_cast< bool >(val3
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 (arg1
)->SetSashVisible(arg2
,arg3
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= SWIG_Py_Void();
11193 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
= 0;
11195 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11196 wxSashEdgePosition arg2
;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char * kwnames
[] = {
11205 (char *) "self",(char *) "edge", NULL
11208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11210 if (!SWIG_IsOK(res1
)) {
11211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11213 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11215 if (!SWIG_IsOK(ecode2
)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11218 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
= 0;
11236 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11237 wxSashEdgePosition arg2
;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 char * kwnames
[] = {
11249 (char *) "self",(char *) "edge",(char *) "border", NULL
11252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11254 if (!SWIG_IsOK(res1
)) {
11255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11257 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11259 if (!SWIG_IsOK(ecode2
)) {
11260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11262 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11263 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11264 if (!SWIG_IsOK(ecode3
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11267 arg3
= static_cast< bool >(val3
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 (arg1
)->SetSashBorder(arg2
,arg3
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_Py_Void();
11281 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11283 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11284 wxSashEdgePosition arg2
;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "edge", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11301 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11303 if (!SWIG_IsOK(ecode2
)) {
11304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11306 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11322 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
= 0;
11324 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11325 wxSashEdgePosition arg2
;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 char * kwnames
[] = {
11334 (char *) "self",(char *) "edge", NULL
11337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11339 if (!SWIG_IsOK(res1
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11342 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11344 if (!SWIG_IsOK(ecode2
)) {
11345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11347 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_From_int(static_cast< int >(result
));
11361 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
= 0;
11363 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 char * kwnames
[] = {
11372 (char *) "self",(char *) "width", NULL
11375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11377 if (!SWIG_IsOK(res1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11380 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11382 if (!SWIG_IsOK(ecode2
)) {
11383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11385 arg2
= static_cast< int >(val2
);
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 (arg1
)->SetDefaultBorderSize(arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_Py_Void();
11399 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11400 PyObject
*resultobj
= 0;
11401 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11405 PyObject
*swig_obj
[1] ;
11407 if (!args
) SWIG_fail
;
11408 swig_obj
[0] = args
;
11409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11413 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_From_int(static_cast< int >(result
));
11427 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
= 0;
11429 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 char * kwnames
[] = {
11438 (char *) "self",(char *) "width", NULL
11441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11443 if (!SWIG_IsOK(res1
)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11446 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11448 if (!SWIG_IsOK(ecode2
)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11451 arg2
= static_cast< int >(val2
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 (arg1
)->SetExtraBorderSize(arg2
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_Py_Void();
11465 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11466 PyObject
*resultobj
= 0;
11467 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11471 PyObject
*swig_obj
[1] ;
11473 if (!args
) SWIG_fail
;
11474 swig_obj
[0] = args
;
11475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11479 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_From_int(static_cast< int >(result
));
11493 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
= 0;
11495 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 char * kwnames
[] = {
11504 (char *) "self",(char *) "min", NULL
11507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11512 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11514 if (!SWIG_IsOK(ecode2
)) {
11515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11517 arg2
= static_cast< int >(val2
);
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 (arg1
)->SetMinimumSizeX(arg2
);
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= SWIG_Py_Void();
11531 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
= 0;
11533 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 char * kwnames
[] = {
11542 (char *) "self",(char *) "min", NULL
11545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11547 if (!SWIG_IsOK(res1
)) {
11548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11550 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11552 if (!SWIG_IsOK(ecode2
)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11555 arg2
= static_cast< int >(val2
);
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 (arg1
)->SetMinimumSizeY(arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_Py_Void();
11569 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11570 PyObject
*resultobj
= 0;
11571 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11575 PyObject
*swig_obj
[1] ;
11577 if (!args
) SWIG_fail
;
11578 swig_obj
[0] = args
;
11579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11580 if (!SWIG_IsOK(res1
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11583 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_From_int(static_cast< int >(result
));
11597 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11598 PyObject
*resultobj
= 0;
11599 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11603 PyObject
*swig_obj
[1] ;
11605 if (!args
) SWIG_fail
;
11606 swig_obj
[0] = args
;
11607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11608 if (!SWIG_IsOK(res1
)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11611 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_From_int(static_cast< int >(result
));
11625 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
= 0;
11627 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 char * kwnames
[] = {
11636 (char *) "self",(char *) "max", NULL
11639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11644 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11646 if (!SWIG_IsOK(ecode2
)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11649 arg2
= static_cast< int >(val2
);
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 (arg1
)->SetMaximumSizeX(arg2
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_Py_Void();
11663 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
= 0;
11665 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 PyObject
* obj1
= 0 ;
11673 char * kwnames
[] = {
11674 (char *) "self",(char *) "max", NULL
11677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11679 if (!SWIG_IsOK(res1
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11682 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11684 if (!SWIG_IsOK(ecode2
)) {
11685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11687 arg2
= static_cast< int >(val2
);
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->SetMaximumSizeY(arg2
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= SWIG_Py_Void();
11701 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11702 PyObject
*resultobj
= 0;
11703 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11707 PyObject
*swig_obj
[1] ;
11709 if (!args
) SWIG_fail
;
11710 swig_obj
[0] = args
;
11711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11712 if (!SWIG_IsOK(res1
)) {
11713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11715 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_From_int(static_cast< int >(result
));
11729 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11730 PyObject
*resultobj
= 0;
11731 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11735 PyObject
*swig_obj
[1] ;
11737 if (!args
) SWIG_fail
;
11738 swig_obj
[0] = args
;
11739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11740 if (!SWIG_IsOK(res1
)) {
11741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11743 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= SWIG_From_int(static_cast< int >(result
));
11757 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
= 0;
11759 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11762 int arg4
= (int) 2 ;
11763 wxSashEdgePosition result
;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 PyObject
* obj2
= 0 ;
11775 PyObject
* obj3
= 0 ;
11776 char * kwnames
[] = {
11777 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11782 if (!SWIG_IsOK(res1
)) {
11783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11785 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11787 if (!SWIG_IsOK(ecode2
)) {
11788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11790 arg2
= static_cast< int >(val2
);
11791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11792 if (!SWIG_IsOK(ecode3
)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11795 arg3
= static_cast< int >(val3
);
11797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11798 if (!SWIG_IsOK(ecode4
)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11801 arg4
= static_cast< int >(val4
);
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_From_int(static_cast< int >(result
));
11816 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11817 PyObject
*resultobj
= 0;
11818 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11821 PyObject
*swig_obj
[1] ;
11823 if (!args
) SWIG_fail
;
11824 swig_obj
[0] = args
;
11825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11826 if (!SWIG_IsOK(res1
)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11829 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 (arg1
)->SizeWindows();
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= SWIG_Py_Void();
11843 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11846 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11847 return SWIG_Py_Void();
11850 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11851 return SWIG_Python_InitShadowInstance(args
);
11854 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
= 0;
11856 int arg1
= (int) 0 ;
11857 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11858 wxSashEvent
*result
= 0 ;
11863 PyObject
* obj0
= 0 ;
11864 PyObject
* obj1
= 0 ;
11865 char * kwnames
[] = {
11866 (char *) "id",(char *) "edge", NULL
11869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11871 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11872 if (!SWIG_IsOK(ecode1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11875 arg1
= static_cast< int >(val1
);
11878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11879 if (!SWIG_IsOK(ecode2
)) {
11880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11882 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11897 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
= 0;
11899 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11900 wxSashEdgePosition arg2
;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 char * kwnames
[] = {
11908 (char *) "self",(char *) "edge", NULL
11911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11916 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11918 if (!SWIG_IsOK(ecode2
)) {
11919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11921 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetEdge(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11935 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11938 wxSashEdgePosition result
;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11949 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_From_int(static_cast< int >(result
));
11963 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
= 0;
11965 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char * kwnames
[] = {
11973 (char *) "self",(char *) "rect", NULL
11976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11978 if (!SWIG_IsOK(res1
)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11981 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11984 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= SWIG_Py_Void();
11999 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12000 PyObject
*resultobj
= 0;
12001 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12005 PyObject
*swig_obj
[1] ;
12007 if (!args
) SWIG_fail
;
12008 swig_obj
[0] = args
;
12009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12013 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12027 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
= 0;
12029 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12030 wxSashDragStatus arg2
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char * kwnames
[] = {
12038 (char *) "self",(char *) "status", NULL
12041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12043 if (!SWIG_IsOK(res1
)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12046 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12048 if (!SWIG_IsOK(ecode2
)) {
12049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12051 arg2
= static_cast< wxSashDragStatus
>(val2
);
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 (arg1
)->SetDragStatus(arg2
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_Py_Void();
12065 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12066 PyObject
*resultobj
= 0;
12067 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12068 wxSashDragStatus result
;
12071 PyObject
*swig_obj
[1] ;
12073 if (!args
) SWIG_fail
;
12074 swig_obj
[0] = args
;
12075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12079 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_From_int(static_cast< int >(result
));
12093 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12096 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12097 return SWIG_Py_Void();
12100 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12101 return SWIG_Python_InitShadowInstance(args
);
12104 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
= 0;
12106 int arg1
= (int) 0 ;
12107 wxQueryLayoutInfoEvent
*result
= 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char * kwnames
[] = {
12112 (char *) "id", NULL
12115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12118 if (!SWIG_IsOK(ecode1
)) {
12119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12121 arg1
= static_cast< int >(val1
);
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12136 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
= 0;
12138 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 char * kwnames
[] = {
12147 (char *) "self",(char *) "length", NULL
12150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12152 if (!SWIG_IsOK(res1
)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12155 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12157 if (!SWIG_IsOK(ecode2
)) {
12158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12160 arg2
= static_cast< int >(val2
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->SetRequestedLength(arg2
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_Py_Void();
12174 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12188 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
= 0;
12204 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 char * kwnames
[] = {
12213 (char *) "self",(char *) "flags", NULL
12216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12218 if (!SWIG_IsOK(res1
)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12221 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12223 if (!SWIG_IsOK(ecode2
)) {
12224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12226 arg2
= static_cast< int >(val2
);
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetFlags(arg2
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_Py_Void();
12240 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12241 PyObject
*resultobj
= 0;
12242 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12246 PyObject
*swig_obj
[1] ;
12248 if (!args
) SWIG_fail
;
12249 swig_obj
[0] = args
;
12250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12251 if (!SWIG_IsOK(res1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12254 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_From_int(static_cast< int >(result
));
12268 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
= 0;
12270 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 PyObject
* obj1
= 0 ;
12277 char * kwnames
[] = {
12278 (char *) "self",(char *) "size", NULL
12281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12286 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12289 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->SetSize((wxSize
const &)*arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_Py_Void();
12304 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12305 PyObject
*resultobj
= 0;
12306 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12310 PyObject
*swig_obj
[1] ;
12312 if (!args
) SWIG_fail
;
12313 swig_obj
[0] = args
;
12314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12315 if (!SWIG_IsOK(res1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12318 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12332 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
= 0;
12334 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12335 wxLayoutOrientation arg2
;
12340 PyObject
* obj0
= 0 ;
12341 PyObject
* obj1
= 0 ;
12342 char * kwnames
[] = {
12343 (char *) "self",(char *) "orient", NULL
12346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12348 if (!SWIG_IsOK(res1
)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12351 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12353 if (!SWIG_IsOK(ecode2
)) {
12354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12356 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 (arg1
)->SetOrientation(arg2
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_Py_Void();
12370 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12371 PyObject
*resultobj
= 0;
12372 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12373 wxLayoutOrientation result
;
12376 PyObject
*swig_obj
[1] ;
12378 if (!args
) SWIG_fail
;
12379 swig_obj
[0] = args
;
12380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12384 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_From_int(static_cast< int >(result
));
12398 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
= 0;
12400 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12401 wxLayoutAlignment arg2
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "self",(char *) "align", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12417 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12419 if (!SWIG_IsOK(ecode2
)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12422 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->SetAlignment(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12437 PyObject
*resultobj
= 0;
12438 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12439 wxLayoutAlignment result
;
12442 PyObject
*swig_obj
[1] ;
12444 if (!args
) SWIG_fail
;
12445 swig_obj
[0] = args
;
12446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12447 if (!SWIG_IsOK(res1
)) {
12448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12450 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= SWIG_From_int(static_cast< int >(result
));
12464 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12467 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12468 return SWIG_Py_Void();
12471 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 return SWIG_Python_InitShadowInstance(args
);
12475 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
= 0;
12477 int arg1
= (int) 0 ;
12478 wxCalculateLayoutEvent
*result
= 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char * kwnames
[] = {
12483 (char *) "id", NULL
12486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12489 if (!SWIG_IsOK(ecode1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12492 arg1
= static_cast< int >(val1
);
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12507 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
= 0;
12509 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 char * kwnames
[] = {
12518 (char *) "self",(char *) "flags", NULL
12521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12526 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12528 if (!SWIG_IsOK(ecode2
)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12531 arg2
= static_cast< int >(val2
);
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->SetFlags(arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_Py_Void();
12545 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12546 PyObject
*resultobj
= 0;
12547 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12551 PyObject
*swig_obj
[1] ;
12553 if (!args
) SWIG_fail
;
12554 swig_obj
[0] = args
;
12555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12559 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_From_int(static_cast< int >(result
));
12573 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
= 0;
12575 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char * kwnames
[] = {
12583 (char *) "self",(char *) "rect", NULL
12586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12588 if (!SWIG_IsOK(res1
)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12591 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12594 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetRect((wxRect
const &)*arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_Py_Void();
12609 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12610 PyObject
*resultobj
= 0;
12611 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12615 PyObject
*swig_obj
[1] ;
12617 if (!args
) SWIG_fail
;
12618 swig_obj
[0] = args
;
12619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12623 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12637 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12640 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12641 return SWIG_Py_Void();
12644 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12645 return SWIG_Python_InitShadowInstance(args
);
12648 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
= 0;
12650 wxWindow
*arg1
= (wxWindow
*) 0 ;
12651 int arg2
= (int) -1 ;
12652 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12653 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12654 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12655 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12656 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12657 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12658 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12659 wxSashLayoutWindow
*result
= 0 ;
12668 bool temp6
= false ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 PyObject
* obj2
= 0 ;
12672 PyObject
* obj3
= 0 ;
12673 PyObject
* obj4
= 0 ;
12674 PyObject
* obj5
= 0 ;
12675 char * kwnames
[] = {
12676 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12681 if (!SWIG_IsOK(res1
)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12684 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12687 if (!SWIG_IsOK(ecode2
)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12690 arg2
= static_cast< int >(val2
);
12695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12705 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12706 if (!SWIG_IsOK(ecode5
)) {
12707 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12709 arg5
= static_cast< long >(val5
);
12713 arg6
= wxString_in_helper(obj5
);
12714 if (arg6
== NULL
) SWIG_fail
;
12719 if (!wxPyCheckForApp()) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12740 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12741 PyObject
*resultobj
= 0;
12742 wxSashLayoutWindow
*result
= 0 ;
12744 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12746 if (!wxPyCheckForApp()) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12759 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12762 wxWindow
*arg2
= (wxWindow
*) 0 ;
12763 int arg3
= (int) -1 ;
12764 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12765 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12766 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12767 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12768 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12769 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12770 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12782 bool temp7
= false ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 PyObject
* obj2
= 0 ;
12786 PyObject
* obj3
= 0 ;
12787 PyObject
* obj4
= 0 ;
12788 PyObject
* obj5
= 0 ;
12789 PyObject
* obj6
= 0 ;
12790 char * kwnames
[] = {
12791 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12796 if (!SWIG_IsOK(res1
)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12799 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12801 if (!SWIG_IsOK(res2
)) {
12802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12804 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12807 if (!SWIG_IsOK(ecode3
)) {
12808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12810 arg3
= static_cast< int >(val3
);
12815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12826 if (!SWIG_IsOK(ecode6
)) {
12827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12829 arg6
= static_cast< long >(val6
);
12833 arg7
= wxString_in_helper(obj6
);
12834 if (arg7
== NULL
) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12861 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12862 PyObject
*resultobj
= 0;
12863 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12864 wxLayoutAlignment result
;
12867 PyObject
*swig_obj
[1] ;
12869 if (!args
) SWIG_fail
;
12870 swig_obj
[0] = args
;
12871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12872 if (!SWIG_IsOK(res1
)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12875 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= SWIG_From_int(static_cast< int >(result
));
12889 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12890 PyObject
*resultobj
= 0;
12891 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12892 wxLayoutOrientation result
;
12895 PyObject
*swig_obj
[1] ;
12897 if (!args
) SWIG_fail
;
12898 swig_obj
[0] = args
;
12899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12900 if (!SWIG_IsOK(res1
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12903 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= SWIG_From_int(static_cast< int >(result
));
12917 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
= 0;
12919 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12920 wxLayoutAlignment arg2
;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 char * kwnames
[] = {
12928 (char *) "self",(char *) "alignment", NULL
12931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12936 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12941 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 (arg1
)->SetAlignment(arg2
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_Py_Void();
12955 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
= 0;
12957 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char * kwnames
[] = {
12965 (char *) "self",(char *) "size", NULL
12968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12970 if (!SWIG_IsOK(res1
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12973 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12976 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_Py_Void();
12991 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= 0;
12993 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12994 wxLayoutOrientation arg2
;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 char * kwnames
[] = {
13002 (char *) "self",(char *) "orientation", NULL
13005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
13007 if (!SWIG_IsOK(res1
)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13010 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
13011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13012 if (!SWIG_IsOK(ecode2
)) {
13013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13015 arg2
= static_cast< wxLayoutOrientation
>(val2
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 (arg1
)->SetOrientation(arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= SWIG_Py_Void();
13029 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13032 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
13033 return SWIG_Py_Void();
13036 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13037 return SWIG_Python_InitShadowInstance(args
);
13040 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13041 PyObject
*resultobj
= 0;
13042 wxLayoutAlgorithm
*result
= 0 ;
13044 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
13058 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13059 PyObject
*resultobj
= 0;
13060 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13063 PyObject
*swig_obj
[1] ;
13065 if (!args
) SWIG_fail
;
13066 swig_obj
[0] = args
;
13067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13068 if (!SWIG_IsOK(res1
)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13071 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_Py_Void();
13086 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= 0;
13088 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13089 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13090 wxRect
*arg3
= (wxRect
*) NULL
;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 PyObject
* obj2
= 0 ;
13101 char * kwnames
[] = {
13102 (char *) "self",(char *) "frame",(char *) "rect", NULL
13105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13107 if (!SWIG_IsOK(res1
)) {
13108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13110 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13112 if (!SWIG_IsOK(res2
)) {
13113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13115 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13117 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13118 if (!SWIG_IsOK(res3
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13121 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13138 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
= 0;
13140 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13141 wxFrame
*arg2
= (wxFrame
*) 0 ;
13142 wxWindow
*arg3
= (wxWindow
*) NULL
;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 PyObject
* obj2
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13159 if (!SWIG_IsOK(res1
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13162 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13164 if (!SWIG_IsOK(res2
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13167 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13169 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13170 if (!SWIG_IsOK(res3
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13173 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13190 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
= 0;
13192 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13193 wxWindow
*arg2
= (wxWindow
*) 0 ;
13194 wxWindow
*arg3
= (wxWindow
*) NULL
;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 PyObject
* obj2
= 0 ;
13205 char * kwnames
[] = {
13206 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13211 if (!SWIG_IsOK(res1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13214 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13216 if (!SWIG_IsOK(res2
)) {
13217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13219 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13221 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13222 if (!SWIG_IsOK(res3
)) {
13223 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13225 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13242 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13246 return SWIG_Py_Void();
13249 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13250 return SWIG_Python_InitShadowInstance(args
);
13253 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= 0;
13255 wxWindow
*arg1
= (wxWindow
*) 0 ;
13256 int arg2
= (int) wxBORDER_NONE
;
13257 wxPopupWindow
*result
= 0 ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 char * kwnames
[] = {
13265 (char *) "parent",(char *) "flags", NULL
13268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13270 if (!SWIG_IsOK(res1
)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13273 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13276 if (!SWIG_IsOK(ecode2
)) {
13277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13279 arg2
= static_cast< int >(val2
);
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13294 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13295 PyObject
*resultobj
= 0;
13296 wxPopupWindow
*result
= 0 ;
13298 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (wxPopupWindow
*)new wxPopupWindow();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13312 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13316 return SWIG_Py_Void();
13319 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13320 return SWIG_Python_InitShadowInstance(args
);
13323 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
= 0;
13325 wxWindow
*arg1
= (wxWindow
*) 0 ;
13326 int arg2
= (int) wxBORDER_NONE
;
13327 wxPyPopupTransientWindow
*result
= 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char * kwnames
[] = {
13335 (char *) "parent",(char *) "style", NULL
13338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13340 if (!SWIG_IsOK(res1
)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13346 if (!SWIG_IsOK(ecode2
)) {
13347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13349 arg2
= static_cast< int >(val2
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13364 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13365 PyObject
*resultobj
= 0;
13366 wxPyPopupTransientWindow
*result
= 0 ;
13368 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13382 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13386 return SWIG_Py_Void();
13389 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13390 return SWIG_Python_InitShadowInstance(args
);
13393 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
= 0;
13395 wxWindow
*arg1
= (wxWindow
*) 0 ;
13396 wxString
*arg2
= 0 ;
13397 int arg3
= (int) 100 ;
13398 wxRect
*arg4
= (wxRect
*) NULL
;
13399 wxTipWindow
*result
= 0 ;
13402 bool temp2
= false ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 PyObject
* obj2
= 0 ;
13410 PyObject
* obj3
= 0 ;
13411 char * kwnames
[] = {
13412 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13417 if (!SWIG_IsOK(res1
)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13422 arg2
= wxString_in_helper(obj1
);
13423 if (arg2
== NULL
) SWIG_fail
;
13427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13428 if (!SWIG_IsOK(ecode3
)) {
13429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13431 arg3
= static_cast< int >(val3
);
13434 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13435 if (!SWIG_IsOK(res4
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13438 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13441 if (!wxPyCheckForApp()) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13462 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
= 0;
13464 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char * kwnames
[] = {
13472 (char *) "self",(char *) "rectBound", NULL
13475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13480 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13483 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_Py_Void();
13498 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13499 PyObject
*resultobj
= 0;
13500 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13503 PyObject
*swig_obj
[1] ;
13505 if (!args
) SWIG_fail
;
13506 swig_obj
[0] = args
;
13507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13508 if (!SWIG_IsOK(res1
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13511 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_Py_Void();
13525 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13528 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13529 return SWIG_Py_Void();
13532 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13533 return SWIG_Python_InitShadowInstance(args
);
13536 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= 0;
13538 wxWindow
*arg1
= (wxWindow
*) 0 ;
13539 int arg2
= (int) wxID_ANY
;
13540 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13541 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13542 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13543 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13544 long arg5
= (long) 0 ;
13545 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13546 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13547 wxPyVScrolledWindow
*result
= 0 ;
13556 bool temp6
= false ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 PyObject
* obj2
= 0 ;
13560 PyObject
* obj3
= 0 ;
13561 PyObject
* obj4
= 0 ;
13562 PyObject
* obj5
= 0 ;
13563 char * kwnames
[] = {
13564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13569 if (!SWIG_IsOK(res1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13575 if (!SWIG_IsOK(ecode2
)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13578 arg2
= static_cast< int >(val2
);
13583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13589 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13593 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13594 if (!SWIG_IsOK(ecode5
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13597 arg5
= static_cast< long >(val5
);
13601 arg6
= wxString_in_helper(obj5
);
13602 if (arg6
== NULL
) SWIG_fail
;
13607 if (!wxPyCheckForApp()) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13628 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13629 PyObject
*resultobj
= 0;
13630 wxPyVScrolledWindow
*result
= 0 ;
13632 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13634 if (!wxPyCheckForApp()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13647 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= 0;
13649 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13650 PyObject
*arg2
= (PyObject
*) 0 ;
13651 PyObject
*arg3
= (PyObject
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 PyObject
* obj2
= 0 ;
13657 char * kwnames
[] = {
13658 (char *) "self",(char *) "self",(char *) "_class", NULL
13661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13663 if (!SWIG_IsOK(res1
)) {
13664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13666 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_Py_Void();
13682 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= 0;
13684 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13685 wxWindow
*arg2
= (wxWindow
*) 0 ;
13686 int arg3
= (int) wxID_ANY
;
13687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13691 long arg6
= (long) 0 ;
13692 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13705 bool temp7
= false ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 PyObject
* obj2
= 0 ;
13709 PyObject
* obj3
= 0 ;
13710 PyObject
* obj4
= 0 ;
13711 PyObject
* obj5
= 0 ;
13712 PyObject
* obj6
= 0 ;
13713 char * kwnames
[] = {
13714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13719 if (!SWIG_IsOK(res1
)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13722 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13724 if (!SWIG_IsOK(res2
)) {
13725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13730 if (!SWIG_IsOK(ecode3
)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13733 arg3
= static_cast< int >(val3
);
13738 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13744 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13748 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13749 if (!SWIG_IsOK(ecode6
)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13752 arg6
= static_cast< long >(val6
);
13756 arg7
= wxString_in_helper(obj6
);
13757 if (arg7
== NULL
) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13784 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
= 0;
13786 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 char * kwnames
[] = {
13795 (char *) "self",(char *) "count", NULL
13798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13800 if (!SWIG_IsOK(res1
)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13803 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13804 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13805 if (!SWIG_IsOK(ecode2
)) {
13806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13808 arg2
= static_cast< size_t >(val2
);
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 (arg1
)->SetLineCount(arg2
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_Py_Void();
13822 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
= 0;
13824 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 char * kwnames
[] = {
13834 (char *) "self",(char *) "line", NULL
13837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13839 if (!SWIG_IsOK(res1
)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13842 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13843 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13844 if (!SWIG_IsOK(ecode2
)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13847 arg2
= static_cast< size_t >(val2
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13863 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
= 0;
13865 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13871 PyObject
* obj0
= 0 ;
13872 PyObject
* obj1
= 0 ;
13873 char * kwnames
[] = {
13874 (char *) "self",(char *) "line", NULL
13877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13879 if (!SWIG_IsOK(res1
)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13882 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13883 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13884 if (!SWIG_IsOK(ecode2
)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13887 arg2
= static_cast< size_t >(val2
);
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 (arg1
)->RefreshLine(arg2
);
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_Py_Void();
13901 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 PyObject
* obj2
= 0 ;
13915 char * kwnames
[] = {
13916 (char *) "self",(char *) "from",(char *) "to", NULL
13919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13921 if (!SWIG_IsOK(res1
)) {
13922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13924 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13925 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13926 if (!SWIG_IsOK(ecode2
)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13929 arg2
= static_cast< size_t >(val2
);
13930 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13931 if (!SWIG_IsOK(ecode3
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13934 arg3
= static_cast< size_t >(val3
);
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 (arg1
)->RefreshLines(arg2
,arg3
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_Py_Void();
13948 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
= 0;
13950 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 PyObject
* obj2
= 0 ;
13963 char * kwnames
[] = {
13964 (char *) "self",(char *) "x",(char *) "y", NULL
13967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13972 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13974 if (!SWIG_IsOK(ecode2
)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13977 arg2
= static_cast< int >(val2
);
13978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13979 if (!SWIG_IsOK(ecode3
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13982 arg3
= static_cast< int >(val3
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_From_int(static_cast< int >(result
));
13996 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= 0;
13998 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13999 wxPoint
*arg2
= 0 ;
14004 PyObject
* obj0
= 0 ;
14005 PyObject
* obj1
= 0 ;
14006 char * kwnames
[] = {
14007 (char *) "self",(char *) "pt", NULL
14010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14012 if (!SWIG_IsOK(res1
)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14015 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_From_int(static_cast< int >(result
));
14033 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14034 PyObject
*resultobj
= 0;
14035 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14038 PyObject
*swig_obj
[1] ;
14040 if (!args
) SWIG_fail
;
14041 swig_obj
[0] = args
;
14042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14043 if (!SWIG_IsOK(res1
)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14046 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 (arg1
)->RefreshAll();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_Py_Void();
14060 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14061 PyObject
*resultobj
= 0;
14062 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14066 PyObject
*swig_obj
[1] ;
14068 if (!args
) SWIG_fail
;
14069 swig_obj
[0] = args
;
14070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14071 if (!SWIG_IsOK(res1
)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14074 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14088 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14089 PyObject
*resultobj
= 0;
14090 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14094 PyObject
*swig_obj
[1] ;
14096 if (!args
) SWIG_fail
;
14097 swig_obj
[0] = args
;
14098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14099 if (!SWIG_IsOK(res1
)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14102 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14116 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14117 PyObject
*resultobj
= 0;
14118 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14122 PyObject
*swig_obj
[1] ;
14124 if (!args
) SWIG_fail
;
14125 swig_obj
[0] = args
;
14126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14127 if (!SWIG_IsOK(res1
)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14130 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14144 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
= 0;
14146 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char * kwnames
[] = {
14156 (char *) "self",(char *) "line", NULL
14159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14161 if (!SWIG_IsOK(res1
)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14164 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14165 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14166 if (!SWIG_IsOK(ecode2
)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14169 arg2
= static_cast< size_t >(val2
);
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14185 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14186 PyObject
*resultobj
= 0;
14187 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14191 PyObject
*swig_obj
[1] ;
14193 if (!args
) SWIG_fail
;
14194 swig_obj
[0] = args
;
14195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14196 if (!SWIG_IsOK(res1
)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14199 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14213 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14214 PyObject
*resultobj
= 0;
14215 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14219 PyObject
*swig_obj
[1] ;
14221 if (!args
) SWIG_fail
;
14222 swig_obj
[0] = args
;
14223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14227 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14241 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
= 0;
14243 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14245 bool arg3
= (bool) false ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 PyObject
* obj2
= 0 ;
14256 char * kwnames
[] = {
14257 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14265 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14266 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14267 if (!SWIG_IsOK(ecode2
)) {
14268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14270 arg2
= static_cast< size_t >(val2
);
14272 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14273 if (!SWIG_IsOK(ecode3
)) {
14274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14276 arg3
= static_cast< bool >(val3
);
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14291 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
= 0;
14293 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char * kwnames
[] = {
14307 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14315 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14316 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14317 if (!SWIG_IsOK(ecode2
)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14320 arg2
= static_cast< size_t >(val2
);
14321 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14322 if (!SWIG_IsOK(ecode3
)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14325 arg3
= static_cast< size_t >(val3
);
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= SWIG_From_int(static_cast< int >(result
));
14339 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14342 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14343 return SWIG_Py_Void();
14346 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 return SWIG_Python_InitShadowInstance(args
);
14350 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14351 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14356 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14357 PyObject
*pyobj
= 0;
14361 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14363 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14370 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
= 0;
14372 wxWindow
*arg1
= (wxWindow
*) 0 ;
14373 int arg2
= (int) wxID_ANY
;
14374 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14375 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14376 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14377 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14378 long arg5
= (long) 0 ;
14379 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14380 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14381 wxPyVListBox
*result
= 0 ;
14390 bool temp6
= false ;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 PyObject
* obj2
= 0 ;
14394 PyObject
* obj3
= 0 ;
14395 PyObject
* obj4
= 0 ;
14396 PyObject
* obj5
= 0 ;
14397 char * kwnames
[] = {
14398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14403 if (!SWIG_IsOK(res1
)) {
14404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14409 if (!SWIG_IsOK(ecode2
)) {
14410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14412 arg2
= static_cast< int >(val2
);
14417 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14423 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14427 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14428 if (!SWIG_IsOK(ecode5
)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14431 arg5
= static_cast< long >(val5
);
14435 arg6
= wxString_in_helper(obj5
);
14436 if (arg6
== NULL
) SWIG_fail
;
14441 if (!wxPyCheckForApp()) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14462 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14463 PyObject
*resultobj
= 0;
14464 wxPyVListBox
*result
= 0 ;
14466 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14468 if (!wxPyCheckForApp()) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (wxPyVListBox
*)new wxPyVListBox();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14481 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
= 0;
14483 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14484 PyObject
*arg2
= (PyObject
*) 0 ;
14485 PyObject
*arg3
= (PyObject
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 PyObject
* obj2
= 0 ;
14491 char * kwnames
[] = {
14492 (char *) "self",(char *) "self",(char *) "_class", NULL
14495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14497 if (!SWIG_IsOK(res1
)) {
14498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14500 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_Py_Void();
14516 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
= 0;
14518 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14519 wxWindow
*arg2
= (wxWindow
*) 0 ;
14520 int arg3
= (int) wxID_ANY
;
14521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14525 long arg6
= (long) 0 ;
14526 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14527 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14539 bool temp7
= false ;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 PyObject
* obj2
= 0 ;
14543 PyObject
* obj3
= 0 ;
14544 PyObject
* obj4
= 0 ;
14545 PyObject
* obj5
= 0 ;
14546 PyObject
* obj6
= 0 ;
14547 char * kwnames
[] = {
14548 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14556 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14558 if (!SWIG_IsOK(res2
)) {
14559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14561 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14564 if (!SWIG_IsOK(ecode3
)) {
14565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14567 arg3
= static_cast< int >(val3
);
14572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14582 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14583 if (!SWIG_IsOK(ecode6
)) {
14584 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14586 arg6
= static_cast< long >(val6
);
14590 arg7
= wxString_in_helper(obj6
);
14591 if (arg7
== NULL
) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14618 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14619 PyObject
*resultobj
= 0;
14620 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14624 PyObject
*swig_obj
[1] ;
14626 if (!args
) SWIG_fail
;
14627 swig_obj
[0] = args
;
14628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14629 if (!SWIG_IsOK(res1
)) {
14630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14632 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14646 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14647 PyObject
*resultobj
= 0;
14648 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14652 PyObject
*swig_obj
[1] ;
14654 if (!args
) SWIG_fail
;
14655 swig_obj
[0] = args
;
14656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14657 if (!SWIG_IsOK(res1
)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14660 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14676 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14677 PyObject
*resultobj
= 0;
14678 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14682 PyObject
*swig_obj
[1] ;
14684 if (!args
) SWIG_fail
;
14685 swig_obj
[0] = args
;
14686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14687 if (!SWIG_IsOK(res1
)) {
14688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14690 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= SWIG_From_int(static_cast< int >(result
));
14704 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
= 0;
14706 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 char * kwnames
[] = {
14716 (char *) "self",(char *) "item", NULL
14719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14721 if (!SWIG_IsOK(res1
)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14724 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14725 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14726 if (!SWIG_IsOK(ecode2
)) {
14727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14729 arg2
= static_cast< size_t >(val2
);
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14745 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
= 0;
14747 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 char * kwnames
[] = {
14757 (char *) "self",(char *) "item", NULL
14760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14762 if (!SWIG_IsOK(res1
)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14765 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14766 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14767 if (!SWIG_IsOK(ecode2
)) {
14768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14770 arg2
= static_cast< size_t >(val2
);
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14787 PyObject
*resultobj
= 0;
14788 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14792 PyObject
*swig_obj
[1] ;
14794 if (!args
) SWIG_fail
;
14795 swig_obj
[0] = args
;
14796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14800 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14814 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14815 PyObject
*resultobj
= 0;
14816 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14817 PyObject
*result
= 0 ;
14820 PyObject
*swig_obj
[1] ;
14822 if (!args
) SWIG_fail
;
14823 swig_obj
[0] = args
;
14824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14825 if (!SWIG_IsOK(res1
)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14828 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= result
;
14842 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
= 0;
14844 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14845 unsigned long arg2
;
14846 PyObject
*result
= 0 ;
14849 unsigned long val2
;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 char * kwnames
[] = {
14854 (char *) "self",(char *) "cookie", NULL
14857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14859 if (!SWIG_IsOK(res1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14862 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14863 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14864 if (!SWIG_IsOK(ecode2
)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14867 arg2
= static_cast< unsigned long >(val2
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= result
;
14881 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14882 PyObject
*resultobj
= 0;
14883 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14887 PyObject
*swig_obj
[1] ;
14889 if (!args
) SWIG_fail
;
14890 swig_obj
[0] = args
;
14891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14892 if (!SWIG_IsOK(res1
)) {
14893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14895 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14909 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14910 PyObject
*resultobj
= 0;
14911 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14912 wxColour
*result
= 0 ;
14915 PyObject
*swig_obj
[1] ;
14917 if (!args
) SWIG_fail
;
14918 swig_obj
[0] = args
;
14919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14923 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14928 result
= (wxColour
*) &_result_ref
;
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14940 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
= 0;
14942 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14950 char * kwnames
[] = {
14951 (char *) "self",(char *) "count", NULL
14954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14956 if (!SWIG_IsOK(res1
)) {
14957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14959 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14960 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14961 if (!SWIG_IsOK(ecode2
)) {
14962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14964 arg2
= static_cast< size_t >(val2
);
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 (arg1
)->SetItemCount(arg2
);
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_Py_Void();
14978 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14979 PyObject
*resultobj
= 0;
14980 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14983 PyObject
*swig_obj
[1] ;
14985 if (!args
) SWIG_fail
;
14986 swig_obj
[0] = args
;
14987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14991 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_Py_Void();
15005 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char * kwnames
[] = {
15016 (char *) "self",(char *) "selection", NULL
15019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15024 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15026 if (!SWIG_IsOK(ecode2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15029 arg2
= static_cast< int >(val2
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->SetSelection(arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_Py_Void();
15043 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= 0;
15045 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15047 bool arg3
= (bool) true ;
15055 PyObject
* obj0
= 0 ;
15056 PyObject
* obj1
= 0 ;
15057 PyObject
* obj2
= 0 ;
15058 char * kwnames
[] = {
15059 (char *) "self",(char *) "item",(char *) "select", NULL
15062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15064 if (!SWIG_IsOK(res1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15067 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15068 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15069 if (!SWIG_IsOK(ecode2
)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15072 arg2
= static_cast< size_t >(val2
);
15074 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15075 if (!SWIG_IsOK(ecode3
)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15078 arg3
= static_cast< bool >(val3
);
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15095 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
= 0;
15097 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 PyObject
* obj2
= 0 ;
15110 char * kwnames
[] = {
15111 (char *) "self",(char *) "from",(char *) "to", NULL
15114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15116 if (!SWIG_IsOK(res1
)) {
15117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15119 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15120 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15121 if (!SWIG_IsOK(ecode2
)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15124 arg2
= static_cast< size_t >(val2
);
15125 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15126 if (!SWIG_IsOK(ecode3
)) {
15127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15129 arg3
= static_cast< size_t >(val3
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15145 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
= 0;
15147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 char * kwnames
[] = {
15156 (char *) "self",(char *) "item", NULL
15159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15161 if (!SWIG_IsOK(res1
)) {
15162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15164 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15165 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15166 if (!SWIG_IsOK(ecode2
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15169 arg2
= static_cast< size_t >(val2
);
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 (arg1
)->Toggle(arg2
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_Py_Void();
15183 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15189 PyObject
*swig_obj
[1] ;
15191 if (!args
) SWIG_fail
;
15192 swig_obj
[0] = args
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15197 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (bool)(arg1
)->SelectAll();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15213 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15214 PyObject
*resultobj
= 0;
15215 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15219 PyObject
*swig_obj
[1] ;
15221 if (!args
) SWIG_fail
;
15222 swig_obj
[0] = args
;
15223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15224 if (!SWIG_IsOK(res1
)) {
15225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15227 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (bool)(arg1
)->DeselectAll();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15243 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
= 0;
15245 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15246 wxPoint
*arg2
= 0 ;
15250 PyObject
* obj0
= 0 ;
15251 PyObject
* obj1
= 0 ;
15252 char * kwnames
[] = {
15253 (char *) "self",(char *) "pt", NULL
15256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15258 if (!SWIG_IsOK(res1
)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15261 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15264 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_Py_Void();
15279 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
= 0;
15281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 PyObject
* obj2
= 0 ;
15293 char * kwnames
[] = {
15294 (char *) "self",(char *) "x",(char *) "y", NULL
15297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15299 if (!SWIG_IsOK(res1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15302 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15304 if (!SWIG_IsOK(ecode2
)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15307 arg2
= static_cast< int >(val2
);
15308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15309 if (!SWIG_IsOK(ecode3
)) {
15310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15312 arg3
= static_cast< int >(val3
);
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 (arg1
)->SetMargins(arg2
,arg3
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_Py_Void();
15326 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
= 0;
15328 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15329 wxColour
*arg2
= 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char * kwnames
[] = {
15336 (char *) "self",(char *) "col", NULL
15339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15344 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= SWIG_Py_Void();
15362 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
= 0;
15364 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 PyObject
* obj2
= 0 ;
15378 PyObject
* obj3
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15388 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15390 if (!SWIG_IsOK(res2
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15396 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15399 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15401 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15402 if (!SWIG_IsOK(ecode4
)) {
15403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15405 arg4
= static_cast< size_t >(val4
);
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_Py_Void();
15419 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
= 0;
15421 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 PyObject
* obj3
= 0 ;
15436 char * kwnames
[] = {
15437 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15445 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15447 if (!SWIG_IsOK(res2
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15453 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15456 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15458 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15459 if (!SWIG_IsOK(ecode4
)) {
15460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15462 arg4
= static_cast< size_t >(val4
);
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15480 return SWIG_Py_Void();
15483 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15484 return SWIG_Python_InitShadowInstance(args
);
15487 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= 0;
15489 wxWindow
*arg1
= (wxWindow
*) 0 ;
15490 int arg2
= (int) wxID_ANY
;
15491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15495 long arg5
= (long) 0 ;
15496 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15497 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15498 wxPyHtmlListBox
*result
= 0 ;
15507 bool temp6
= false ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 PyObject
* obj2
= 0 ;
15511 PyObject
* obj3
= 0 ;
15512 PyObject
* obj4
= 0 ;
15513 PyObject
* obj5
= 0 ;
15514 char * kwnames
[] = {
15515 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15520 if (!SWIG_IsOK(res1
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15523 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15526 if (!SWIG_IsOK(ecode2
)) {
15527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15529 arg2
= static_cast< int >(val2
);
15534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15544 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15545 if (!SWIG_IsOK(ecode5
)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15548 arg5
= static_cast< long >(val5
);
15552 arg6
= wxString_in_helper(obj5
);
15553 if (arg6
== NULL
) SWIG_fail
;
15558 if (!wxPyCheckForApp()) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15579 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15580 PyObject
*resultobj
= 0;
15581 wxPyHtmlListBox
*result
= 0 ;
15583 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15585 if (!wxPyCheckForApp()) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15598 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
= 0;
15600 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15601 PyObject
*arg2
= (PyObject
*) 0 ;
15602 PyObject
*arg3
= (PyObject
*) 0 ;
15605 PyObject
* obj0
= 0 ;
15606 PyObject
* obj1
= 0 ;
15607 PyObject
* obj2
= 0 ;
15608 char * kwnames
[] = {
15609 (char *) "self",(char *) "self",(char *) "_class", NULL
15612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15617 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_Py_Void();
15633 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
= 0;
15635 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15636 wxWindow
*arg2
= (wxWindow
*) 0 ;
15637 int arg3
= (int) wxID_ANY
;
15638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15642 long arg6
= (long) 0 ;
15643 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15644 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15656 bool temp7
= false ;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 PyObject
* obj2
= 0 ;
15660 PyObject
* obj3
= 0 ;
15661 PyObject
* obj4
= 0 ;
15662 PyObject
* obj5
= 0 ;
15663 PyObject
* obj6
= 0 ;
15664 char * kwnames
[] = {
15665 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15670 if (!SWIG_IsOK(res1
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15673 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15675 if (!SWIG_IsOK(res2
)) {
15676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15681 if (!SWIG_IsOK(ecode3
)) {
15682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15684 arg3
= static_cast< int >(val3
);
15689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15699 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15700 if (!SWIG_IsOK(ecode6
)) {
15701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15703 arg6
= static_cast< long >(val6
);
15707 arg7
= wxString_in_helper(obj6
);
15708 if (arg7
== NULL
) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15735 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
= 0;
15737 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15743 PyObject
* obj0
= 0 ;
15744 PyObject
* obj1
= 0 ;
15745 char * kwnames
[] = {
15746 (char *) "self",(char *) "count", NULL
15749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15754 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15755 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15756 if (!SWIG_IsOK(ecode2
)) {
15757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15759 arg2
= static_cast< size_t >(val2
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 (arg1
)->SetItemCount(arg2
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_Py_Void();
15773 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15774 PyObject
*resultobj
= 0;
15775 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15776 wxFileSystem
*result
= 0 ;
15779 PyObject
*swig_obj
[1] ;
15781 if (!args
) SWIG_fail
;
15782 swig_obj
[0] = args
;
15783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15787 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15792 result
= (wxFileSystem
*) &_result_ref
;
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15804 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
= 0;
15806 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15808 wxHtmlLinkInfo
*arg3
= 0 ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 PyObject
* obj2
= 0 ;
15818 char * kwnames
[] = {
15819 (char *) "self",(char *) "n",(char *) "link", NULL
15822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15827 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15828 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15829 if (!SWIG_IsOK(ecode2
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15832 arg2
= static_cast< size_t >(val2
);
15833 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15834 if (!SWIG_IsOK(res3
)) {
15835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15840 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= SWIG_Py_Void();
15854 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15857 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15858 return SWIG_Py_Void();
15861 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15862 return SWIG_Python_InitShadowInstance(args
);
15865 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15866 PyObject
*resultobj
= 0;
15867 wxPyTaskBarIcon
*result
= 0 ;
15869 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15871 if (!wxPyCheckForApp()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15884 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15885 PyObject
*resultobj
= 0;
15886 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15889 PyObject
*swig_obj
[1] ;
15891 if (!args
) SWIG_fail
;
15892 swig_obj
[0] = args
;
15893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15897 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_Py_Void();
15912 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
= 0;
15914 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15915 PyObject
*arg2
= (PyObject
*) 0 ;
15916 PyObject
*arg3
= (PyObject
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 PyObject
* obj1
= 0 ;
15924 PyObject
* obj2
= 0 ;
15925 PyObject
* obj3
= 0 ;
15926 char * kwnames
[] = {
15927 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15935 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15939 if (!SWIG_IsOK(ecode4
)) {
15940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15942 arg4
= static_cast< int >(val4
);
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_Py_Void();
15956 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15957 PyObject
*resultobj
= 0;
15958 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15961 PyObject
*swig_obj
[1] ;
15963 if (!args
) SWIG_fail
;
15964 swig_obj
[0] = args
;
15965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15966 if (!SWIG_IsOK(res1
)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15969 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 wxPyTaskBarIcon_Destroy(arg1
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_Py_Void();
15983 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15984 PyObject
*resultobj
= 0;
15985 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15989 PyObject
*swig_obj
[1] ;
15991 if (!args
) SWIG_fail
;
15992 swig_obj
[0] = args
;
15993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15994 if (!SWIG_IsOK(res1
)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15997 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16013 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16014 PyObject
*resultobj
= 0;
16015 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16019 PyObject
*swig_obj
[1] ;
16021 if (!args
) SWIG_fail
;
16022 swig_obj
[0] = args
;
16023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16024 if (!SWIG_IsOK(res1
)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16027 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
= 0;
16045 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16054 bool temp3
= false ;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 PyObject
* obj2
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16067 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16069 if (!SWIG_IsOK(res2
)) {
16070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16075 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16078 arg3
= wxString_in_helper(obj2
);
16079 if (arg3
== NULL
) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16106 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16107 PyObject
*resultobj
= 0;
16108 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16112 PyObject
*swig_obj
[1] ;
16114 if (!args
) SWIG_fail
;
16115 swig_obj
[0] = args
;
16116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16117 if (!SWIG_IsOK(res1
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16120 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (bool)(arg1
)->RemoveIcon();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16136 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
= 0;
16138 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16139 wxMenu
*arg2
= (wxMenu
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 char * kwnames
[] = {
16148 (char *) "self",(char *) "menu", NULL
16151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16153 if (!SWIG_IsOK(res1
)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16156 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16158 if (!SWIG_IsOK(res2
)) {
16159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16161 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)(arg1
)->PopupMenu(arg2
);
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16177 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16180 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16181 return SWIG_Py_Void();
16184 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16185 return SWIG_Python_InitShadowInstance(args
);
16188 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
= 0;
16191 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16192 wxTaskBarIconEvent
*result
= 0 ;
16197 PyObject
* obj0
= 0 ;
16198 PyObject
* obj1
= 0 ;
16199 char * kwnames
[] = {
16200 (char *) "evtType",(char *) "tbIcon", NULL
16203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16205 if (!SWIG_IsOK(ecode1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16208 arg1
= static_cast< wxEventType
>(val1
);
16209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16210 if (!SWIG_IsOK(res2
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16213 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16227 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16230 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16231 return SWIG_Py_Void();
16234 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16235 return SWIG_Python_InitShadowInstance(args
);
16238 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16239 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16244 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16245 PyObject
*pyobj
= 0;
16249 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16251 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16258 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16259 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16264 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16265 PyObject
*pyobj
= 0;
16269 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16271 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16278 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16279 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16284 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16285 PyObject
*pyobj
= 0;
16289 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16291 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16298 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16299 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16304 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16305 PyObject
*pyobj
= 0;
16309 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16311 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16318 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16319 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16324 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16325 PyObject
*pyobj
= 0;
16329 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16331 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16338 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16339 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16344 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16345 PyObject
*pyobj
= 0;
16349 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16351 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16358 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16359 PyObject
*resultobj
= 0;
16360 wxColourData
*result
= 0 ;
16362 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (wxColourData
*)new wxColourData();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16376 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16377 PyObject
*resultobj
= 0;
16378 wxColourData
*arg1
= (wxColourData
*) 0 ;
16381 PyObject
*swig_obj
[1] ;
16383 if (!args
) SWIG_fail
;
16384 swig_obj
[0] = args
;
16385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16386 if (!SWIG_IsOK(res1
)) {
16387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16389 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= SWIG_Py_Void();
16404 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16405 PyObject
*resultobj
= 0;
16406 wxColourData
*arg1
= (wxColourData
*) 0 ;
16410 PyObject
*swig_obj
[1] ;
16412 if (!args
) SWIG_fail
;
16413 swig_obj
[0] = args
;
16414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16415 if (!SWIG_IsOK(res1
)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16418 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)(arg1
)->GetChooseFull();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16434 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16435 PyObject
*resultobj
= 0;
16436 wxColourData
*arg1
= (wxColourData
*) 0 ;
16440 PyObject
*swig_obj
[1] ;
16442 if (!args
) SWIG_fail
;
16443 swig_obj
[0] = args
;
16444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16448 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (arg1
)->GetColour();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16462 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
= 0;
16464 wxColourData
*arg1
= (wxColourData
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 char * kwnames
[] = {
16474 (char *) "self",(char *) "i", NULL
16477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16479 if (!SWIG_IsOK(res1
)) {
16480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16482 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16484 if (!SWIG_IsOK(ecode2
)) {
16485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16487 arg2
= static_cast< int >(val2
);
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (arg1
)->GetCustomColour(arg2
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16501 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
= 0;
16503 wxColourData
*arg1
= (wxColourData
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 PyObject
* obj1
= 0 ;
16511 char * kwnames
[] = {
16512 (char *) "self",(char *) "flag", NULL
16515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16517 if (!SWIG_IsOK(res1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16520 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16522 if (!SWIG_IsOK(ecode2
)) {
16523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16525 arg2
= static_cast< int >(val2
);
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 (arg1
)->SetChooseFull(arg2
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_Py_Void();
16539 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
= 0;
16541 wxColourData
*arg1
= (wxColourData
*) 0 ;
16542 wxColour
*arg2
= 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char * kwnames
[] = {
16549 (char *) "self",(char *) "colour", NULL
16552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16554 if (!SWIG_IsOK(res1
)) {
16555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16557 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16560 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 (arg1
)->SetColour((wxColour
const &)*arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_Py_Void();
16575 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxColourData
*arg1
= (wxColourData
*) 0 ;
16579 wxColour
*arg3
= 0 ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 PyObject
* obj2
= 0 ;
16588 char * kwnames
[] = {
16589 (char *) "self",(char *) "i",(char *) "colour", NULL
16592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16594 if (!SWIG_IsOK(res1
)) {
16595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16597 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16599 if (!SWIG_IsOK(ecode2
)) {
16600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16602 arg2
= static_cast< int >(val2
);
16605 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_Py_Void();
16620 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16623 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16624 return SWIG_Py_Void();
16627 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16628 return SWIG_Python_InitShadowInstance(args
);
16631 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
= 0;
16633 wxWindow
*arg1
= (wxWindow
*) 0 ;
16634 wxColourData
*arg2
= (wxColourData
*) NULL
;
16635 wxColourDialog
*result
= 0 ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 char * kwnames
[] = {
16643 (char *) "parent",(char *) "data", NULL
16646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16648 if (!SWIG_IsOK(res1
)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16651 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16654 if (!SWIG_IsOK(res2
)) {
16655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16657 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16660 if (!wxPyCheckForApp()) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16673 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16674 PyObject
*resultobj
= 0;
16675 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16676 wxColourData
*result
= 0 ;
16679 PyObject
*swig_obj
[1] ;
16681 if (!args
) SWIG_fail
;
16682 swig_obj
[0] = args
;
16683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16684 if (!SWIG_IsOK(res1
)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16687 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16692 result
= (wxColourData
*) &_result_ref
;
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16704 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16707 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16708 return SWIG_Py_Void();
16711 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16712 return SWIG_Python_InitShadowInstance(args
);
16715 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
= 0;
16717 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16718 wxColour
const &arg2_defvalue
= wxNullColour
;
16719 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16720 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16721 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16726 bool temp3
= false ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 PyObject
* obj2
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16745 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16750 arg3
= wxString_in_helper(obj2
);
16751 if (arg3
== NULL
) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16776 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
= 0;
16778 wxWindow
*arg1
= (wxWindow
*) 0 ;
16779 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16780 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16783 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16784 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16785 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16786 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16787 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16788 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16789 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16790 wxDirDialog
*result
= 0 ;
16793 bool temp2
= false ;
16794 bool temp3
= false ;
16799 bool temp7
= false ;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 PyObject
* obj2
= 0 ;
16803 PyObject
* obj3
= 0 ;
16804 PyObject
* obj4
= 0 ;
16805 PyObject
* obj5
= 0 ;
16806 PyObject
* obj6
= 0 ;
16807 char * kwnames
[] = {
16808 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16819 arg2
= wxString_in_helper(obj1
);
16820 if (arg2
== NULL
) SWIG_fail
;
16826 arg3
= wxString_in_helper(obj2
);
16827 if (arg3
== NULL
) SWIG_fail
;
16832 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16833 if (!SWIG_IsOK(ecode4
)) {
16834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16836 arg4
= static_cast< long >(val4
);
16841 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16847 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16852 arg7
= wxString_in_helper(obj6
);
16853 if (arg7
== NULL
) SWIG_fail
;
16858 if (!wxPyCheckForApp()) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16895 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16896 PyObject
*resultobj
= 0;
16897 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16901 PyObject
*swig_obj
[1] ;
16903 if (!args
) SWIG_fail
;
16904 swig_obj
[0] = args
;
16905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16906 if (!SWIG_IsOK(res1
)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16909 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (arg1
)->GetPath();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16929 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16930 PyObject
*resultobj
= 0;
16931 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16935 PyObject
*swig_obj
[1] ;
16937 if (!args
) SWIG_fail
;
16938 swig_obj
[0] = args
;
16939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16940 if (!SWIG_IsOK(res1
)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16943 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (arg1
)->GetMessage();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16963 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
= 0;
16965 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16966 wxString
*arg2
= 0 ;
16969 bool temp2
= false ;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 char * kwnames
[] = {
16973 (char *) "self",(char *) "message", NULL
16976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16981 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16983 arg2
= wxString_in_helper(obj1
);
16984 if (arg2
== NULL
) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 (arg1
)->SetMessage((wxString
const &)*arg2
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_Py_Void();
17008 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
= 0;
17010 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17011 wxString
*arg2
= 0 ;
17014 bool temp2
= false ;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char * kwnames
[] = {
17018 (char *) "self",(char *) "path", NULL
17021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17023 if (!SWIG_IsOK(res1
)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17026 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17028 arg2
= wxString_in_helper(obj1
);
17029 if (arg2
== NULL
) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 (arg1
)->SetPath((wxString
const &)*arg2
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_Py_Void();
17053 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17056 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17057 return SWIG_Py_Void();
17060 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17061 return SWIG_Python_InitShadowInstance(args
);
17064 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
= 0;
17066 wxWindow
*arg1
= (wxWindow
*) 0 ;
17067 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17068 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17071 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17072 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17073 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17074 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17075 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17076 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17077 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17078 wxFileDialog
*result
= 0 ;
17081 bool temp2
= false ;
17082 bool temp3
= false ;
17083 bool temp4
= false ;
17084 bool temp5
= false ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 PyObject
* obj2
= 0 ;
17091 PyObject
* obj3
= 0 ;
17092 PyObject
* obj4
= 0 ;
17093 PyObject
* obj5
= 0 ;
17094 PyObject
* obj6
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17101 if (!SWIG_IsOK(res1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17107 arg2
= wxString_in_helper(obj1
);
17108 if (arg2
== NULL
) SWIG_fail
;
17114 arg3
= wxString_in_helper(obj2
);
17115 if (arg3
== NULL
) SWIG_fail
;
17121 arg4
= wxString_in_helper(obj3
);
17122 if (arg4
== NULL
) SWIG_fail
;
17128 arg5
= wxString_in_helper(obj4
);
17129 if (arg5
== NULL
) SWIG_fail
;
17134 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17135 if (!SWIG_IsOK(ecode6
)) {
17136 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17138 arg6
= static_cast< long >(val6
);
17143 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17147 if (!wxPyCheckForApp()) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17192 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17194 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17195 wxString
*arg2
= 0 ;
17198 bool temp2
= false ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "self",(char *) "message", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17207 if (!SWIG_IsOK(res1
)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17210 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17212 arg2
= wxString_in_helper(obj1
);
17213 if (arg2
== NULL
) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 (arg1
)->SetMessage((wxString
const &)*arg2
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_Py_Void();
17237 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
= 0;
17239 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17240 wxString
*arg2
= 0 ;
17243 bool temp2
= false ;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char * kwnames
[] = {
17247 (char *) "self",(char *) "path", NULL
17250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17252 if (!SWIG_IsOK(res1
)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17255 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17257 arg2
= wxString_in_helper(obj1
);
17258 if (arg2
== NULL
) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 (arg1
)->SetPath((wxString
const &)*arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_Py_Void();
17282 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
= 0;
17284 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17285 wxString
*arg2
= 0 ;
17288 bool temp2
= false ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char * kwnames
[] = {
17292 (char *) "self",(char *) "dir", NULL
17295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17300 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17302 arg2
= wxString_in_helper(obj1
);
17303 if (arg2
== NULL
) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_Py_Void();
17327 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
= 0;
17329 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17330 wxString
*arg2
= 0 ;
17333 bool temp2
= false ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char * kwnames
[] = {
17337 (char *) "self",(char *) "name", NULL
17340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17342 if (!SWIG_IsOK(res1
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17345 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17347 arg2
= wxString_in_helper(obj1
);
17348 if (arg2
== NULL
) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 (arg1
)->SetFilename((wxString
const &)*arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_Py_Void();
17372 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
= 0;
17374 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17375 wxString
*arg2
= 0 ;
17378 bool temp2
= false ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char * kwnames
[] = {
17382 (char *) "self",(char *) "wildCard", NULL
17385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17387 if (!SWIG_IsOK(res1
)) {
17388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17390 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17392 arg2
= wxString_in_helper(obj1
);
17393 if (arg2
== NULL
) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_Py_Void();
17417 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
= 0;
17419 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 char * kwnames
[] = {
17428 (char *) "self",(char *) "filterIndex", NULL
17431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17433 if (!SWIG_IsOK(res1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17436 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17438 if (!SWIG_IsOK(ecode2
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17441 arg2
= static_cast< int >(val2
);
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 (arg1
)->SetFilterIndex(arg2
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_Py_Void();
17455 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17456 PyObject
*resultobj
= 0;
17457 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17461 PyObject
*swig_obj
[1] ;
17463 if (!args
) SWIG_fail
;
17464 swig_obj
[0] = args
;
17465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17466 if (!SWIG_IsOK(res1
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17469 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17489 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17490 PyObject
*resultobj
= 0;
17491 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17495 PyObject
*swig_obj
[1] ;
17497 if (!args
) SWIG_fail
;
17498 swig_obj
[0] = args
;
17499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17500 if (!SWIG_IsOK(res1
)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17503 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17523 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17524 PyObject
*resultobj
= 0;
17525 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17529 PyObject
*swig_obj
[1] ;
17531 if (!args
) SWIG_fail
;
17532 swig_obj
[0] = args
;
17533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17537 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17557 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 PyObject
*resultobj
= 0;
17559 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17563 PyObject
*swig_obj
[1] ;
17565 if (!args
) SWIG_fail
;
17566 swig_obj
[0] = args
;
17567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17571 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17591 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17592 PyObject
*resultobj
= 0;
17593 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17597 PyObject
*swig_obj
[1] ;
17599 if (!args
) SWIG_fail
;
17600 swig_obj
[0] = args
;
17601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17602 if (!SWIG_IsOK(res1
)) {
17603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17605 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17625 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17626 PyObject
*resultobj
= 0;
17627 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17631 PyObject
*swig_obj
[1] ;
17633 if (!args
) SWIG_fail
;
17634 swig_obj
[0] = args
;
17635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17636 if (!SWIG_IsOK(res1
)) {
17637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17639 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= SWIG_From_int(static_cast< int >(result
));
17653 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 PyObject
*resultobj
= 0;
17655 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17656 PyObject
*result
= 0 ;
17659 PyObject
*swig_obj
[1] ;
17661 if (!args
) SWIG_fail
;
17662 swig_obj
[0] = args
;
17663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17664 if (!SWIG_IsOK(res1
)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17667 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= result
;
17681 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17682 PyObject
*resultobj
= 0;
17683 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17684 PyObject
*result
= 0 ;
17687 PyObject
*swig_obj
[1] ;
17689 if (!args
) SWIG_fail
;
17690 swig_obj
[0] = args
;
17691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17692 if (!SWIG_IsOK(res1
)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17695 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= result
;
17709 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17712 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17713 return SWIG_Py_Void();
17716 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17717 return SWIG_Python_InitShadowInstance(args
);
17720 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxWindow
*arg1
= (wxWindow
*) 0 ;
17723 wxString
*arg2
= 0 ;
17724 wxString
*arg3
= 0 ;
17725 int arg4
= (int) 0 ;
17726 wxString
*arg5
= (wxString
*) NULL
;
17727 long arg6
= (long) wxCHOICEDLG_STYLE
;
17728 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17729 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17730 wxMultiChoiceDialog
*result
= 0 ;
17733 bool temp2
= false ;
17734 bool temp3
= false ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 PyObject
* obj2
= 0 ;
17741 PyObject
* obj3
= 0 ;
17742 PyObject
* obj4
= 0 ;
17743 PyObject
* obj5
= 0 ;
17744 char * kwnames
[] = {
17745 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17750 if (!SWIG_IsOK(res1
)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17753 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17755 arg2
= wxString_in_helper(obj1
);
17756 if (arg2
== NULL
) SWIG_fail
;
17760 arg3
= wxString_in_helper(obj2
);
17761 if (arg3
== NULL
) SWIG_fail
;
17766 arg4
= PyList_Size(obj3
);
17767 arg5
= wxString_LIST_helper(obj3
);
17768 if (arg5
== NULL
) SWIG_fail
;
17772 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17773 if (!SWIG_IsOK(ecode6
)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17776 arg6
= static_cast< long >(val6
);
17781 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17785 if (!wxPyCheckForApp()) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17801 if (arg5
) delete [] arg5
;
17814 if (arg5
) delete [] arg5
;
17820 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
= 0;
17822 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17823 wxArrayInt
*arg2
= 0 ;
17826 bool temp2
= false ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char * kwnames
[] = {
17830 (char *) "self",(char *) "selections", NULL
17833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17835 if (!SWIG_IsOK(res1
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17838 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17840 if (! PySequence_Check(obj1
)) {
17841 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17844 arg2
= new wxArrayInt
;
17846 int i
, len
=PySequence_Length(obj1
);
17847 for (i
=0; i
<len
; i
++) {
17848 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17849 PyObject
* number
= PyNumber_Int(item
);
17850 arg2
->Add(PyInt_AS_LONG(number
));
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_Py_Void();
17863 if (temp2
) delete arg2
;
17868 if (temp2
) delete arg2
;
17874 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17875 PyObject
*resultobj
= 0;
17876 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17877 PyObject
*result
= 0 ;
17880 PyObject
*swig_obj
[1] ;
17882 if (!args
) SWIG_fail
;
17883 swig_obj
[0] = args
;
17884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17885 if (!SWIG_IsOK(res1
)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17888 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
;
17902 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17905 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17906 return SWIG_Py_Void();
17909 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17910 return SWIG_Python_InitShadowInstance(args
);
17913 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
= 0;
17915 wxWindow
*arg1
= (wxWindow
*) 0 ;
17916 wxString
*arg2
= 0 ;
17917 wxString
*arg3
= 0 ;
17919 wxString
*arg5
= (wxString
*) 0 ;
17920 long arg6
= (long) wxCHOICEDLG_STYLE
;
17921 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17922 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17923 wxSingleChoiceDialog
*result
= 0 ;
17926 bool temp2
= false ;
17927 bool temp3
= false ;
17931 PyObject
* obj0
= 0 ;
17932 PyObject
* obj1
= 0 ;
17933 PyObject
* obj2
= 0 ;
17934 PyObject
* obj3
= 0 ;
17935 PyObject
* obj4
= 0 ;
17936 PyObject
* obj5
= 0 ;
17937 char * kwnames
[] = {
17938 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17943 if (!SWIG_IsOK(res1
)) {
17944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17948 arg2
= wxString_in_helper(obj1
);
17949 if (arg2
== NULL
) SWIG_fail
;
17953 arg3
= wxString_in_helper(obj2
);
17954 if (arg3
== NULL
) SWIG_fail
;
17958 arg4
= PyList_Size(obj3
);
17959 arg5
= wxString_LIST_helper(obj3
);
17960 if (arg5
== NULL
) SWIG_fail
;
17963 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17964 if (!SWIG_IsOK(ecode6
)) {
17965 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17967 arg6
= static_cast< long >(val6
);
17972 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17976 if (!wxPyCheckForApp()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17992 if (arg5
) delete [] arg5
;
18005 if (arg5
) delete [] arg5
;
18011 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18012 PyObject
*resultobj
= 0;
18013 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18017 PyObject
*swig_obj
[1] ;
18019 if (!args
) SWIG_fail
;
18020 swig_obj
[0] = args
;
18021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18025 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 result
= (int)(arg1
)->GetSelection();
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_From_int(static_cast< int >(result
));
18039 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18040 PyObject
*resultobj
= 0;
18041 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18045 PyObject
*swig_obj
[1] ;
18047 if (!args
) SWIG_fail
;
18048 swig_obj
[0] = args
;
18049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18053 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (arg1
)->GetStringSelection();
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18073 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
= 0;
18075 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 char * kwnames
[] = {
18084 (char *) "self",(char *) "sel", NULL
18087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18089 if (!SWIG_IsOK(res1
)) {
18090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18092 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18094 if (!SWIG_IsOK(ecode2
)) {
18095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18097 arg2
= static_cast< int >(val2
);
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 (arg1
)->SetSelection(arg2
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_Py_Void();
18111 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18114 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18115 return SWIG_Py_Void();
18118 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18119 return SWIG_Python_InitShadowInstance(args
);
18122 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
= 0;
18124 wxWindow
*arg1
= (wxWindow
*) 0 ;
18125 wxString
*arg2
= 0 ;
18126 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18127 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18128 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18129 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18130 long arg5
= (long) wxTextEntryDialogStyle
;
18131 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18132 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18133 wxTextEntryDialog
*result
= 0 ;
18136 bool temp2
= false ;
18137 bool temp3
= false ;
18138 bool temp4
= false ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 PyObject
* obj2
= 0 ;
18145 PyObject
* obj3
= 0 ;
18146 PyObject
* obj4
= 0 ;
18147 PyObject
* obj5
= 0 ;
18148 char * kwnames
[] = {
18149 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18154 if (!SWIG_IsOK(res1
)) {
18155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18159 arg2
= wxString_in_helper(obj1
);
18160 if (arg2
== NULL
) SWIG_fail
;
18165 arg3
= wxString_in_helper(obj2
);
18166 if (arg3
== NULL
) SWIG_fail
;
18172 arg4
= wxString_in_helper(obj3
);
18173 if (arg4
== NULL
) SWIG_fail
;
18178 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18179 if (!SWIG_IsOK(ecode5
)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18182 arg5
= static_cast< long >(val5
);
18187 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18191 if (!wxPyCheckForApp()) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18228 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18229 PyObject
*resultobj
= 0;
18230 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18234 PyObject
*swig_obj
[1] ;
18236 if (!args
) SWIG_fail
;
18237 swig_obj
[0] = args
;
18238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18239 if (!SWIG_IsOK(res1
)) {
18240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18242 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (arg1
)->GetValue();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18262 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
= 0;
18264 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18265 wxString
*arg2
= 0 ;
18268 bool temp2
= false ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char * kwnames
[] = {
18272 (char *) "self",(char *) "value", NULL
18275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18280 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18282 arg2
= wxString_in_helper(obj1
);
18283 if (arg2
== NULL
) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 (arg1
)->SetValue((wxString
const &)*arg2
);
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= SWIG_Py_Void();
18307 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18310 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18311 return SWIG_Py_Void();
18314 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18315 return SWIG_Python_InitShadowInstance(args
);
18318 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18319 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18324 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18325 PyObject
*pyobj
= 0;
18329 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18331 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18338 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
= 0;
18340 wxWindow
*arg1
= (wxWindow
*) 0 ;
18341 wxString
*arg2
= 0 ;
18342 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18343 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18344 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18345 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18346 long arg5
= (long) wxTextEntryDialogStyle
;
18347 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18348 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18349 wxPasswordEntryDialog
*result
= 0 ;
18352 bool temp2
= false ;
18353 bool temp3
= false ;
18354 bool temp4
= false ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 PyObject
* obj2
= 0 ;
18361 PyObject
* obj3
= 0 ;
18362 PyObject
* obj4
= 0 ;
18363 PyObject
* obj5
= 0 ;
18364 char * kwnames
[] = {
18365 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18370 if (!SWIG_IsOK(res1
)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18373 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18375 arg2
= wxString_in_helper(obj1
);
18376 if (arg2
== NULL
) SWIG_fail
;
18381 arg3
= wxString_in_helper(obj2
);
18382 if (arg3
== NULL
) SWIG_fail
;
18388 arg4
= wxString_in_helper(obj3
);
18389 if (arg4
== NULL
) SWIG_fail
;
18394 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18395 if (!SWIG_IsOK(ecode5
)) {
18396 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18398 arg5
= static_cast< long >(val5
);
18403 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18443 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18447 return SWIG_Py_Void();
18450 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18451 return SWIG_Python_InitShadowInstance(args
);
18454 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
= 0;
18456 wxWindow
*arg1
= (wxWindow
*) 0 ;
18457 wxString
*arg2
= 0 ;
18458 wxString
*arg3
= 0 ;
18459 wxString
*arg4
= 0 ;
18463 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18464 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18465 wxNumberEntryDialog
*result
= 0 ;
18468 bool temp2
= false ;
18469 bool temp3
= false ;
18470 bool temp4
= false ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 PyObject
* obj2
= 0 ;
18481 PyObject
* obj3
= 0 ;
18482 PyObject
* obj4
= 0 ;
18483 PyObject
* obj5
= 0 ;
18484 PyObject
* obj6
= 0 ;
18485 PyObject
* obj7
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18492 if (!SWIG_IsOK(res1
)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18497 arg2
= wxString_in_helper(obj1
);
18498 if (arg2
== NULL
) SWIG_fail
;
18502 arg3
= wxString_in_helper(obj2
);
18503 if (arg3
== NULL
) SWIG_fail
;
18507 arg4
= wxString_in_helper(obj3
);
18508 if (arg4
== NULL
) SWIG_fail
;
18511 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18512 if (!SWIG_IsOK(ecode5
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18515 arg5
= static_cast< long >(val5
);
18516 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18517 if (!SWIG_IsOK(ecode6
)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18520 arg6
= static_cast< long >(val6
);
18521 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18522 if (!SWIG_IsOK(ecode7
)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18525 arg7
= static_cast< long >(val7
);
18529 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18533 if (!wxPyCheckForApp()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18570 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18571 PyObject
*resultobj
= 0;
18572 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18576 PyObject
*swig_obj
[1] ;
18578 if (!args
) SWIG_fail
;
18579 swig_obj
[0] = args
;
18580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18581 if (!SWIG_IsOK(res1
)) {
18582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18584 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (long)(arg1
)->GetValue();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_From_long(static_cast< long >(result
));
18598 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18601 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18602 return SWIG_Py_Void();
18605 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18606 return SWIG_Python_InitShadowInstance(args
);
18609 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18610 PyObject
*resultobj
= 0;
18611 wxFontData
*result
= 0 ;
18613 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (wxFontData
*)new wxFontData();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18627 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18628 PyObject
*resultobj
= 0;
18629 wxFontData
*arg1
= (wxFontData
*) 0 ;
18632 PyObject
*swig_obj
[1] ;
18634 if (!args
) SWIG_fail
;
18635 swig_obj
[0] = args
;
18636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18637 if (!SWIG_IsOK(res1
)) {
18638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18640 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_Py_Void();
18655 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
= 0;
18657 wxFontData
*arg1
= (wxFontData
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 char * kwnames
[] = {
18666 (char *) "self",(char *) "enable", NULL
18669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18671 if (!SWIG_IsOK(res1
)) {
18672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18674 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18675 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18676 if (!SWIG_IsOK(ecode2
)) {
18677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18679 arg2
= static_cast< bool >(val2
);
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->EnableEffects(arg2
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_Py_Void();
18693 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18694 PyObject
*resultobj
= 0;
18695 wxFontData
*arg1
= (wxFontData
*) 0 ;
18699 PyObject
*swig_obj
[1] ;
18701 if (!args
) SWIG_fail
;
18702 swig_obj
[0] = args
;
18703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18704 if (!SWIG_IsOK(res1
)) {
18705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18707 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (bool)(arg1
)->GetAllowSymbols();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18723 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 PyObject
*resultobj
= 0;
18725 wxFontData
*arg1
= (wxFontData
*) 0 ;
18729 PyObject
*swig_obj
[1] ;
18731 if (!args
) SWIG_fail
;
18732 swig_obj
[0] = args
;
18733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18737 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (arg1
)->GetColour();
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18751 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18752 PyObject
*resultobj
= 0;
18753 wxFontData
*arg1
= (wxFontData
*) 0 ;
18757 PyObject
*swig_obj
[1] ;
18759 if (!args
) SWIG_fail
;
18760 swig_obj
[0] = args
;
18761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18762 if (!SWIG_IsOK(res1
)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18765 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (arg1
)->GetChosenFont();
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18779 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18780 PyObject
*resultobj
= 0;
18781 wxFontData
*arg1
= (wxFontData
*) 0 ;
18785 PyObject
*swig_obj
[1] ;
18787 if (!args
) SWIG_fail
;
18788 swig_obj
[0] = args
;
18789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18790 if (!SWIG_IsOK(res1
)) {
18791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18793 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (bool)(arg1
)->GetEnableEffects();
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18809 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18810 PyObject
*resultobj
= 0;
18811 wxFontData
*arg1
= (wxFontData
*) 0 ;
18815 PyObject
*swig_obj
[1] ;
18817 if (!args
) SWIG_fail
;
18818 swig_obj
[0] = args
;
18819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18820 if (!SWIG_IsOK(res1
)) {
18821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18823 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (arg1
)->GetInitialFont();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18837 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18838 PyObject
*resultobj
= 0;
18839 wxFontData
*arg1
= (wxFontData
*) 0 ;
18843 PyObject
*swig_obj
[1] ;
18845 if (!args
) SWIG_fail
;
18846 swig_obj
[0] = args
;
18847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18848 if (!SWIG_IsOK(res1
)) {
18849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18851 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (bool)(arg1
)->GetShowHelp();
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18867 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
= 0;
18869 wxFontData
*arg1
= (wxFontData
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 PyObject
* obj1
= 0 ;
18877 char * kwnames
[] = {
18878 (char *) "self",(char *) "allowSymbols", NULL
18881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18883 if (!SWIG_IsOK(res1
)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18886 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18888 if (!SWIG_IsOK(ecode2
)) {
18889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18891 arg2
= static_cast< bool >(val2
);
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 (arg1
)->SetAllowSymbols(arg2
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_Py_Void();
18905 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
= 0;
18907 wxFontData
*arg1
= (wxFontData
*) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 char * kwnames
[] = {
18916 (char *) "self",(char *) "font", NULL
18919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18921 if (!SWIG_IsOK(res1
)) {
18922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18924 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18926 if (!SWIG_IsOK(res2
)) {
18927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18932 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_Py_Void();
18946 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
= 0;
18948 wxFontData
*arg1
= (wxFontData
*) 0 ;
18949 wxColour
*arg2
= 0 ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 char * kwnames
[] = {
18956 (char *) "self",(char *) "colour", NULL
18959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18961 if (!SWIG_IsOK(res1
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18964 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->SetColour((wxColour
const &)*arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= SWIG_Py_Void();
18982 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
= 0;
18984 wxFontData
*arg1
= (wxFontData
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char * kwnames
[] = {
18993 (char *) "self",(char *) "font", NULL
18996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19001 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19003 if (!SWIG_IsOK(res2
)) {
19004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19009 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= SWIG_Py_Void();
19023 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
= 0;
19025 wxFontData
*arg1
= (wxFontData
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 PyObject
* obj2
= 0 ;
19037 char * kwnames
[] = {
19038 (char *) "self",(char *) "min",(char *) "max", NULL
19041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19043 if (!SWIG_IsOK(res1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19046 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19048 if (!SWIG_IsOK(ecode2
)) {
19049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19051 arg2
= static_cast< int >(val2
);
19052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19053 if (!SWIG_IsOK(ecode3
)) {
19054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19056 arg3
= static_cast< int >(val3
);
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->SetRange(arg2
,arg3
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_Py_Void();
19070 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
= 0;
19072 wxFontData
*arg1
= (wxFontData
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 char * kwnames
[] = {
19081 (char *) "self",(char *) "showHelp", NULL
19084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19089 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19090 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19091 if (!SWIG_IsOK(ecode2
)) {
19092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19094 arg2
= static_cast< bool >(val2
);
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 (arg1
)->SetShowHelp(arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= SWIG_Py_Void();
19108 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19111 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19112 return SWIG_Py_Void();
19115 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19116 return SWIG_Python_InitShadowInstance(args
);
19119 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxWindow
*arg1
= (wxWindow
*) 0 ;
19122 wxFontData
*arg2
= 0 ;
19123 wxFontDialog
*result
= 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char * kwnames
[] = {
19131 (char *) "parent",(char *) "data", NULL
19134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19136 if (!SWIG_IsOK(res1
)) {
19137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19141 if (!SWIG_IsOK(res2
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19147 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19149 if (!wxPyCheckForApp()) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19162 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19163 PyObject
*resultobj
= 0;
19164 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19165 wxFontData
*result
= 0 ;
19168 PyObject
*swig_obj
[1] ;
19170 if (!args
) SWIG_fail
;
19171 swig_obj
[0] = args
;
19172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19176 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19181 result
= (wxFontData
*) &_result_ref
;
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19193 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19196 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19197 return SWIG_Py_Void();
19200 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19201 return SWIG_Python_InitShadowInstance(args
);
19204 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
= 0;
19206 wxWindow
*arg1
= (wxWindow
*) NULL
;
19207 wxFont
const &arg2_defvalue
= wxNullFont
;
19208 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19216 bool temp3
= false ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 PyObject
* obj2
= 0 ;
19220 char * kwnames
[] = {
19221 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19227 if (!SWIG_IsOK(res1
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19234 if (!SWIG_IsOK(res2
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19240 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19244 arg3
= wxString_in_helper(obj2
);
19245 if (arg3
== NULL
) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19270 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxWindow
*arg1
= (wxWindow
*) 0 ;
19273 wxString
*arg2
= 0 ;
19274 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19275 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19276 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19277 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19278 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19279 wxMessageDialog
*result
= 0 ;
19282 bool temp2
= false ;
19283 bool temp3
= false ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 PyObject
* obj3
= 0 ;
19291 PyObject
* obj4
= 0 ;
19292 char * kwnames
[] = {
19293 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19298 if (!SWIG_IsOK(res1
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19303 arg2
= wxString_in_helper(obj1
);
19304 if (arg2
== NULL
) SWIG_fail
;
19309 arg3
= wxString_in_helper(obj2
);
19310 if (arg3
== NULL
) SWIG_fail
;
19315 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19316 if (!SWIG_IsOK(ecode4
)) {
19317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19319 arg4
= static_cast< long >(val4
);
19324 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19328 if (!wxPyCheckForApp()) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19357 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19360 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19361 return SWIG_Py_Void();
19364 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19365 return SWIG_Python_InitShadowInstance(args
);
19368 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxString
*arg1
= 0 ;
19371 wxString
*arg2
= 0 ;
19372 int arg3
= (int) 100 ;
19373 wxWindow
*arg4
= (wxWindow
*) NULL
;
19374 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19375 wxProgressDialog
*result
= 0 ;
19376 bool temp1
= false ;
19377 bool temp2
= false ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 PyObject
* obj2
= 0 ;
19387 PyObject
* obj3
= 0 ;
19388 PyObject
* obj4
= 0 ;
19389 char * kwnames
[] = {
19390 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19395 arg1
= wxString_in_helper(obj0
);
19396 if (arg1
== NULL
) SWIG_fail
;
19400 arg2
= wxString_in_helper(obj1
);
19401 if (arg2
== NULL
) SWIG_fail
;
19405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19406 if (!SWIG_IsOK(ecode3
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19409 arg3
= static_cast< int >(val3
);
19412 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19413 if (!SWIG_IsOK(res4
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19416 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19419 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19420 if (!SWIG_IsOK(ecode5
)) {
19421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19423 arg5
= static_cast< int >(val5
);
19426 if (!wxPyCheckForApp()) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19455 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19461 bool *arg4
= (bool *) 0 ;
19467 bool temp3
= false ;
19469 int res4
= SWIG_TMPOBJ
;
19470 PyObject
* obj0
= 0 ;
19471 PyObject
* obj1
= 0 ;
19472 PyObject
* obj2
= 0 ;
19473 char * kwnames
[] = {
19474 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19483 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19485 if (!SWIG_IsOK(ecode2
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19488 arg2
= static_cast< int >(val2
);
19491 arg3
= wxString_in_helper(obj2
);
19492 if (arg3
== NULL
) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19505 if (SWIG_IsTmpObj(res4
)) {
19506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19508 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19525 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19526 PyObject
*resultobj
= 0;
19527 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19530 PyObject
*swig_obj
[1] ;
19532 if (!args
) SWIG_fail
;
19533 swig_obj
[0] = args
;
19534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19535 if (!SWIG_IsOK(res1
)) {
19536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19538 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= SWIG_Py_Void();
19552 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19555 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19556 return SWIG_Py_Void();
19559 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19560 return SWIG_Python_InitShadowInstance(args
);
19563 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
= 0;
19565 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19566 int arg2
= (int) 0 ;
19567 wxFindDialogEvent
*result
= 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char * kwnames
[] = {
19575 (char *) "commandType",(char *) "id", NULL
19578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19580 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19581 if (!SWIG_IsOK(ecode1
)) {
19582 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19584 arg1
= static_cast< wxEventType
>(val1
);
19587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19588 if (!SWIG_IsOK(ecode2
)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19591 arg2
= static_cast< int >(val2
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19606 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19607 PyObject
*resultobj
= 0;
19608 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19612 PyObject
*swig_obj
[1] ;
19614 if (!args
) SWIG_fail
;
19615 swig_obj
[0] = args
;
19616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19617 if (!SWIG_IsOK(res1
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19620 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (int)(arg1
)->GetFlags();
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= SWIG_From_int(static_cast< int >(result
));
19634 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19635 PyObject
*resultobj
= 0;
19636 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19637 wxString
*result
= 0 ;
19640 PyObject
*swig_obj
[1] ;
19642 if (!args
) SWIG_fail
;
19643 swig_obj
[0] = args
;
19644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19645 if (!SWIG_IsOK(res1
)) {
19646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19648 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 wxString
const &_result_ref
= (arg1
)->GetFindString();
19653 result
= (wxString
*) &_result_ref
;
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19671 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19672 PyObject
*resultobj
= 0;
19673 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19674 wxString
*result
= 0 ;
19677 PyObject
*swig_obj
[1] ;
19679 if (!args
) SWIG_fail
;
19680 swig_obj
[0] = args
;
19681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19682 if (!SWIG_IsOK(res1
)) {
19683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19685 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19690 result
= (wxString
*) &_result_ref
;
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19708 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19709 PyObject
*resultobj
= 0;
19710 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19711 wxFindReplaceDialog
*result
= 0 ;
19714 PyObject
*swig_obj
[1] ;
19716 if (!args
) SWIG_fail
;
19717 swig_obj
[0] = args
;
19718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19719 if (!SWIG_IsOK(res1
)) {
19720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19722 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19736 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
= 0;
19738 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char * kwnames
[] = {
19747 (char *) "self",(char *) "flags", NULL
19750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19752 if (!SWIG_IsOK(res1
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19755 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19757 if (!SWIG_IsOK(ecode2
)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19760 arg2
= static_cast< int >(val2
);
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->SetFlags(arg2
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_Py_Void();
19774 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
= 0;
19776 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19777 wxString
*arg2
= 0 ;
19780 bool temp2
= false ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char * kwnames
[] = {
19784 (char *) "self",(char *) "str", NULL
19787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19792 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19794 arg2
= wxString_in_helper(obj1
);
19795 if (arg2
== NULL
) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->SetFindString((wxString
const &)*arg2
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_Py_Void();
19819 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
= 0;
19821 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19822 wxString
*arg2
= 0 ;
19825 bool temp2
= false ;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 char * kwnames
[] = {
19829 (char *) "self",(char *) "str", NULL
19832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19834 if (!SWIG_IsOK(res1
)) {
19835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19837 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19839 arg2
= wxString_in_helper(obj1
);
19840 if (arg2
== NULL
) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= SWIG_Py_Void();
19864 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19867 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19868 return SWIG_Py_Void();
19871 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19872 return SWIG_Python_InitShadowInstance(args
);
19875 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
= 0;
19877 int arg1
= (int) 0 ;
19878 wxFindReplaceData
*result
= 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char * kwnames
[] = {
19883 (char *) "flags", NULL
19886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19888 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19889 if (!SWIG_IsOK(ecode1
)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19892 arg1
= static_cast< int >(val1
);
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19907 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19908 PyObject
*resultobj
= 0;
19909 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19912 PyObject
*swig_obj
[1] ;
19914 if (!args
) SWIG_fail
;
19915 swig_obj
[0] = args
;
19916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19917 if (!SWIG_IsOK(res1
)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19920 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_Py_Void();
19935 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19936 PyObject
*resultobj
= 0;
19937 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19938 wxString
*result
= 0 ;
19941 PyObject
*swig_obj
[1] ;
19943 if (!args
) SWIG_fail
;
19944 swig_obj
[0] = args
;
19945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19946 if (!SWIG_IsOK(res1
)) {
19947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19949 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 wxString
const &_result_ref
= (arg1
)->GetFindString();
19954 result
= (wxString
*) &_result_ref
;
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19972 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19973 PyObject
*resultobj
= 0;
19974 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19975 wxString
*result
= 0 ;
19978 PyObject
*swig_obj
[1] ;
19980 if (!args
) SWIG_fail
;
19981 swig_obj
[0] = args
;
19982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19983 if (!SWIG_IsOK(res1
)) {
19984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19986 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19991 result
= (wxString
*) &_result_ref
;
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20000 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20009 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20010 PyObject
*resultobj
= 0;
20011 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20015 PyObject
*swig_obj
[1] ;
20017 if (!args
) SWIG_fail
;
20018 swig_obj
[0] = args
;
20019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20020 if (!SWIG_IsOK(res1
)) {
20021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20023 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (int)(arg1
)->GetFlags();
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_From_int(static_cast< int >(result
));
20037 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= 0;
20039 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 char * kwnames
[] = {
20048 (char *) "self",(char *) "flags", NULL
20051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20053 if (!SWIG_IsOK(res1
)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20056 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20058 if (!SWIG_IsOK(ecode2
)) {
20059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20061 arg2
= static_cast< int >(val2
);
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 (arg1
)->SetFlags(arg2
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= SWIG_Py_Void();
20075 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= 0;
20077 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20078 wxString
*arg2
= 0 ;
20081 bool temp2
= false ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 char * kwnames
[] = {
20085 (char *) "self",(char *) "str", NULL
20088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20093 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20095 arg2
= wxString_in_helper(obj1
);
20096 if (arg2
== NULL
) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 (arg1
)->SetFindString((wxString
const &)*arg2
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_Py_Void();
20120 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
= 0;
20122 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20123 wxString
*arg2
= 0 ;
20126 bool temp2
= false ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 char * kwnames
[] = {
20130 (char *) "self",(char *) "str", NULL
20133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20135 if (!SWIG_IsOK(res1
)) {
20136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20138 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20140 arg2
= wxString_in_helper(obj1
);
20141 if (arg2
== NULL
) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_Py_Void();
20165 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20168 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20169 return SWIG_Py_Void();
20172 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20173 return SWIG_Python_InitShadowInstance(args
);
20176 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
= 0;
20178 wxWindow
*arg1
= (wxWindow
*) 0 ;
20179 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20180 wxString
*arg3
= 0 ;
20181 int arg4
= (int) 0 ;
20182 wxFindReplaceDialog
*result
= 0 ;
20187 bool temp3
= false ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 PyObject
* obj2
= 0 ;
20193 PyObject
* obj3
= 0 ;
20194 char * kwnames
[] = {
20195 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20200 if (!SWIG_IsOK(res1
)) {
20201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20205 if (!SWIG_IsOK(res2
)) {
20206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20208 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20210 arg3
= wxString_in_helper(obj2
);
20211 if (arg3
== NULL
) SWIG_fail
;
20215 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20216 if (!SWIG_IsOK(ecode4
)) {
20217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20219 arg4
= static_cast< int >(val4
);
20222 if (!wxPyCheckForApp()) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20243 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20244 PyObject
*resultobj
= 0;
20245 wxFindReplaceDialog
*result
= 0 ;
20247 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20249 if (!wxPyCheckForApp()) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20262 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
= 0;
20264 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20265 wxWindow
*arg2
= (wxWindow
*) 0 ;
20266 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20267 wxString
*arg4
= 0 ;
20268 int arg5
= (int) 0 ;
20276 bool temp4
= false ;
20279 PyObject
* obj0
= 0 ;
20280 PyObject
* obj1
= 0 ;
20281 PyObject
* obj2
= 0 ;
20282 PyObject
* obj3
= 0 ;
20283 PyObject
* obj4
= 0 ;
20284 char * kwnames
[] = {
20285 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20290 if (!SWIG_IsOK(res1
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20293 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20295 if (!SWIG_IsOK(res2
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20299 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20300 if (!SWIG_IsOK(res3
)) {
20301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20303 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20305 arg4
= wxString_in_helper(obj3
);
20306 if (arg4
== NULL
) SWIG_fail
;
20310 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20311 if (!SWIG_IsOK(ecode5
)) {
20312 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20314 arg5
= static_cast< int >(val5
);
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20339 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20340 PyObject
*resultobj
= 0;
20341 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20342 wxFindReplaceData
*result
= 0 ;
20345 PyObject
*swig_obj
[1] ;
20347 if (!args
) SWIG_fail
;
20348 swig_obj
[0] = args
;
20349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20350 if (!SWIG_IsOK(res1
)) {
20351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20353 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20367 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
= 0;
20369 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20370 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 PyObject
* obj1
= 0 ;
20377 char * kwnames
[] = {
20378 (char *) "self",(char *) "data", NULL
20381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20383 if (!SWIG_IsOK(res1
)) {
20384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20386 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20388 if (!SWIG_IsOK(res2
)) {
20389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20391 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 (arg1
)->SetData(arg2
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_Py_Void();
20405 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20408 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20409 return SWIG_Py_Void();
20412 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20413 return SWIG_Python_InitShadowInstance(args
);
20416 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= 0;
20418 wxWindow
*arg1
= (wxWindow
*) 0 ;
20419 int arg2
= (int) (int)-1 ;
20420 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20421 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20422 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20423 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20424 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20425 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20426 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20427 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20428 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20429 wxMDIParentFrame
*result
= 0 ;
20434 bool temp3
= false ;
20439 bool temp7
= false ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 PyObject
* obj2
= 0 ;
20443 PyObject
* obj3
= 0 ;
20444 PyObject
* obj4
= 0 ;
20445 PyObject
* obj5
= 0 ;
20446 PyObject
* obj6
= 0 ;
20447 char * kwnames
[] = {
20448 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20453 if (!SWIG_IsOK(res1
)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20459 if (!SWIG_IsOK(ecode2
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20462 arg2
= static_cast< int >(val2
);
20466 arg3
= wxString_in_helper(obj2
);
20467 if (arg3
== NULL
) SWIG_fail
;
20474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20484 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20485 if (!SWIG_IsOK(ecode6
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20488 arg6
= static_cast< long >(val6
);
20492 arg7
= wxString_in_helper(obj6
);
20493 if (arg7
== NULL
) SWIG_fail
;
20498 if (!wxPyCheckForApp()) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20527 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20528 PyObject
*resultobj
= 0;
20529 wxMDIParentFrame
*result
= 0 ;
20531 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20533 if (!wxPyCheckForApp()) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20546 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
= 0;
20548 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20549 wxWindow
*arg2
= (wxWindow
*) 0 ;
20550 int arg3
= (int) (int)-1 ;
20551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20553 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20554 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20555 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20556 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20557 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20558 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20559 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20567 bool temp4
= false ;
20572 bool temp8
= false ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 PyObject
* obj2
= 0 ;
20576 PyObject
* obj3
= 0 ;
20577 PyObject
* obj4
= 0 ;
20578 PyObject
* obj5
= 0 ;
20579 PyObject
* obj6
= 0 ;
20580 PyObject
* obj7
= 0 ;
20581 char * kwnames
[] = {
20582 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20587 if (!SWIG_IsOK(res1
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20590 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20592 if (!SWIG_IsOK(res2
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20598 if (!SWIG_IsOK(ecode3
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20601 arg3
= static_cast< int >(val3
);
20605 arg4
= wxString_in_helper(obj3
);
20606 if (arg4
== NULL
) SWIG_fail
;
20613 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20619 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20623 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20624 if (!SWIG_IsOK(ecode7
)) {
20625 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20627 arg7
= static_cast< long >(val7
);
20631 arg8
= wxString_in_helper(obj7
);
20632 if (arg8
== NULL
) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20667 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20668 PyObject
*resultobj
= 0;
20669 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20672 PyObject
*swig_obj
[1] ;
20674 if (!args
) SWIG_fail
;
20675 swig_obj
[0] = args
;
20676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20680 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 (arg1
)->ActivateNext();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_Py_Void();
20694 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20695 PyObject
*resultobj
= 0;
20696 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20699 PyObject
*swig_obj
[1] ;
20701 if (!args
) SWIG_fail
;
20702 swig_obj
[0] = args
;
20703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20707 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->ActivatePrevious();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_Py_Void();
20721 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20722 PyObject
*resultobj
= 0;
20723 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20726 PyObject
*swig_obj
[1] ;
20728 if (!args
) SWIG_fail
;
20729 swig_obj
[0] = args
;
20730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20731 if (!SWIG_IsOK(res1
)) {
20732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20734 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 (arg1
)->ArrangeIcons();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= SWIG_Py_Void();
20748 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20749 PyObject
*resultobj
= 0;
20750 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20753 PyObject
*swig_obj
[1] ;
20755 if (!args
) SWIG_fail
;
20756 swig_obj
[0] = args
;
20757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20758 if (!SWIG_IsOK(res1
)) {
20759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20761 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_Py_Void();
20775 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20776 PyObject
*resultobj
= 0;
20777 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20778 wxMDIChildFrame
*result
= 0 ;
20781 PyObject
*swig_obj
[1] ;
20783 if (!args
) SWIG_fail
;
20784 swig_obj
[0] = args
;
20785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20786 if (!SWIG_IsOK(res1
)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20789 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20805 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20806 PyObject
*resultobj
= 0;
20807 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20808 wxMDIClientWindow
*result
= 0 ;
20811 PyObject
*swig_obj
[1] ;
20813 if (!args
) SWIG_fail
;
20814 swig_obj
[0] = args
;
20815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20816 if (!SWIG_IsOK(res1
)) {
20817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20819 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20835 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20836 PyObject
*resultobj
= 0;
20837 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20838 wxWindow
*result
= 0 ;
20841 PyObject
*swig_obj
[1] ;
20843 if (!args
) SWIG_fail
;
20844 swig_obj
[0] = args
;
20845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20846 if (!SWIG_IsOK(res1
)) {
20847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20849 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (wxWindow
*)(arg1
)->GetToolBar();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= wxPyMake_wxObject(result
, 0);
20865 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
= 0;
20867 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20868 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20873 PyObject
* obj0
= 0 ;
20874 PyObject
* obj1
= 0 ;
20875 char * kwnames
[] = {
20876 (char *) "self",(char *) "orient", NULL
20879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20881 if (!SWIG_IsOK(res1
)) {
20882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20884 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20887 if (!SWIG_IsOK(ecode2
)) {
20888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20890 arg2
= static_cast< wxOrientation
>(val2
);
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 (arg1
)->Tile(arg2
);
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= SWIG_Py_Void();
20905 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20908 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20909 return SWIG_Py_Void();
20912 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20913 return SWIG_Python_InitShadowInstance(args
);
20916 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
= 0;
20918 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20919 int arg2
= (int) (int)-1 ;
20920 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20921 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20926 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20927 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20929 wxMDIChildFrame
*result
= 0 ;
20934 bool temp3
= false ;
20939 bool temp7
= false ;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 PyObject
* obj2
= 0 ;
20943 PyObject
* obj3
= 0 ;
20944 PyObject
* obj4
= 0 ;
20945 PyObject
* obj5
= 0 ;
20946 PyObject
* obj6
= 0 ;
20947 char * kwnames
[] = {
20948 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20956 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20959 if (!SWIG_IsOK(ecode2
)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20962 arg2
= static_cast< int >(val2
);
20966 arg3
= wxString_in_helper(obj2
);
20967 if (arg3
== NULL
) SWIG_fail
;
20974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20984 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20985 if (!SWIG_IsOK(ecode6
)) {
20986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20988 arg6
= static_cast< long >(val6
);
20992 arg7
= wxString_in_helper(obj6
);
20993 if (arg7
== NULL
) SWIG_fail
;
20998 if (!wxPyCheckForApp()) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21027 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 PyObject
*resultobj
= 0;
21029 wxMDIChildFrame
*result
= 0 ;
21031 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21033 if (!wxPyCheckForApp()) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21046 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= 0;
21048 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21049 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21050 int arg3
= (int) (int)-1 ;
21051 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21052 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21053 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21054 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21055 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21056 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21057 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21058 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21059 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21067 bool temp4
= false ;
21072 bool temp8
= false ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 PyObject
* obj2
= 0 ;
21076 PyObject
* obj3
= 0 ;
21077 PyObject
* obj4
= 0 ;
21078 PyObject
* obj5
= 0 ;
21079 PyObject
* obj6
= 0 ;
21080 PyObject
* obj7
= 0 ;
21081 char * kwnames
[] = {
21082 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21087 if (!SWIG_IsOK(res1
)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21090 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21092 if (!SWIG_IsOK(res2
)) {
21093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21095 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21098 if (!SWIG_IsOK(ecode3
)) {
21099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21101 arg3
= static_cast< int >(val3
);
21105 arg4
= wxString_in_helper(obj3
);
21106 if (arg4
== NULL
) SWIG_fail
;
21113 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21119 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21123 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21124 if (!SWIG_IsOK(ecode7
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21127 arg7
= static_cast< long >(val7
);
21131 arg8
= wxString_in_helper(obj7
);
21132 if (arg8
== NULL
) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21167 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21168 PyObject
*resultobj
= 0;
21169 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21172 PyObject
*swig_obj
[1] ;
21174 if (!args
) SWIG_fail
;
21175 swig_obj
[0] = args
;
21176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21177 if (!SWIG_IsOK(res1
)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21180 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 (arg1
)->Activate();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_Py_Void();
21194 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21197 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21198 return SWIG_Py_Void();
21201 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21202 return SWIG_Python_InitShadowInstance(args
);
21205 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
= 0;
21207 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21208 long arg2
= (long) 0 ;
21209 wxMDIClientWindow
*result
= 0 ;
21214 PyObject
* obj0
= 0 ;
21215 PyObject
* obj1
= 0 ;
21216 char * kwnames
[] = {
21217 (char *) "parent",(char *) "style", NULL
21220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21222 if (!SWIG_IsOK(res1
)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21225 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21227 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21228 if (!SWIG_IsOK(ecode2
)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21231 arg2
= static_cast< long >(val2
);
21234 if (!wxPyCheckForApp()) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21247 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21248 PyObject
*resultobj
= 0;
21249 wxMDIClientWindow
*result
= 0 ;
21251 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21253 if (!wxPyCheckForApp()) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21266 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
= 0;
21268 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21269 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21270 long arg3
= (long) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 PyObject
* obj2
= 0 ;
21281 char * kwnames
[] = {
21282 (char *) "self",(char *) "parent",(char *) "style", NULL
21285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21287 if (!SWIG_IsOK(res1
)) {
21288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21290 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21292 if (!SWIG_IsOK(res2
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21295 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21297 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21298 if (!SWIG_IsOK(ecode3
)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21301 arg3
= static_cast< long >(val3
);
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21318 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21321 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21322 return SWIG_Py_Void();
21325 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21326 return SWIG_Python_InitShadowInstance(args
);
21329 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
= 0;
21331 wxWindow
*arg1
= (wxWindow
*) 0 ;
21332 int arg2
= (int) (int)-1 ;
21333 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21334 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21335 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21336 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21337 long arg5
= (long) 0 ;
21338 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21339 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21340 wxPyWindow
*result
= 0 ;
21349 bool temp6
= false ;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 PyObject
* obj2
= 0 ;
21353 PyObject
* obj3
= 0 ;
21354 PyObject
* obj4
= 0 ;
21355 PyObject
* obj5
= 0 ;
21356 char * kwnames
[] = {
21357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21368 if (!SWIG_IsOK(ecode2
)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21371 arg2
= static_cast< int >(val2
);
21376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21382 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21386 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21387 if (!SWIG_IsOK(ecode5
)) {
21388 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21390 arg5
= static_cast< long >(val5
);
21394 arg6
= wxString_in_helper(obj5
);
21395 if (arg6
== NULL
) SWIG_fail
;
21400 if (!wxPyCheckForApp()) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21421 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21422 PyObject
*resultobj
= 0;
21423 wxPyWindow
*result
= 0 ;
21425 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21427 if (!wxPyCheckForApp()) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (wxPyWindow
*)new wxPyWindow();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21440 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
= 0;
21442 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21443 PyObject
*arg2
= (PyObject
*) 0 ;
21444 PyObject
*arg3
= (PyObject
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 PyObject
* obj2
= 0 ;
21450 char * kwnames
[] = {
21451 (char *) "self",(char *) "self",(char *) "_class", NULL
21454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21459 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_Py_Void();
21475 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
= 0;
21477 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 char * kwnames
[] = {
21485 (char *) "self",(char *) "size", NULL
21488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21490 if (!SWIG_IsOK(res1
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21493 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21496 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= SWIG_Py_Void();
21511 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
= 0;
21513 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21514 wxDC
*arg2
= (wxDC
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 char * kwnames
[] = {
21523 (char *) "self",(char *) "dc", NULL
21526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21528 if (!SWIG_IsOK(res1
)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21531 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21533 if (!SWIG_IsOK(res2
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21536 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21552 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
= 0;
21554 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 PyObject
* obj2
= 0 ;
21572 PyObject
* obj3
= 0 ;
21573 PyObject
* obj4
= 0 ;
21574 char * kwnames
[] = {
21575 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21580 if (!SWIG_IsOK(res1
)) {
21581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21583 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21585 if (!SWIG_IsOK(ecode2
)) {
21586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21588 arg2
= static_cast< int >(val2
);
21589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21590 if (!SWIG_IsOK(ecode3
)) {
21591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21593 arg3
= static_cast< int >(val3
);
21594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21595 if (!SWIG_IsOK(ecode4
)) {
21596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21598 arg4
= static_cast< int >(val4
);
21599 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21600 if (!SWIG_IsOK(ecode5
)) {
21601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21603 arg5
= static_cast< int >(val5
);
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_Py_Void();
21617 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
= 0;
21619 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21624 int arg6
= (int) wxSIZE_AUTO
;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 PyObject
* obj2
= 0 ;
21640 PyObject
* obj3
= 0 ;
21641 PyObject
* obj4
= 0 ;
21642 PyObject
* obj5
= 0 ;
21643 char * kwnames
[] = {
21644 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21649 if (!SWIG_IsOK(res1
)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21652 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21654 if (!SWIG_IsOK(ecode2
)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21657 arg2
= static_cast< int >(val2
);
21658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21659 if (!SWIG_IsOK(ecode3
)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21662 arg3
= static_cast< int >(val3
);
21663 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21664 if (!SWIG_IsOK(ecode4
)) {
21665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21667 arg4
= static_cast< int >(val4
);
21668 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21669 if (!SWIG_IsOK(ecode5
)) {
21670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21672 arg5
= static_cast< int >(val5
);
21674 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21675 if (!SWIG_IsOK(ecode6
)) {
21676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21678 arg6
= static_cast< int >(val6
);
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_Py_Void();
21693 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
= 0;
21695 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 PyObject
* obj2
= 0 ;
21707 char * kwnames
[] = {
21708 (char *) "self",(char *) "width",(char *) "height", NULL
21711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21713 if (!SWIG_IsOK(res1
)) {
21714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21716 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21718 if (!SWIG_IsOK(ecode2
)) {
21719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21721 arg2
= static_cast< int >(val2
);
21722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21723 if (!SWIG_IsOK(ecode3
)) {
21724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21726 arg3
= static_cast< int >(val3
);
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 (arg1
)->DoSetClientSize(arg2
,arg3
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_Py_Void();
21740 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
= 0;
21742 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 PyObject
* obj2
= 0 ;
21754 char * kwnames
[] = {
21755 (char *) "self",(char *) "x",(char *) "y", NULL
21758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21760 if (!SWIG_IsOK(res1
)) {
21761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21763 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21765 if (!SWIG_IsOK(ecode2
)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21768 arg2
= static_cast< int >(val2
);
21769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21770 if (!SWIG_IsOK(ecode3
)) {
21771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21773 arg3
= static_cast< int >(val3
);
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_Py_Void();
21787 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21788 PyObject
*resultobj
= 0;
21789 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21790 int *arg2
= (int *) 0 ;
21791 int *arg3
= (int *) 0 ;
21795 int res2
= SWIG_TMPOBJ
;
21797 int res3
= SWIG_TMPOBJ
;
21798 PyObject
*swig_obj
[1] ;
21802 if (!args
) SWIG_fail
;
21803 swig_obj
[0] = args
;
21804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21805 if (!SWIG_IsOK(res1
)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21808 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= SWIG_Py_Void();
21816 if (SWIG_IsTmpObj(res2
)) {
21817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21819 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21822 if (SWIG_IsTmpObj(res3
)) {
21823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21825 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21834 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21835 PyObject
*resultobj
= 0;
21836 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21837 int *arg2
= (int *) 0 ;
21838 int *arg3
= (int *) 0 ;
21842 int res2
= SWIG_TMPOBJ
;
21844 int res3
= SWIG_TMPOBJ
;
21845 PyObject
*swig_obj
[1] ;
21849 if (!args
) SWIG_fail
;
21850 swig_obj
[0] = args
;
21851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21852 if (!SWIG_IsOK(res1
)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21855 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= SWIG_Py_Void();
21863 if (SWIG_IsTmpObj(res2
)) {
21864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21866 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21869 if (SWIG_IsTmpObj(res3
)) {
21870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21872 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21881 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21882 PyObject
*resultobj
= 0;
21883 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21884 int *arg2
= (int *) 0 ;
21885 int *arg3
= (int *) 0 ;
21889 int res2
= SWIG_TMPOBJ
;
21891 int res3
= SWIG_TMPOBJ
;
21892 PyObject
*swig_obj
[1] ;
21896 if (!args
) SWIG_fail
;
21897 swig_obj
[0] = args
;
21898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21899 if (!SWIG_IsOK(res1
)) {
21900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21902 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= SWIG_Py_Void();
21910 if (SWIG_IsTmpObj(res2
)) {
21911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21913 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21916 if (SWIG_IsTmpObj(res3
)) {
21917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21919 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21928 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21929 PyObject
*resultobj
= 0;
21930 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21934 PyObject
*swig_obj
[1] ;
21936 if (!args
) SWIG_fail
;
21937 swig_obj
[0] = args
;
21938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21939 if (!SWIG_IsOK(res1
)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21942 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21956 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21957 PyObject
*resultobj
= 0;
21958 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21962 PyObject
*swig_obj
[1] ;
21964 if (!args
) SWIG_fail
;
21965 swig_obj
[0] = args
;
21966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21967 if (!SWIG_IsOK(res1
)) {
21968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21970 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21984 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 PyObject
*resultobj
= 0;
21986 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21987 SwigValueWrapper
<wxVisualAttributes
> result
;
21990 PyObject
*swig_obj
[1] ;
21992 if (!args
) SWIG_fail
;
21993 swig_obj
[0] = args
;
21994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21998 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (arg1
)->GetDefaultAttributes();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22012 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22013 PyObject
*resultobj
= 0;
22014 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22017 PyObject
*swig_obj
[1] ;
22019 if (!args
) SWIG_fail
;
22020 swig_obj
[0] = args
;
22021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22025 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 (arg1
)->OnInternalIdle();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_Py_Void();
22039 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22043 return SWIG_Py_Void();
22046 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22047 return SWIG_Python_InitShadowInstance(args
);
22050 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
= 0;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22053 int arg2
= (int) (int)-1 ;
22054 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22055 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22056 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22057 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22058 long arg5
= (long) 0 ;
22059 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22060 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22061 wxPyPanel
*result
= 0 ;
22070 bool temp6
= false ;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 PyObject
* obj2
= 0 ;
22074 PyObject
* obj3
= 0 ;
22075 PyObject
* obj4
= 0 ;
22076 PyObject
* obj5
= 0 ;
22077 char * kwnames
[] = {
22078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22083 if (!SWIG_IsOK(res1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22089 if (!SWIG_IsOK(ecode2
)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22092 arg2
= static_cast< int >(val2
);
22097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22107 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22108 if (!SWIG_IsOK(ecode5
)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22111 arg5
= static_cast< long >(val5
);
22115 arg6
= wxString_in_helper(obj5
);
22116 if (arg6
== NULL
) SWIG_fail
;
22121 if (!wxPyCheckForApp()) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22142 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22143 PyObject
*resultobj
= 0;
22144 wxPyPanel
*result
= 0 ;
22146 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22148 if (!wxPyCheckForApp()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (wxPyPanel
*)new wxPyPanel();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22161 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
= 0;
22163 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22164 PyObject
*arg2
= (PyObject
*) 0 ;
22165 PyObject
*arg3
= (PyObject
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 PyObject
* obj2
= 0 ;
22171 char * kwnames
[] = {
22172 (char *) "self",(char *) "self",(char *) "_class", NULL
22175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22177 if (!SWIG_IsOK(res1
)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22180 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22185 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= SWIG_Py_Void();
22196 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
= 0;
22198 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char * kwnames
[] = {
22206 (char *) "self",(char *) "size", NULL
22209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22214 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_Py_Void();
22232 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
= 0;
22234 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22235 wxDC
*arg2
= (wxDC
*) 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 char * kwnames
[] = {
22244 (char *) "self",(char *) "dc", NULL
22247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22252 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22254 if (!SWIG_IsOK(res2
)) {
22255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22257 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22273 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
= 0;
22275 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 PyObject
* obj2
= 0 ;
22293 PyObject
* obj3
= 0 ;
22294 PyObject
* obj4
= 0 ;
22295 char * kwnames
[] = {
22296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22301 if (!SWIG_IsOK(res1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22304 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22306 if (!SWIG_IsOK(ecode2
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22309 arg2
= static_cast< int >(val2
);
22310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22311 if (!SWIG_IsOK(ecode3
)) {
22312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22314 arg3
= static_cast< int >(val3
);
22315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22316 if (!SWIG_IsOK(ecode4
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22319 arg4
= static_cast< int >(val4
);
22320 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22321 if (!SWIG_IsOK(ecode5
)) {
22322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22324 arg5
= static_cast< int >(val5
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_Py_Void();
22338 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
= 0;
22340 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22345 int arg6
= (int) wxSIZE_AUTO
;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 PyObject
* obj2
= 0 ;
22361 PyObject
* obj3
= 0 ;
22362 PyObject
* obj4
= 0 ;
22363 PyObject
* obj5
= 0 ;
22364 char * kwnames
[] = {
22365 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22370 if (!SWIG_IsOK(res1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22373 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22375 if (!SWIG_IsOK(ecode2
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22378 arg2
= static_cast< int >(val2
);
22379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22380 if (!SWIG_IsOK(ecode3
)) {
22381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22383 arg3
= static_cast< int >(val3
);
22384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22385 if (!SWIG_IsOK(ecode4
)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22388 arg4
= static_cast< int >(val4
);
22389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22390 if (!SWIG_IsOK(ecode5
)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22393 arg5
= static_cast< int >(val5
);
22395 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22396 if (!SWIG_IsOK(ecode6
)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22399 arg6
= static_cast< int >(val6
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= SWIG_Py_Void();
22414 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
= 0;
22416 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 PyObject
* obj2
= 0 ;
22428 char * kwnames
[] = {
22429 (char *) "self",(char *) "width",(char *) "height", NULL
22432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22434 if (!SWIG_IsOK(res1
)) {
22435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22437 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22439 if (!SWIG_IsOK(ecode2
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22442 arg2
= static_cast< int >(val2
);
22443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22444 if (!SWIG_IsOK(ecode3
)) {
22445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22447 arg3
= static_cast< int >(val3
);
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->DoSetClientSize(arg2
,arg3
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_Py_Void();
22461 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
= 0;
22463 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22472 PyObject
* obj0
= 0 ;
22473 PyObject
* obj1
= 0 ;
22474 PyObject
* obj2
= 0 ;
22475 char * kwnames
[] = {
22476 (char *) "self",(char *) "x",(char *) "y", NULL
22479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22481 if (!SWIG_IsOK(res1
)) {
22482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22484 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22486 if (!SWIG_IsOK(ecode2
)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22489 arg2
= static_cast< int >(val2
);
22490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22491 if (!SWIG_IsOK(ecode3
)) {
22492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22494 arg3
= static_cast< int >(val3
);
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_Py_Void();
22508 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22509 PyObject
*resultobj
= 0;
22510 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22511 int *arg2
= (int *) 0 ;
22512 int *arg3
= (int *) 0 ;
22516 int res2
= SWIG_TMPOBJ
;
22518 int res3
= SWIG_TMPOBJ
;
22519 PyObject
*swig_obj
[1] ;
22523 if (!args
) SWIG_fail
;
22524 swig_obj
[0] = args
;
22525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22526 if (!SWIG_IsOK(res1
)) {
22527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22529 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= SWIG_Py_Void();
22537 if (SWIG_IsTmpObj(res2
)) {
22538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22540 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22543 if (SWIG_IsTmpObj(res3
)) {
22544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22546 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22555 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22556 PyObject
*resultobj
= 0;
22557 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22558 int *arg2
= (int *) 0 ;
22559 int *arg3
= (int *) 0 ;
22563 int res2
= SWIG_TMPOBJ
;
22565 int res3
= SWIG_TMPOBJ
;
22566 PyObject
*swig_obj
[1] ;
22570 if (!args
) SWIG_fail
;
22571 swig_obj
[0] = args
;
22572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22576 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= SWIG_Py_Void();
22584 if (SWIG_IsTmpObj(res2
)) {
22585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22587 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22590 if (SWIG_IsTmpObj(res3
)) {
22591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22593 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22602 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22603 PyObject
*resultobj
= 0;
22604 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22605 int *arg2
= (int *) 0 ;
22606 int *arg3
= (int *) 0 ;
22610 int res2
= SWIG_TMPOBJ
;
22612 int res3
= SWIG_TMPOBJ
;
22613 PyObject
*swig_obj
[1] ;
22617 if (!args
) SWIG_fail
;
22618 swig_obj
[0] = args
;
22619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22620 if (!SWIG_IsOK(res1
)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22623 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_Py_Void();
22631 if (SWIG_IsTmpObj(res2
)) {
22632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22634 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22637 if (SWIG_IsTmpObj(res3
)) {
22638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22640 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22649 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22650 PyObject
*resultobj
= 0;
22651 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22655 PyObject
*swig_obj
[1] ;
22657 if (!args
) SWIG_fail
;
22658 swig_obj
[0] = args
;
22659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22663 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22677 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22678 PyObject
*resultobj
= 0;
22679 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22683 PyObject
*swig_obj
[1] ;
22685 if (!args
) SWIG_fail
;
22686 swig_obj
[0] = args
;
22687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22688 if (!SWIG_IsOK(res1
)) {
22689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22691 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22705 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22706 PyObject
*resultobj
= 0;
22707 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22708 SwigValueWrapper
<wxVisualAttributes
> result
;
22711 PyObject
*swig_obj
[1] ;
22713 if (!args
) SWIG_fail
;
22714 swig_obj
[0] = args
;
22715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22716 if (!SWIG_IsOK(res1
)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22719 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= (arg1
)->GetDefaultAttributes();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22733 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22734 PyObject
*resultobj
= 0;
22735 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22738 PyObject
*swig_obj
[1] ;
22740 if (!args
) SWIG_fail
;
22741 swig_obj
[0] = args
;
22742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22743 if (!SWIG_IsOK(res1
)) {
22744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22746 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 (arg1
)->OnInternalIdle();
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= SWIG_Py_Void();
22760 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22764 return SWIG_Py_Void();
22767 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22768 return SWIG_Python_InitShadowInstance(args
);
22771 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
= 0;
22773 wxWindow
*arg1
= (wxWindow
*) 0 ;
22774 int arg2
= (int) (int)-1 ;
22775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22779 long arg5
= (long) 0 ;
22780 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22781 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22782 wxPyScrolledWindow
*result
= 0 ;
22791 bool temp6
= false ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 PyObject
* obj2
= 0 ;
22795 PyObject
* obj3
= 0 ;
22796 PyObject
* obj4
= 0 ;
22797 PyObject
* obj5
= 0 ;
22798 char * kwnames
[] = {
22799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22810 if (!SWIG_IsOK(ecode2
)) {
22811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22813 arg2
= static_cast< int >(val2
);
22818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22824 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22828 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22829 if (!SWIG_IsOK(ecode5
)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22832 arg5
= static_cast< long >(val5
);
22836 arg6
= wxString_in_helper(obj5
);
22837 if (arg6
== NULL
) SWIG_fail
;
22842 if (!wxPyCheckForApp()) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22863 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22864 PyObject
*resultobj
= 0;
22865 wxPyScrolledWindow
*result
= 0 ;
22867 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22869 if (!wxPyCheckForApp()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22882 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
= 0;
22884 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22885 PyObject
*arg2
= (PyObject
*) 0 ;
22886 PyObject
*arg3
= (PyObject
*) 0 ;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 PyObject
* obj2
= 0 ;
22892 char * kwnames
[] = {
22893 (char *) "self",(char *) "self",(char *) "_class", NULL
22896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22898 if (!SWIG_IsOK(res1
)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22901 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_Py_Void();
22917 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
= 0;
22919 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char * kwnames
[] = {
22927 (char *) "self",(char *) "size", NULL
22930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22935 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22938 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_Py_Void();
22953 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
= 0;
22955 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22956 wxDC
*arg2
= (wxDC
*) 0 ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 char * kwnames
[] = {
22965 (char *) "self",(char *) "dc", NULL
22968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22973 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22975 if (!SWIG_IsOK(res2
)) {
22976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22978 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22994 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
= 0;
22996 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23011 PyObject
* obj0
= 0 ;
23012 PyObject
* obj1
= 0 ;
23013 PyObject
* obj2
= 0 ;
23014 PyObject
* obj3
= 0 ;
23015 PyObject
* obj4
= 0 ;
23016 char * kwnames
[] = {
23017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23025 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23027 if (!SWIG_IsOK(ecode2
)) {
23028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23030 arg2
= static_cast< int >(val2
);
23031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23032 if (!SWIG_IsOK(ecode3
)) {
23033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23035 arg3
= static_cast< int >(val3
);
23036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23037 if (!SWIG_IsOK(ecode4
)) {
23038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23040 arg4
= static_cast< int >(val4
);
23041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23042 if (!SWIG_IsOK(ecode5
)) {
23043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23045 arg5
= static_cast< int >(val5
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_Py_Void();
23059 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
= 0;
23061 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23066 int arg6
= (int) wxSIZE_AUTO
;
23079 PyObject
* obj0
= 0 ;
23080 PyObject
* obj1
= 0 ;
23081 PyObject
* obj2
= 0 ;
23082 PyObject
* obj3
= 0 ;
23083 PyObject
* obj4
= 0 ;
23084 PyObject
* obj5
= 0 ;
23085 char * kwnames
[] = {
23086 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23094 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23096 if (!SWIG_IsOK(ecode2
)) {
23097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23099 arg2
= static_cast< int >(val2
);
23100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23101 if (!SWIG_IsOK(ecode3
)) {
23102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23104 arg3
= static_cast< int >(val3
);
23105 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23106 if (!SWIG_IsOK(ecode4
)) {
23107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23109 arg4
= static_cast< int >(val4
);
23110 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23111 if (!SWIG_IsOK(ecode5
)) {
23112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23114 arg5
= static_cast< int >(val5
);
23116 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23117 if (!SWIG_IsOK(ecode6
)) {
23118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23120 arg6
= static_cast< int >(val6
);
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_Py_Void();
23135 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
= 0;
23137 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23146 PyObject
* obj0
= 0 ;
23147 PyObject
* obj1
= 0 ;
23148 PyObject
* obj2
= 0 ;
23149 char * kwnames
[] = {
23150 (char *) "self",(char *) "width",(char *) "height", NULL
23153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23155 if (!SWIG_IsOK(res1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23158 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23160 if (!SWIG_IsOK(ecode2
)) {
23161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23163 arg2
= static_cast< int >(val2
);
23164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23165 if (!SWIG_IsOK(ecode3
)) {
23166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23168 arg3
= static_cast< int >(val3
);
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 (arg1
)->DoSetClientSize(arg2
,arg3
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= SWIG_Py_Void();
23182 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
= 0;
23184 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 PyObject
* obj2
= 0 ;
23196 char * kwnames
[] = {
23197 (char *) "self",(char *) "x",(char *) "y", NULL
23200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23202 if (!SWIG_IsOK(res1
)) {
23203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23205 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23207 if (!SWIG_IsOK(ecode2
)) {
23208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23210 arg2
= static_cast< int >(val2
);
23211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23212 if (!SWIG_IsOK(ecode3
)) {
23213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23215 arg3
= static_cast< int >(val3
);
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= SWIG_Py_Void();
23229 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23230 PyObject
*resultobj
= 0;
23231 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23232 int *arg2
= (int *) 0 ;
23233 int *arg3
= (int *) 0 ;
23237 int res2
= SWIG_TMPOBJ
;
23239 int res3
= SWIG_TMPOBJ
;
23240 PyObject
*swig_obj
[1] ;
23244 if (!args
) SWIG_fail
;
23245 swig_obj
[0] = args
;
23246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23247 if (!SWIG_IsOK(res1
)) {
23248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23250 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_Py_Void();
23258 if (SWIG_IsTmpObj(res2
)) {
23259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23261 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23264 if (SWIG_IsTmpObj(res3
)) {
23265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23267 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23276 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23279 int *arg2
= (int *) 0 ;
23280 int *arg3
= (int *) 0 ;
23284 int res2
= SWIG_TMPOBJ
;
23286 int res3
= SWIG_TMPOBJ
;
23287 PyObject
*swig_obj
[1] ;
23291 if (!args
) SWIG_fail
;
23292 swig_obj
[0] = args
;
23293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23294 if (!SWIG_IsOK(res1
)) {
23295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23297 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23304 resultobj
= SWIG_Py_Void();
23305 if (SWIG_IsTmpObj(res2
)) {
23306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23308 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23311 if (SWIG_IsTmpObj(res3
)) {
23312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23323 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23324 PyObject
*resultobj
= 0;
23325 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23326 int *arg2
= (int *) 0 ;
23327 int *arg3
= (int *) 0 ;
23331 int res2
= SWIG_TMPOBJ
;
23333 int res3
= SWIG_TMPOBJ
;
23334 PyObject
*swig_obj
[1] ;
23338 if (!args
) SWIG_fail
;
23339 swig_obj
[0] = args
;
23340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23341 if (!SWIG_IsOK(res1
)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23344 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_Py_Void();
23352 if (SWIG_IsTmpObj(res2
)) {
23353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23355 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23358 if (SWIG_IsTmpObj(res3
)) {
23359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23361 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23370 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23371 PyObject
*resultobj
= 0;
23372 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23376 PyObject
*swig_obj
[1] ;
23378 if (!args
) SWIG_fail
;
23379 swig_obj
[0] = args
;
23380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23384 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23398 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23399 PyObject
*resultobj
= 0;
23400 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23404 PyObject
*swig_obj
[1] ;
23406 if (!args
) SWIG_fail
;
23407 swig_obj
[0] = args
;
23408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23409 if (!SWIG_IsOK(res1
)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23412 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23426 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 PyObject
*resultobj
= 0;
23428 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23429 SwigValueWrapper
<wxVisualAttributes
> result
;
23432 PyObject
*swig_obj
[1] ;
23434 if (!args
) SWIG_fail
;
23435 swig_obj
[0] = args
;
23436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23440 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (arg1
)->GetDefaultAttributes();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23454 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23455 PyObject
*resultobj
= 0;
23456 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 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_wxPyScrolledWindow
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23467 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 (arg1
)->OnInternalIdle();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_Py_Void();
23481 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23484 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23485 return SWIG_Py_Void();
23488 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23489 return SWIG_Python_InitShadowInstance(args
);
23492 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23493 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23498 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23499 PyObject
*pyobj
= 0;
23503 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23505 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23512 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23513 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23518 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23519 PyObject
*pyobj
= 0;
23523 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23525 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23532 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23533 PyObject
*resultobj
= 0;
23534 wxPrintData
*result
= 0 ;
23536 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= (wxPrintData
*)new wxPrintData();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23550 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23551 PyObject
*resultobj
= 0;
23552 wxPrintData
*arg1
= 0 ;
23553 wxPrintData
*result
= 0 ;
23557 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23559 if (!SWIG_IsOK(res1
)) {
23560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23565 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23579 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23583 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23586 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23589 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23593 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23598 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23599 PyObject
*resultobj
= 0;
23600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23603 PyObject
*swig_obj
[1] ;
23605 if (!args
) SWIG_fail
;
23606 swig_obj
[0] = args
;
23607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23608 if (!SWIG_IsOK(res1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23611 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_Py_Void();
23626 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23627 PyObject
*resultobj
= 0;
23628 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23632 PyObject
*swig_obj
[1] ;
23634 if (!args
) SWIG_fail
;
23635 swig_obj
[0] = args
;
23636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23637 if (!SWIG_IsOK(res1
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23640 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (int)(arg1
)->GetNoCopies();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_From_int(static_cast< int >(result
));
23654 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23655 PyObject
*resultobj
= 0;
23656 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23660 PyObject
*swig_obj
[1] ;
23662 if (!args
) SWIG_fail
;
23663 swig_obj
[0] = args
;
23664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23668 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (bool)(arg1
)->GetCollate();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23684 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23685 PyObject
*resultobj
= 0;
23686 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23690 PyObject
*swig_obj
[1] ;
23692 if (!args
) SWIG_fail
;
23693 swig_obj
[0] = args
;
23694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23695 if (!SWIG_IsOK(res1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23698 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (int)(arg1
)->GetOrientation();
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_From_int(static_cast< int >(result
));
23712 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23713 PyObject
*resultobj
= 0;
23714 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23718 PyObject
*swig_obj
[1] ;
23720 if (!args
) SWIG_fail
;
23721 swig_obj
[0] = args
;
23722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23726 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (bool)(arg1
)->Ok();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23742 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23743 PyObject
*resultobj
= 0;
23744 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23745 wxString
*result
= 0 ;
23748 PyObject
*swig_obj
[1] ;
23750 if (!args
) SWIG_fail
;
23751 swig_obj
[0] = args
;
23752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23756 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23761 result
= (wxString
*) &_result_ref
;
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23770 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23779 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23780 PyObject
*resultobj
= 0;
23781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23785 PyObject
*swig_obj
[1] ;
23787 if (!args
) SWIG_fail
;
23788 swig_obj
[0] = args
;
23789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23793 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (bool)(arg1
)->GetColour();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 PyObject
*resultobj
= 0;
23811 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23812 wxDuplexMode result
;
23815 PyObject
*swig_obj
[1] ;
23817 if (!args
) SWIG_fail
;
23818 swig_obj
[0] = args
;
23819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23820 if (!SWIG_IsOK(res1
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23823 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= SWIG_From_int(static_cast< int >(result
));
23837 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23838 PyObject
*resultobj
= 0;
23839 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23840 wxPaperSize result
;
23843 PyObject
*swig_obj
[1] ;
23845 if (!args
) SWIG_fail
;
23846 swig_obj
[0] = args
;
23847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23848 if (!SWIG_IsOK(res1
)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23851 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_From_int(static_cast< int >(result
));
23865 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 PyObject
*resultobj
= 0;
23867 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23868 wxSize
*result
= 0 ;
23871 PyObject
*swig_obj
[1] ;
23873 if (!args
) SWIG_fail
;
23874 swig_obj
[0] = args
;
23875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23879 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23884 result
= (wxSize
*) &_result_ref
;
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23896 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23897 PyObject
*resultobj
= 0;
23898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23902 PyObject
*swig_obj
[1] ;
23904 if (!args
) SWIG_fail
;
23905 swig_obj
[0] = args
;
23906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23910 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (int)(arg1
)->GetQuality();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_From_int(static_cast< int >(result
));
23924 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23925 PyObject
*resultobj
= 0;
23926 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23930 PyObject
*swig_obj
[1] ;
23932 if (!args
) SWIG_fail
;
23933 swig_obj
[0] = args
;
23934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23935 if (!SWIG_IsOK(res1
)) {
23936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23938 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (wxPrintBin
)(arg1
)->GetBin();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_From_int(static_cast< int >(result
));
23952 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23953 PyObject
*resultobj
= 0;
23954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23955 wxPrintMode result
;
23958 PyObject
*swig_obj
[1] ;
23960 if (!args
) SWIG_fail
;
23961 swig_obj
[0] = args
;
23962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23963 if (!SWIG_IsOK(res1
)) {
23964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23966 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= SWIG_From_int(static_cast< int >(result
));
23980 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
= 0;
23982 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 char * kwnames
[] = {
23991 (char *) "self",(char *) "v", NULL
23994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23996 if (!SWIG_IsOK(res1
)) {
23997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23999 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24001 if (!SWIG_IsOK(ecode2
)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24004 arg2
= static_cast< int >(val2
);
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetNoCopies(arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_Py_Void();
24018 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
= 0;
24020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char * kwnames
[] = {
24029 (char *) "self",(char *) "flag", NULL
24032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24037 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24038 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24039 if (!SWIG_IsOK(ecode2
)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24042 arg2
= static_cast< bool >(val2
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->SetCollate(arg2
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= SWIG_Py_Void();
24056 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
= 0;
24058 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char * kwnames
[] = {
24067 (char *) "self",(char *) "orient", NULL
24070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24075 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24077 if (!SWIG_IsOK(ecode2
)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24080 arg2
= static_cast< int >(val2
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->SetOrientation(arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_Py_Void();
24094 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24097 wxString
*arg2
= 0 ;
24100 bool temp2
= false ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char * kwnames
[] = {
24104 (char *) "self",(char *) "name", NULL
24107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24109 if (!SWIG_IsOK(res1
)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24112 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24114 arg2
= wxString_in_helper(obj1
);
24115 if (arg2
== NULL
) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_Py_Void();
24139 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= 0;
24141 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "colour", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24158 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24159 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24160 if (!SWIG_IsOK(ecode2
)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24163 arg2
= static_cast< bool >(val2
);
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 (arg1
)->SetColour(arg2
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_Py_Void();
24177 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
= 0;
24179 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24180 wxDuplexMode arg2
;
24185 PyObject
* obj0
= 0 ;
24186 PyObject
* obj1
= 0 ;
24187 char * kwnames
[] = {
24188 (char *) "self",(char *) "duplex", NULL
24191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",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_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24196 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24198 if (!SWIG_IsOK(ecode2
)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24201 arg2
= static_cast< wxDuplexMode
>(val2
);
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->SetDuplex(arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_Py_Void();
24215 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "self",(char *) "sizeId", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24234 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24236 if (!SWIG_IsOK(ecode2
)) {
24237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24239 arg2
= static_cast< wxPaperSize
>(val2
);
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 (arg1
)->SetPaperId(arg2
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_Py_Void();
24253 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
= 0;
24255 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "sz", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24271 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24274 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= SWIG_Py_Void();
24289 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
= 0;
24291 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char * kwnames
[] = {
24300 (char *) "self",(char *) "quality", NULL
24303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24305 if (!SWIG_IsOK(res1
)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24308 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24310 if (!SWIG_IsOK(ecode2
)) {
24311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24313 arg2
= static_cast< int >(val2
);
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->SetQuality(arg2
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_Py_Void();
24327 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
= 0;
24329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24335 PyObject
* obj0
= 0 ;
24336 PyObject
* obj1
= 0 ;
24337 char * kwnames
[] = {
24338 (char *) "self",(char *) "bin", NULL
24341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24343 if (!SWIG_IsOK(res1
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24346 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24348 if (!SWIG_IsOK(ecode2
)) {
24349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24351 arg2
= static_cast< wxPrintBin
>(val2
);
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 (arg1
)->SetBin(arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= SWIG_Py_Void();
24365 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
= 0;
24367 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24375 char * kwnames
[] = {
24376 (char *) "self",(char *) "printMode", NULL
24379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24381 if (!SWIG_IsOK(res1
)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24384 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24386 if (!SWIG_IsOK(ecode2
)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24389 arg2
= static_cast< wxPrintMode
>(val2
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 (arg1
)->SetPrintMode(arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_Py_Void();
24403 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24404 PyObject
*resultobj
= 0;
24405 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24409 PyObject
*swig_obj
[1] ;
24411 if (!args
) SWIG_fail
;
24412 swig_obj
[0] = args
;
24413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24417 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24437 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= 0;
24439 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24440 wxString
*arg2
= 0 ;
24443 bool temp2
= false ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char * kwnames
[] = {
24447 (char *) "self",(char *) "filename", NULL
24450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24455 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24457 arg2
= wxString_in_helper(obj1
);
24458 if (arg2
== NULL
) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 (arg1
)->SetFilename((wxString
const &)*arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24483 PyObject
*resultobj
= 0;
24484 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24485 PyObject
*result
= 0 ;
24488 PyObject
*swig_obj
[1] ;
24490 if (!args
) SWIG_fail
;
24491 swig_obj
[0] = args
;
24492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24496 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= result
;
24510 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= 0;
24512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24513 PyObject
*arg2
= (PyObject
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char * kwnames
[] = {
24519 (char *) "self",(char *) "data", NULL
24522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24527 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 wxPrintData_SetPrivData(arg1
,arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_Py_Void();
24542 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24546 return SWIG_Py_Void();
24549 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24550 return SWIG_Python_InitShadowInstance(args
);
24553 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24554 PyObject
*resultobj
= 0;
24555 wxPageSetupDialogData
*result
= 0 ;
24557 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24571 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24572 PyObject
*resultobj
= 0;
24573 wxPageSetupDialogData
*arg1
= 0 ;
24574 wxPageSetupDialogData
*result
= 0 ;
24578 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24580 if (!SWIG_IsOK(res1
)) {
24581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24586 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24600 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24601 PyObject
*resultobj
= 0;
24602 wxPrintData
*arg1
= 0 ;
24603 wxPageSetupDialogData
*result
= 0 ;
24607 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24615 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24629 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24633 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24636 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24641 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24642 _v
= SWIG_CheckState(res
);
24644 if (!_v
) goto check_2
;
24645 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24650 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24654 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24659 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24660 PyObject
*resultobj
= 0;
24661 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24664 PyObject
*swig_obj
[1] ;
24666 if (!args
) SWIG_fail
;
24667 swig_obj
[0] = args
;
24668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24672 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_Py_Void();
24687 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
= 0;
24689 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char * kwnames
[] = {
24698 (char *) "self",(char *) "flag", NULL
24701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24703 if (!SWIG_IsOK(res1
)) {
24704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24706 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24707 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24708 if (!SWIG_IsOK(ecode2
)) {
24709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24711 arg2
= static_cast< bool >(val2
);
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 (arg1
)->EnableHelp(arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 resultobj
= SWIG_Py_Void();
24725 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
= 0;
24727 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24733 PyObject
* obj0
= 0 ;
24734 PyObject
* obj1
= 0 ;
24735 char * kwnames
[] = {
24736 (char *) "self",(char *) "flag", NULL
24739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24744 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24746 if (!SWIG_IsOK(ecode2
)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24749 arg2
= static_cast< bool >(val2
);
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->EnableMargins(arg2
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= SWIG_Py_Void();
24763 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
= 0;
24765 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 char * kwnames
[] = {
24774 (char *) "self",(char *) "flag", NULL
24777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24779 if (!SWIG_IsOK(res1
)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24782 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24783 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24784 if (!SWIG_IsOK(ecode2
)) {
24785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24787 arg2
= static_cast< bool >(val2
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->EnableOrientation(arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_Py_Void();
24801 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= 0;
24803 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char * kwnames
[] = {
24812 (char *) "self",(char *) "flag", NULL
24815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24817 if (!SWIG_IsOK(res1
)) {
24818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24820 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24822 if (!SWIG_IsOK(ecode2
)) {
24823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24825 arg2
= static_cast< bool >(val2
);
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 (arg1
)->EnablePaper(arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= SWIG_Py_Void();
24839 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
= 0;
24841 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char * kwnames
[] = {
24850 (char *) "self",(char *) "flag", NULL
24853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24858 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24859 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24860 if (!SWIG_IsOK(ecode2
)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24863 arg2
= static_cast< bool >(val2
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->EnablePrinter(arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_Py_Void();
24877 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24878 PyObject
*resultobj
= 0;
24879 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24883 PyObject
*swig_obj
[1] ;
24885 if (!args
) SWIG_fail
;
24886 swig_obj
[0] = args
;
24887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24891 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= (bool)(arg1
)->GetDefaultMinMargins();
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24907 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24908 PyObject
*resultobj
= 0;
24909 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24913 PyObject
*swig_obj
[1] ;
24915 if (!args
) SWIG_fail
;
24916 swig_obj
[0] = args
;
24917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24918 if (!SWIG_IsOK(res1
)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24921 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 result
= (bool)(arg1
)->GetEnableMargins();
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24937 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24938 PyObject
*resultobj
= 0;
24939 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24943 PyObject
*swig_obj
[1] ;
24945 if (!args
) SWIG_fail
;
24946 swig_obj
[0] = args
;
24947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24948 if (!SWIG_IsOK(res1
)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24951 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 result
= (bool)(arg1
)->GetEnableOrientation();
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24967 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24968 PyObject
*resultobj
= 0;
24969 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24973 PyObject
*swig_obj
[1] ;
24975 if (!args
) SWIG_fail
;
24976 swig_obj
[0] = args
;
24977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24978 if (!SWIG_IsOK(res1
)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24981 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (bool)(arg1
)->GetEnablePaper();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24997 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24998 PyObject
*resultobj
= 0;
24999 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25003 PyObject
*swig_obj
[1] ;
25005 if (!args
) SWIG_fail
;
25006 swig_obj
[0] = args
;
25007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25008 if (!SWIG_IsOK(res1
)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25011 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (bool)(arg1
)->GetEnablePrinter();
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25027 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(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_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25041 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 result
= (bool)(arg1
)->GetEnableHelp();
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25057 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25058 PyObject
*resultobj
= 0;
25059 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25063 PyObject
*swig_obj
[1] ;
25065 if (!args
) SWIG_fail
;
25066 swig_obj
[0] = args
;
25067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25071 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (bool)(arg1
)->GetDefaultInfo();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25087 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25088 PyObject
*resultobj
= 0;
25089 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25093 PyObject
*swig_obj
[1] ;
25095 if (!args
) SWIG_fail
;
25096 swig_obj
[0] = args
;
25097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25098 if (!SWIG_IsOK(res1
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25101 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (arg1
)->GetMarginTopLeft();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25115 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25116 PyObject
*resultobj
= 0;
25117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25121 PyObject
*swig_obj
[1] ;
25123 if (!args
) SWIG_fail
;
25124 swig_obj
[0] = args
;
25125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25129 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (arg1
)->GetMarginBottomRight();
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25143 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 PyObject
*resultobj
= 0;
25145 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25149 PyObject
*swig_obj
[1] ;
25151 if (!args
) SWIG_fail
;
25152 swig_obj
[0] = args
;
25153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25157 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (arg1
)->GetMinMarginTopLeft();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25171 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 PyObject
*resultobj
= 0;
25173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25177 PyObject
*swig_obj
[1] ;
25179 if (!args
) SWIG_fail
;
25180 swig_obj
[0] = args
;
25181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25182 if (!SWIG_IsOK(res1
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25185 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (arg1
)->GetMinMarginBottomRight();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25199 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25202 wxPaperSize result
;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25213 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_From_int(static_cast< int >(result
));
25227 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 PyObject
*resultobj
= 0;
25229 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25233 PyObject
*swig_obj
[1] ;
25235 if (!args
) SWIG_fail
;
25236 swig_obj
[0] = args
;
25237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25241 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (arg1
)->GetPaperSize();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25255 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25256 PyObject
*resultobj
= 0;
25257 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25258 wxPrintData
*result
= 0 ;
25261 PyObject
*swig_obj
[1] ;
25263 if (!args
) SWIG_fail
;
25264 swig_obj
[0] = args
;
25265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25266 if (!SWIG_IsOK(res1
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25269 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25274 result
= (wxPrintData
*) &_result_ref
;
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25286 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25287 PyObject
*resultobj
= 0;
25288 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25292 PyObject
*swig_obj
[1] ;
25294 if (!args
) SWIG_fail
;
25295 swig_obj
[0] = args
;
25296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25297 if (!SWIG_IsOK(res1
)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25300 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 result
= (bool)(arg1
)->Ok();
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25316 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= 0;
25318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 char * kwnames
[] = {
25327 (char *) "self",(char *) "flag", NULL
25330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25332 if (!SWIG_IsOK(res1
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25335 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25336 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25337 if (!SWIG_IsOK(ecode2
)) {
25338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25340 arg2
= static_cast< bool >(val2
);
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 (arg1
)->SetDefaultInfo(arg2
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_Py_Void();
25354 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
= 0;
25356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char * kwnames
[] = {
25365 (char *) "self",(char *) "flag", NULL
25368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25373 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25374 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25375 if (!SWIG_IsOK(ecode2
)) {
25376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25378 arg2
= static_cast< bool >(val2
);
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 (arg1
)->SetDefaultMinMargins(arg2
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_Py_Void();
25392 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
= 0;
25394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25395 wxPoint
*arg2
= 0 ;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char * kwnames
[] = {
25402 (char *) "self",(char *) "pt", NULL
25405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25407 if (!SWIG_IsOK(res1
)) {
25408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25410 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_Py_Void();
25428 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= 0;
25430 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25431 wxPoint
*arg2
= 0 ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 char * kwnames
[] = {
25438 (char *) "self",(char *) "pt", NULL
25441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25443 if (!SWIG_IsOK(res1
)) {
25444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25446 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_Py_Void();
25464 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
= 0;
25466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25467 wxPoint
*arg2
= 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char * kwnames
[] = {
25474 (char *) "self",(char *) "pt", NULL
25477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25482 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_Py_Void();
25500 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
= 0;
25502 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25503 wxPoint
*arg2
= 0 ;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 char * kwnames
[] = {
25510 (char *) "self",(char *) "pt", NULL
25513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25515 if (!SWIG_IsOK(res1
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25518 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_Py_Void();
25536 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
= 0;
25538 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "self",(char *) "id", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25555 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25557 if (!SWIG_IsOK(ecode2
)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25560 arg2
= static_cast< wxPaperSize
>(val2
);
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 (arg1
)->SetPaperId(arg2
);
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= SWIG_Py_Void();
25574 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
= 0;
25576 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25581 PyObject
* obj0
= 0 ;
25582 PyObject
* obj1
= 0 ;
25583 char * kwnames
[] = {
25584 (char *) "self",(char *) "size", NULL
25587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25589 if (!SWIG_IsOK(res1
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25592 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_Py_Void();
25610 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25611 PyObject
*resultobj
= 0;
25612 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25613 wxPrintData
*arg2
= 0 ;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 char * kwnames
[] = {
25621 (char *) "self",(char *) "printData", NULL
25624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25629 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25631 if (!SWIG_IsOK(res2
)) {
25632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25637 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_Py_Void();
25651 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25652 PyObject
*resultobj
= 0;
25653 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25656 PyObject
*swig_obj
[1] ;
25658 if (!args
) SWIG_fail
;
25659 swig_obj
[0] = args
;
25660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25664 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 (arg1
)->CalculateIdFromPaperSize();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_Py_Void();
25678 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25679 PyObject
*resultobj
= 0;
25680 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25683 PyObject
*swig_obj
[1] ;
25685 if (!args
) SWIG_fail
;
25686 swig_obj
[0] = args
;
25687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25691 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->CalculatePaperSizeFromId();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25708 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25709 return SWIG_Py_Void();
25712 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25713 return SWIG_Python_InitShadowInstance(args
);
25716 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
= 0;
25718 wxWindow
*arg1
= (wxWindow
*) 0 ;
25719 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25720 wxPageSetupDialog
*result
= 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char * kwnames
[] = {
25728 (char *) "parent",(char *) "data", NULL
25731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25733 if (!SWIG_IsOK(res1
)) {
25734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25739 if (!SWIG_IsOK(res2
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25742 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25745 if (!wxPyCheckForApp()) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25758 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25759 PyObject
*resultobj
= 0;
25760 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25763 PyObject
*swig_obj
[1] ;
25765 if (!args
) SWIG_fail
;
25766 swig_obj
[0] = args
;
25767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25771 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_Py_Void();
25786 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25787 PyObject
*resultobj
= 0;
25788 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25789 wxPageSetupDialogData
*result
= 0 ;
25792 PyObject
*swig_obj
[1] ;
25794 if (!args
) SWIG_fail
;
25795 swig_obj
[0] = args
;
25796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25797 if (!SWIG_IsOK(res1
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25800 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25805 result
= (wxPageSetupDialogData
*) &_result_ref
;
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25817 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25818 PyObject
*resultobj
= 0;
25819 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25820 wxPageSetupDialogData
*result
= 0 ;
25823 PyObject
*swig_obj
[1] ;
25825 if (!args
) SWIG_fail
;
25826 swig_obj
[0] = args
;
25827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25828 if (!SWIG_IsOK(res1
)) {
25829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25831 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25836 result
= (wxPageSetupDialogData
*) &_result_ref
;
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25848 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25849 PyObject
*resultobj
= 0;
25850 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25854 PyObject
*swig_obj
[1] ;
25856 if (!args
) SWIG_fail
;
25857 swig_obj
[0] = args
;
25858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25862 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (int)(arg1
)->ShowModal();
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_From_int(static_cast< int >(result
));
25876 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25879 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25880 return SWIG_Py_Void();
25883 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25884 return SWIG_Python_InitShadowInstance(args
);
25887 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25888 PyObject
*resultobj
= 0;
25889 wxPrintDialogData
*result
= 0 ;
25891 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25905 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25906 PyObject
*resultobj
= 0;
25907 wxPrintData
*arg1
= 0 ;
25908 wxPrintDialogData
*result
= 0 ;
25912 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25914 if (!SWIG_IsOK(res1
)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25920 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25934 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25935 PyObject
*resultobj
= 0;
25936 wxPrintDialogData
*arg1
= 0 ;
25937 wxPrintDialogData
*result
= 0 ;
25941 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25943 if (!SWIG_IsOK(res1
)) {
25944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25949 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25963 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25967 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25970 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25975 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25976 _v
= SWIG_CheckState(res
);
25978 if (!_v
) goto check_2
;
25979 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25984 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25988 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25993 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 PyObject
*resultobj
= 0;
25995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25998 PyObject
*swig_obj
[1] ;
26000 if (!args
) SWIG_fail
;
26001 swig_obj
[0] = args
;
26002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26003 if (!SWIG_IsOK(res1
)) {
26004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26006 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_Py_Void();
26021 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 PyObject
*resultobj
= 0;
26023 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26027 PyObject
*swig_obj
[1] ;
26029 if (!args
) SWIG_fail
;
26030 swig_obj
[0] = args
;
26031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26032 if (!SWIG_IsOK(res1
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26035 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_From_int(static_cast< int >(result
));
26049 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26050 PyObject
*resultobj
= 0;
26051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26055 PyObject
*swig_obj
[1] ;
26057 if (!args
) SWIG_fail
;
26058 swig_obj
[0] = args
;
26059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26063 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_From_int(static_cast< int >(result
));
26077 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26078 PyObject
*resultobj
= 0;
26079 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26083 PyObject
*swig_obj
[1] ;
26085 if (!args
) SWIG_fail
;
26086 swig_obj
[0] = args
;
26087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26091 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_From_int(static_cast< int >(result
));
26105 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 PyObject
*resultobj
= 0;
26107 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26111 PyObject
*swig_obj
[1] ;
26113 if (!args
) SWIG_fail
;
26114 swig_obj
[0] = args
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26119 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_From_int(static_cast< int >(result
));
26133 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26134 PyObject
*resultobj
= 0;
26135 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26139 PyObject
*swig_obj
[1] ;
26141 if (!args
) SWIG_fail
;
26142 swig_obj
[0] = args
;
26143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26147 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_From_int(static_cast< int >(result
));
26161 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26162 PyObject
*resultobj
= 0;
26163 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26167 PyObject
*swig_obj
[1] ;
26169 if (!args
) SWIG_fail
;
26170 swig_obj
[0] = args
;
26171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26172 if (!SWIG_IsOK(res1
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26175 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26191 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 PyObject
*resultobj
= 0;
26193 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26197 PyObject
*swig_obj
[1] ;
26199 if (!args
) SWIG_fail
;
26200 swig_obj
[0] = args
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26205 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26221 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26222 PyObject
*resultobj
= 0;
26223 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26227 PyObject
*swig_obj
[1] ;
26229 if (!args
) SWIG_fail
;
26230 swig_obj
[0] = args
;
26231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26235 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26251 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26252 PyObject
*resultobj
= 0;
26253 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26257 PyObject
*swig_obj
[1] ;
26259 if (!args
) SWIG_fail
;
26260 swig_obj
[0] = args
;
26261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26262 if (!SWIG_IsOK(res1
)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26265 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26281 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
= 0;
26283 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26289 PyObject
* obj0
= 0 ;
26290 PyObject
* obj1
= 0 ;
26291 char * kwnames
[] = {
26292 (char *) "self",(char *) "v", NULL
26295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26297 if (!SWIG_IsOK(res1
)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26300 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26302 if (!SWIG_IsOK(ecode2
)) {
26303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26305 arg2
= static_cast< int >(val2
);
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 (arg1
)->SetFromPage(arg2
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_Py_Void();
26319 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
= 0;
26321 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26327 PyObject
* obj0
= 0 ;
26328 PyObject
* obj1
= 0 ;
26329 char * kwnames
[] = {
26330 (char *) "self",(char *) "v", NULL
26333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26335 if (!SWIG_IsOK(res1
)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26338 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26340 if (!SWIG_IsOK(ecode2
)) {
26341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26343 arg2
= static_cast< int >(val2
);
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 (arg1
)->SetToPage(arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_Py_Void();
26357 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
= 0;
26359 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 PyObject
* obj1
= 0 ;
26367 char * kwnames
[] = {
26368 (char *) "self",(char *) "v", NULL
26371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26373 if (!SWIG_IsOK(res1
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26376 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26378 if (!SWIG_IsOK(ecode2
)) {
26379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26381 arg2
= static_cast< int >(val2
);
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->SetMinPage(arg2
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_Py_Void();
26395 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
= 0;
26397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 char * kwnames
[] = {
26406 (char *) "self",(char *) "v", NULL
26409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26414 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26416 if (!SWIG_IsOK(ecode2
)) {
26417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26419 arg2
= static_cast< int >(val2
);
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 (arg1
)->SetMaxPage(arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_Py_Void();
26433 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
= 0;
26435 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char * kwnames
[] = {
26444 (char *) "self",(char *) "v", NULL
26447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26452 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26454 if (!SWIG_IsOK(ecode2
)) {
26455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26457 arg2
= static_cast< int >(val2
);
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 (arg1
)->SetNoCopies(arg2
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= SWIG_Py_Void();
26471 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
= 0;
26473 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26479 PyObject
* obj0
= 0 ;
26480 PyObject
* obj1
= 0 ;
26481 char * kwnames
[] = {
26482 (char *) "self",(char *) "flag", NULL
26485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26487 if (!SWIG_IsOK(res1
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26490 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26491 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26492 if (!SWIG_IsOK(ecode2
)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26495 arg2
= static_cast< bool >(val2
);
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 (arg1
)->SetAllPages(arg2
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_Py_Void();
26509 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
= 0;
26511 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 char * kwnames
[] = {
26520 (char *) "self",(char *) "flag", NULL
26523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26528 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26530 if (!SWIG_IsOK(ecode2
)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26533 arg2
= static_cast< bool >(val2
);
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 (arg1
)->SetSelection(arg2
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_Py_Void();
26547 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
= 0;
26549 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 char * kwnames
[] = {
26558 (char *) "self",(char *) "flag", NULL
26561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26563 if (!SWIG_IsOK(res1
)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26566 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26567 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26568 if (!SWIG_IsOK(ecode2
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26571 arg2
= static_cast< bool >(val2
);
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 (arg1
)->SetCollate(arg2
);
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_Py_Void();
26585 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
= 0;
26587 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 char * kwnames
[] = {
26596 (char *) "self",(char *) "flag", NULL
26599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26604 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26606 if (!SWIG_IsOK(ecode2
)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26609 arg2
= static_cast< bool >(val2
);
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 (arg1
)->SetPrintToFile(arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_Py_Void();
26623 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
= 0;
26625 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 char * kwnames
[] = {
26634 (char *) "self",(char *) "flag", NULL
26637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26642 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26644 if (!SWIG_IsOK(ecode2
)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26647 arg2
= static_cast< bool >(val2
);
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 (arg1
)->EnablePrintToFile(arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_Py_Void();
26661 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
= 0;
26663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char * kwnames
[] = {
26672 (char *) "self",(char *) "flag", NULL
26675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26677 if (!SWIG_IsOK(res1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26680 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26682 if (!SWIG_IsOK(ecode2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26685 arg2
= static_cast< bool >(val2
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 (arg1
)->EnableSelection(arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_Py_Void();
26699 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
= 0;
26701 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char * kwnames
[] = {
26710 (char *) "self",(char *) "flag", NULL
26713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26718 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26720 if (!SWIG_IsOK(ecode2
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26723 arg2
= static_cast< bool >(val2
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 (arg1
)->EnablePageNumbers(arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_Py_Void();
26737 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 char * kwnames
[] = {
26748 (char *) "self",(char *) "flag", NULL
26751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26753 if (!SWIG_IsOK(res1
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26756 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26758 if (!SWIG_IsOK(ecode2
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26761 arg2
= static_cast< bool >(val2
);
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 (arg1
)->EnableHelp(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_Py_Void();
26775 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26776 PyObject
*resultobj
= 0;
26777 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26781 PyObject
*swig_obj
[1] ;
26783 if (!args
) SWIG_fail
;
26784 swig_obj
[0] = args
;
26785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26786 if (!SWIG_IsOK(res1
)) {
26787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26789 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26805 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26806 PyObject
*resultobj
= 0;
26807 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26811 PyObject
*swig_obj
[1] ;
26813 if (!args
) SWIG_fail
;
26814 swig_obj
[0] = args
;
26815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26816 if (!SWIG_IsOK(res1
)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26819 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26835 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26836 PyObject
*resultobj
= 0;
26837 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26841 PyObject
*swig_obj
[1] ;
26843 if (!args
) SWIG_fail
;
26844 swig_obj
[0] = args
;
26845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26849 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26865 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26866 PyObject
*resultobj
= 0;
26867 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26871 PyObject
*swig_obj
[1] ;
26873 if (!args
) SWIG_fail
;
26874 swig_obj
[0] = args
;
26875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26879 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26895 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26896 PyObject
*resultobj
= 0;
26897 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26901 PyObject
*swig_obj
[1] ;
26903 if (!args
) SWIG_fail
;
26904 swig_obj
[0] = args
;
26905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26909 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26925 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26926 PyObject
*resultobj
= 0;
26927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26928 wxPrintData
*result
= 0 ;
26931 PyObject
*swig_obj
[1] ;
26933 if (!args
) SWIG_fail
;
26934 swig_obj
[0] = args
;
26935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26936 if (!SWIG_IsOK(res1
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26939 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26944 result
= (wxPrintData
*) &_result_ref
;
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26956 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
= 0;
26958 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26959 wxPrintData
*arg2
= 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 char * kwnames
[] = {
26967 (char *) "self",(char *) "printData", NULL
26970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26975 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26977 if (!SWIG_IsOK(res2
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26983 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= SWIG_Py_Void();
26997 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27000 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27001 return SWIG_Py_Void();
27004 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27005 return SWIG_Python_InitShadowInstance(args
);
27008 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
= 0;
27010 wxWindow
*arg1
= (wxWindow
*) 0 ;
27011 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27012 wxPrintDialog
*result
= 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 char * kwnames
[] = {
27020 (char *) "parent",(char *) "data", NULL
27023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27031 if (!SWIG_IsOK(res2
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27034 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27037 if (!wxPyCheckForApp()) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27050 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27051 PyObject
*resultobj
= 0;
27052 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27055 PyObject
*swig_obj
[1] ;
27057 if (!args
) SWIG_fail
;
27058 swig_obj
[0] = args
;
27059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27060 if (!SWIG_IsOK(res1
)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27063 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= SWIG_Py_Void();
27078 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27079 PyObject
*resultobj
= 0;
27080 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27084 PyObject
*swig_obj
[1] ;
27086 if (!args
) SWIG_fail
;
27087 swig_obj
[0] = args
;
27088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27089 if (!SWIG_IsOK(res1
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27092 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 result
= (int)(arg1
)->ShowModal();
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= SWIG_From_int(static_cast< int >(result
));
27106 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27107 PyObject
*resultobj
= 0;
27108 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27109 wxPrintDialogData
*result
= 0 ;
27112 PyObject
*swig_obj
[1] ;
27114 if (!args
) SWIG_fail
;
27115 swig_obj
[0] = args
;
27116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27120 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27125 result
= (wxPrintDialogData
*) &_result_ref
;
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27137 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27140 wxPrintData
*result
= 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27151 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27156 result
= (wxPrintData
*) &_result_ref
;
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27168 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27169 PyObject
*resultobj
= 0;
27170 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27174 PyObject
*swig_obj
[1] ;
27176 if (!args
) SWIG_fail
;
27177 swig_obj
[0] = args
;
27178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27182 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= (wxDC
*)(arg1
)->GetPrintDC();
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27198 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27201 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27202 return SWIG_Py_Void();
27205 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 return SWIG_Python_InitShadowInstance(args
);
27209 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
= 0;
27211 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27212 wxPrinter
*result
= 0 ;
27215 PyObject
* obj0
= 0 ;
27216 char * kwnames
[] = {
27217 (char *) "data", NULL
27220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27226 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27229 if (!wxPyCheckForApp()) SWIG_fail
;
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 result
= (wxPrinter
*)new wxPrinter(arg1
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27242 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27243 PyObject
*resultobj
= 0;
27244 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27247 PyObject
*swig_obj
[1] ;
27249 if (!args
) SWIG_fail
;
27250 swig_obj
[0] = args
;
27251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27252 if (!SWIG_IsOK(res1
)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27255 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= SWIG_Py_Void();
27270 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
= 0;
27272 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27273 wxWindow
*arg2
= (wxWindow
*) 0 ;
27274 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27275 wxWindow
*result
= 0 ;
27282 PyObject
* obj0
= 0 ;
27283 PyObject
* obj1
= 0 ;
27284 PyObject
* obj2
= 0 ;
27285 char * kwnames
[] = {
27286 (char *) "self",(char *) "parent",(char *) "printout", NULL
27289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27294 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27296 if (!SWIG_IsOK(res2
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27300 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27301 if (!SWIG_IsOK(res3
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27304 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= wxPyMake_wxObject(result
, 0);
27320 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
= 0;
27322 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27323 wxWindow
*arg2
= (wxWindow
*) 0 ;
27324 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27325 wxString
*arg4
= 0 ;
27332 bool temp4
= false ;
27333 PyObject
* obj0
= 0 ;
27334 PyObject
* obj1
= 0 ;
27335 PyObject
* obj2
= 0 ;
27336 PyObject
* obj3
= 0 ;
27337 char * kwnames
[] = {
27338 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27343 if (!SWIG_IsOK(res1
)) {
27344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27346 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27348 if (!SWIG_IsOK(res2
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27352 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27353 if (!SWIG_IsOK(res3
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27356 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27358 arg4
= wxString_in_helper(obj3
);
27359 if (arg4
== NULL
) SWIG_fail
;
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= SWIG_Py_Void();
27383 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
= 0;
27385 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27386 wxWindow
*arg2
= (wxWindow
*) 0 ;
27392 PyObject
* obj0
= 0 ;
27393 PyObject
* obj1
= 0 ;
27394 char * kwnames
[] = {
27395 (char *) "self",(char *) "parent", NULL
27398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27400 if (!SWIG_IsOK(res1
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27403 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27405 if (!SWIG_IsOK(res2
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27408 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->Setup(arg2
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27424 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
= 0;
27426 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27427 wxWindow
*arg2
= (wxWindow
*) 0 ;
27428 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27429 bool arg4
= (bool) true ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 PyObject
* obj2
= 0 ;
27442 PyObject
* obj3
= 0 ;
27443 char * kwnames
[] = {
27444 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27449 if (!SWIG_IsOK(res1
)) {
27450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27452 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27454 if (!SWIG_IsOK(res2
)) {
27455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27458 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27459 if (!SWIG_IsOK(res3
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27462 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27464 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27465 if (!SWIG_IsOK(ecode4
)) {
27466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27468 arg4
= static_cast< bool >(val4
);
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27485 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
= 0;
27487 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27488 wxWindow
*arg2
= (wxWindow
*) 0 ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 char * kwnames
[] = {
27497 (char *) "self",(char *) "parent", NULL
27500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27502 if (!SWIG_IsOK(res1
)) {
27503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27505 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27507 if (!SWIG_IsOK(res2
)) {
27508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27514 wxPyEndAllowThreads(__tstate
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27526 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27527 PyObject
*resultobj
= 0;
27528 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27529 wxPrintDialogData
*result
= 0 ;
27532 PyObject
*swig_obj
[1] ;
27534 if (!args
) SWIG_fail
;
27535 swig_obj
[0] = args
;
27536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27540 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27545 result
= (wxPrintDialogData
*) &_result_ref
;
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27557 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27558 PyObject
*resultobj
= 0;
27559 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27563 PyObject
*swig_obj
[1] ;
27565 if (!args
) SWIG_fail
;
27566 swig_obj
[0] = args
;
27567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27568 if (!SWIG_IsOK(res1
)) {
27569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27571 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= (bool)(arg1
)->GetAbort();
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27587 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27588 PyObject
*resultobj
= 0;
27589 wxPrinterError result
;
27591 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 result
= (wxPrinterError
)wxPrinter::GetLastError();
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 resultobj
= SWIG_From_int(static_cast< int >(result
));
27605 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27609 return SWIG_Py_Void();
27612 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27613 return SWIG_Python_InitShadowInstance(args
);
27616 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27617 PyObject
*resultobj
= 0;
27618 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27619 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27620 wxPyPrintout
*result
= 0 ;
27621 bool temp1
= false ;
27622 PyObject
* obj0
= 0 ;
27623 char * kwnames
[] = {
27624 (char *) "title", NULL
27627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27630 arg1
= wxString_in_helper(obj0
);
27631 if (arg1
== NULL
) SWIG_fail
;
27636 if (!wxPyCheckForApp()) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27657 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27662 PyObject
*swig_obj
[1] ;
27664 if (!args
) SWIG_fail
;
27665 swig_obj
[0] = args
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27670 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_Py_Void();
27685 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
= 0;
27687 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27688 PyObject
*arg2
= (PyObject
*) 0 ;
27689 PyObject
*arg3
= (PyObject
*) 0 ;
27692 PyObject
* obj0
= 0 ;
27693 PyObject
* obj1
= 0 ;
27694 PyObject
* obj2
= 0 ;
27695 char * kwnames
[] = {
27696 (char *) "self",(char *) "self",(char *) "_class", NULL
27699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27704 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_Py_Void();
27720 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27721 PyObject
*resultobj
= 0;
27722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27726 PyObject
*swig_obj
[1] ;
27728 if (!args
) SWIG_fail
;
27729 swig_obj
[0] = args
;
27730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27731 if (!SWIG_IsOK(res1
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27734 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27754 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27755 PyObject
*resultobj
= 0;
27756 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27760 PyObject
*swig_obj
[1] ;
27762 if (!args
) SWIG_fail
;
27763 swig_obj
[0] = args
;
27764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27768 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= (wxDC
*)(arg1
)->GetDC();
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27784 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
= 0;
27786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27787 wxDC
*arg2
= (wxDC
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 char * kwnames
[] = {
27795 (char *) "self",(char *) "dc", NULL
27798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27800 if (!SWIG_IsOK(res1
)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27803 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27805 if (!SWIG_IsOK(res2
)) {
27806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27808 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 (arg1
)->SetDC(arg2
);
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= SWIG_Py_Void();
27822 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
= 0;
27824 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 PyObject
* obj1
= 0 ;
27835 PyObject
* obj2
= 0 ;
27836 char * kwnames
[] = {
27837 (char *) "self",(char *) "w",(char *) "h", NULL
27840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27842 if (!SWIG_IsOK(res1
)) {
27843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27845 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27847 if (!SWIG_IsOK(ecode2
)) {
27848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27850 arg2
= static_cast< int >(val2
);
27851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27852 if (!SWIG_IsOK(ecode3
)) {
27853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27855 arg3
= static_cast< int >(val3
);
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 resultobj
= SWIG_Py_Void();
27869 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27870 PyObject
*resultobj
= 0;
27871 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27872 int *arg2
= (int *) 0 ;
27873 int *arg3
= (int *) 0 ;
27877 int res2
= SWIG_TMPOBJ
;
27879 int res3
= SWIG_TMPOBJ
;
27880 PyObject
*swig_obj
[1] ;
27884 if (!args
) SWIG_fail
;
27885 swig_obj
[0] = args
;
27886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27887 if (!SWIG_IsOK(res1
)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27890 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= SWIG_Py_Void();
27898 if (SWIG_IsTmpObj(res2
)) {
27899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27901 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27904 if (SWIG_IsTmpObj(res3
)) {
27905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27907 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27916 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
= 0;
27918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 PyObject
* obj2
= 0 ;
27930 char * kwnames
[] = {
27931 (char *) "self",(char *) "w",(char *) "h", NULL
27934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27936 if (!SWIG_IsOK(res1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27939 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27941 if (!SWIG_IsOK(ecode2
)) {
27942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27944 arg2
= static_cast< int >(val2
);
27945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27946 if (!SWIG_IsOK(ecode3
)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27949 arg3
= static_cast< int >(val3
);
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= SWIG_Py_Void();
27963 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27964 PyObject
*resultobj
= 0;
27965 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27966 int *arg2
= (int *) 0 ;
27967 int *arg3
= (int *) 0 ;
27971 int res2
= SWIG_TMPOBJ
;
27973 int res3
= SWIG_TMPOBJ
;
27974 PyObject
*swig_obj
[1] ;
27978 if (!args
) SWIG_fail
;
27979 swig_obj
[0] = args
;
27980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27981 if (!SWIG_IsOK(res1
)) {
27982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27984 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27988 wxPyEndAllowThreads(__tstate
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27991 resultobj
= SWIG_Py_Void();
27992 if (SWIG_IsTmpObj(res2
)) {
27993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27995 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27998 if (SWIG_IsTmpObj(res3
)) {
27999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28001 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28010 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
= 0;
28012 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 PyObject
* obj2
= 0 ;
28024 char * kwnames
[] = {
28025 (char *) "self",(char *) "x",(char *) "y", NULL
28028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28033 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28035 if (!SWIG_IsOK(ecode2
)) {
28036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28038 arg2
= static_cast< int >(val2
);
28039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28040 if (!SWIG_IsOK(ecode3
)) {
28041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28043 arg3
= static_cast< int >(val3
);
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 (arg1
)->SetPPIScreen(arg2
,arg3
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= SWIG_Py_Void();
28057 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28058 PyObject
*resultobj
= 0;
28059 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28060 int *arg2
= (int *) 0 ;
28061 int *arg3
= (int *) 0 ;
28065 int res2
= SWIG_TMPOBJ
;
28067 int res3
= SWIG_TMPOBJ
;
28068 PyObject
*swig_obj
[1] ;
28072 if (!args
) SWIG_fail
;
28073 swig_obj
[0] = args
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28078 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 (arg1
)->GetPPIScreen(arg2
,arg3
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_Py_Void();
28086 if (SWIG_IsTmpObj(res2
)) {
28087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28089 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28092 if (SWIG_IsTmpObj(res3
)) {
28093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28095 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28104 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
= 0;
28106 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 PyObject
* obj2
= 0 ;
28118 char * kwnames
[] = {
28119 (char *) "self",(char *) "x",(char *) "y", NULL
28122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28127 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28129 if (!SWIG_IsOK(ecode2
)) {
28130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28132 arg2
= static_cast< int >(val2
);
28133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28134 if (!SWIG_IsOK(ecode3
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28137 arg3
= static_cast< int >(val3
);
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_Py_Void();
28151 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 PyObject
*resultobj
= 0;
28153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28154 int *arg2
= (int *) 0 ;
28155 int *arg3
= (int *) 0 ;
28159 int res2
= SWIG_TMPOBJ
;
28161 int res3
= SWIG_TMPOBJ
;
28162 PyObject
*swig_obj
[1] ;
28166 if (!args
) SWIG_fail
;
28167 swig_obj
[0] = args
;
28168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28172 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28176 wxPyEndAllowThreads(__tstate
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28179 resultobj
= SWIG_Py_Void();
28180 if (SWIG_IsTmpObj(res2
)) {
28181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28183 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28186 if (SWIG_IsTmpObj(res3
)) {
28187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28189 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28198 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28199 PyObject
*resultobj
= 0;
28200 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28204 PyObject
*swig_obj
[1] ;
28206 if (!args
) SWIG_fail
;
28207 swig_obj
[0] = args
;
28208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28209 if (!SWIG_IsOK(res1
)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28212 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (bool)(arg1
)->IsPreview();
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28228 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
= 0;
28230 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char * kwnames
[] = {
28239 (char *) "self",(char *) "p", NULL
28242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28247 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28248 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28249 if (!SWIG_IsOK(ecode2
)) {
28250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28252 arg2
= static_cast< bool >(val2
);
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 (arg1
)->SetIsPreview(arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= SWIG_Py_Void();
28266 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
= 0;
28268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 PyObject
* obj2
= 0 ;
28281 char * kwnames
[] = {
28282 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28290 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28292 if (!SWIG_IsOK(ecode2
)) {
28293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28295 arg2
= static_cast< int >(val2
);
28296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28297 if (!SWIG_IsOK(ecode3
)) {
28298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28300 arg3
= static_cast< int >(val3
);
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28316 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28317 PyObject
*resultobj
= 0;
28318 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28321 PyObject
*swig_obj
[1] ;
28323 if (!args
) SWIG_fail
;
28324 swig_obj
[0] = args
;
28325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28326 if (!SWIG_IsOK(res1
)) {
28327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28329 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 (arg1
)->OnEndDocument();
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= SWIG_Py_Void();
28343 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28344 PyObject
*resultobj
= 0;
28345 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28348 PyObject
*swig_obj
[1] ;
28350 if (!args
) SWIG_fail
;
28351 swig_obj
[0] = args
;
28352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28353 if (!SWIG_IsOK(res1
)) {
28354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28356 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 (arg1
)->OnBeginPrinting();
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= SWIG_Py_Void();
28370 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28371 PyObject
*resultobj
= 0;
28372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28375 PyObject
*swig_obj
[1] ;
28377 if (!args
) SWIG_fail
;
28378 swig_obj
[0] = args
;
28379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28383 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->OnEndPrinting();
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= SWIG_Py_Void();
28397 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28398 PyObject
*resultobj
= 0;
28399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28402 PyObject
*swig_obj
[1] ;
28404 if (!args
) SWIG_fail
;
28405 swig_obj
[0] = args
;
28406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28410 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 (arg1
)->OnPreparePrinting();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= SWIG_Py_Void();
28424 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
= 0;
28426 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 char * kwnames
[] = {
28436 (char *) "self",(char *) "page", NULL
28439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28444 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28446 if (!SWIG_IsOK(ecode2
)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28449 arg2
= static_cast< int >(val2
);
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (bool)(arg1
)->HasPage(arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28465 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 PyObject
*resultobj
= 0;
28467 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28468 int *arg2
= (int *) 0 ;
28469 int *arg3
= (int *) 0 ;
28470 int *arg4
= (int *) 0 ;
28471 int *arg5
= (int *) 0 ;
28475 int res2
= SWIG_TMPOBJ
;
28477 int res3
= SWIG_TMPOBJ
;
28479 int res4
= SWIG_TMPOBJ
;
28481 int res5
= SWIG_TMPOBJ
;
28482 PyObject
*swig_obj
[1] ;
28488 if (!args
) SWIG_fail
;
28489 swig_obj
[0] = args
;
28490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28491 if (!SWIG_IsOK(res1
)) {
28492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28494 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= SWIG_Py_Void();
28502 if (SWIG_IsTmpObj(res2
)) {
28503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28505 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28508 if (SWIG_IsTmpObj(res3
)) {
28509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28511 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28514 if (SWIG_IsTmpObj(res4
)) {
28515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28517 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28520 if (SWIG_IsTmpObj(res5
)) {
28521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28523 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28532 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28536 return SWIG_Py_Void();
28539 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28540 return SWIG_Python_InitShadowInstance(args
);
28543 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
= 0;
28545 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28546 wxWindow
*arg2
= (wxWindow
*) 0 ;
28547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28551 long arg5
= (long) 0 ;
28552 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28553 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28554 wxPreviewCanvas
*result
= 0 ;
28563 bool temp6
= false ;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 PyObject
* obj2
= 0 ;
28567 PyObject
* obj3
= 0 ;
28568 PyObject
* obj4
= 0 ;
28569 PyObject
* obj5
= 0 ;
28570 char * kwnames
[] = {
28571 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28579 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28581 if (!SWIG_IsOK(res2
)) {
28582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28584 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28588 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28594 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28598 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28599 if (!SWIG_IsOK(ecode5
)) {
28600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28602 arg5
= static_cast< long >(val5
);
28606 arg6
= wxString_in_helper(obj5
);
28607 if (arg6
== NULL
) SWIG_fail
;
28612 if (!wxPyCheckForApp()) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28633 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28637 return SWIG_Py_Void();
28640 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28641 return SWIG_Python_InitShadowInstance(args
);
28644 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
= 0;
28646 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28647 wxFrame
*arg2
= (wxFrame
*) 0 ;
28648 wxString
*arg3
= 0 ;
28649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28653 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28654 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28655 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28656 wxPreviewFrame
*result
= 0 ;
28660 bool temp3
= false ;
28665 bool temp7
= false ;
28666 PyObject
* obj0
= 0 ;
28667 PyObject
* obj1
= 0 ;
28668 PyObject
* obj2
= 0 ;
28669 PyObject
* obj3
= 0 ;
28670 PyObject
* obj4
= 0 ;
28671 PyObject
* obj5
= 0 ;
28672 PyObject
* obj6
= 0 ;
28673 char * kwnames
[] = {
28674 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28678 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28679 if (!SWIG_IsOK(res1
)) {
28680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28683 if (!SWIG_IsOK(res2
)) {
28684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28686 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28688 arg3
= wxString_in_helper(obj2
);
28689 if (arg3
== NULL
) SWIG_fail
;
28695 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28701 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28705 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28706 if (!SWIG_IsOK(ecode6
)) {
28707 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28709 arg6
= static_cast< long >(val6
);
28713 arg7
= wxString_in_helper(obj6
);
28714 if (arg7
== NULL
) SWIG_fail
;
28719 if (!wxPyCheckForApp()) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28748 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28749 PyObject
*resultobj
= 0;
28750 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28753 PyObject
*swig_obj
[1] ;
28755 if (!args
) SWIG_fail
;
28756 swig_obj
[0] = args
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28761 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 (arg1
)->Initialize();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_Py_Void();
28775 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28776 PyObject
*resultobj
= 0;
28777 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28780 PyObject
*swig_obj
[1] ;
28782 if (!args
) SWIG_fail
;
28783 swig_obj
[0] = args
;
28784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28785 if (!SWIG_IsOK(res1
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28788 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 (arg1
)->CreateControlBar();
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_Py_Void();
28802 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28803 PyObject
*resultobj
= 0;
28804 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28807 PyObject
*swig_obj
[1] ;
28809 if (!args
) SWIG_fail
;
28810 swig_obj
[0] = args
;
28811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28812 if (!SWIG_IsOK(res1
)) {
28813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28815 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 (arg1
)->CreateCanvas();
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= SWIG_Py_Void();
28829 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28830 PyObject
*resultobj
= 0;
28831 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28832 wxPreviewControlBar
*result
= 0 ;
28835 PyObject
*swig_obj
[1] ;
28837 if (!args
) SWIG_fail
;
28838 swig_obj
[0] = args
;
28839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28840 if (!SWIG_IsOK(res1
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28843 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28857 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28860 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28861 return SWIG_Py_Void();
28864 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28865 return SWIG_Python_InitShadowInstance(args
);
28868 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
= 0;
28870 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28872 wxWindow
*arg3
= (wxWindow
*) 0 ;
28873 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28874 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28875 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28876 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28877 long arg6
= (long) wxTAB_TRAVERSAL
;
28878 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28880 wxPreviewControlBar
*result
= 0 ;
28891 bool temp7
= false ;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 PyObject
* obj2
= 0 ;
28895 PyObject
* obj3
= 0 ;
28896 PyObject
* obj4
= 0 ;
28897 PyObject
* obj5
= 0 ;
28898 PyObject
* obj6
= 0 ;
28899 char * kwnames
[] = {
28900 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28908 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28909 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28910 if (!SWIG_IsOK(ecode2
)) {
28911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28913 arg2
= static_cast< long >(val2
);
28914 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28915 if (!SWIG_IsOK(res3
)) {
28916 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28918 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28932 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28933 if (!SWIG_IsOK(ecode6
)) {
28934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28936 arg6
= static_cast< long >(val6
);
28940 arg7
= wxString_in_helper(obj6
);
28941 if (arg7
== NULL
) SWIG_fail
;
28946 if (!wxPyCheckForApp()) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28967 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28968 PyObject
*resultobj
= 0;
28969 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28973 PyObject
*swig_obj
[1] ;
28975 if (!args
) SWIG_fail
;
28976 swig_obj
[0] = args
;
28977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28978 if (!SWIG_IsOK(res1
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28981 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= (int)(arg1
)->GetZoomControl();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_From_int(static_cast< int >(result
));
28995 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
= 0;
28997 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29003 PyObject
* obj0
= 0 ;
29004 PyObject
* obj1
= 0 ;
29005 char * kwnames
[] = {
29006 (char *) "self",(char *) "zoom", NULL
29009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29014 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29016 if (!SWIG_IsOK(ecode2
)) {
29017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29019 arg2
= static_cast< int >(val2
);
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 (arg1
)->SetZoomControl(arg2
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_Py_Void();
29033 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29034 PyObject
*resultobj
= 0;
29035 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29036 wxPrintPreview
*result
= 0 ;
29039 PyObject
*swig_obj
[1] ;
29041 if (!args
) SWIG_fail
;
29042 swig_obj
[0] = args
;
29043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29044 if (!SWIG_IsOK(res1
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29047 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29061 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29062 PyObject
*resultobj
= 0;
29063 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29066 PyObject
*swig_obj
[1] ;
29068 if (!args
) SWIG_fail
;
29069 swig_obj
[0] = args
;
29070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29071 if (!SWIG_IsOK(res1
)) {
29072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29074 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_Py_Void();
29088 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29089 PyObject
*resultobj
= 0;
29090 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29093 PyObject
*swig_obj
[1] ;
29095 if (!args
) SWIG_fail
;
29096 swig_obj
[0] = args
;
29097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29101 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 (arg1
)->OnPrevious();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= SWIG_Py_Void();
29115 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29116 PyObject
*resultobj
= 0;
29117 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29120 PyObject
*swig_obj
[1] ;
29122 if (!args
) SWIG_fail
;
29123 swig_obj
[0] = args
;
29124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29125 if (!SWIG_IsOK(res1
)) {
29126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29128 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29135 resultobj
= SWIG_Py_Void();
29142 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29143 PyObject
*resultobj
= 0;
29144 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29147 PyObject
*swig_obj
[1] ;
29149 if (!args
) SWIG_fail
;
29150 swig_obj
[0] = args
;
29151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29152 if (!SWIG_IsOK(res1
)) {
29153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29155 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= SWIG_Py_Void();
29169 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29170 PyObject
*resultobj
= 0;
29171 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29174 PyObject
*swig_obj
[1] ;
29176 if (!args
) SWIG_fail
;
29177 swig_obj
[0] = args
;
29178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29179 if (!SWIG_IsOK(res1
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29182 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_Py_Void();
29196 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29200 return SWIG_Py_Void();
29203 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29204 return SWIG_Python_InitShadowInstance(args
);
29207 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29208 PyObject
*resultobj
= 0;
29209 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29210 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29211 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29212 wxPrintPreview
*result
= 0 ;
29218 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29219 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29220 if (!SWIG_IsOK(res1
)) {
29221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29223 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29224 if (!SWIG_IsOK(res2
)) {
29225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29228 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29229 if (!SWIG_IsOK(res3
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29232 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29235 if (!wxPyCheckForApp()) SWIG_fail
;
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29248 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29249 PyObject
*resultobj
= 0;
29250 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29251 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29252 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29253 wxPrintPreview
*result
= 0 ;
29259 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29260 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29264 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29265 if (!SWIG_IsOK(res2
)) {
29266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29268 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29269 if (!SWIG_IsOK(res3
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29272 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29274 if (!wxPyCheckForApp()) SWIG_fail
;
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29287 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29291 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29293 if ((argc
>= 2) && (argc
<= 3)) {
29298 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29299 _v
= SWIG_CheckState(res
);
29301 if (!_v
) goto check_1
;
29303 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29308 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29312 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29317 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29318 PyObject
*resultobj
= 0;
29319 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29322 PyObject
*swig_obj
[1] ;
29324 if (!args
) SWIG_fail
;
29325 swig_obj
[0] = args
;
29326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29327 if (!SWIG_IsOK(res1
)) {
29328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29330 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_Py_Void();
29345 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
= 0;
29347 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 PyObject
* obj1
= 0 ;
29356 char * kwnames
[] = {
29357 (char *) "self",(char *) "pageNum", NULL
29360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29362 if (!SWIG_IsOK(res1
)) {
29363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29365 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29367 if (!SWIG_IsOK(ecode2
)) {
29368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29370 arg2
= static_cast< int >(val2
);
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29386 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29387 PyObject
*resultobj
= 0;
29388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29392 PyObject
*swig_obj
[1] ;
29394 if (!args
) SWIG_fail
;
29395 swig_obj
[0] = args
;
29396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29400 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (int)(arg1
)->GetCurrentPage();
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_From_int(static_cast< int >(result
));
29414 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
= 0;
29416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29417 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 char * kwnames
[] = {
29424 (char *) "self",(char *) "printout", NULL
29427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29429 if (!SWIG_IsOK(res1
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29432 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29433 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29434 if (!SWIG_IsOK(res2
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29439 (arg1
)->SetPrintout(arg2
);
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= SWIG_Py_Void();
29450 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29451 PyObject
*resultobj
= 0;
29452 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29453 wxPyPrintout
*result
= 0 ;
29456 PyObject
*swig_obj
[1] ;
29458 if (!args
) SWIG_fail
;
29459 swig_obj
[0] = args
;
29460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29461 if (!SWIG_IsOK(res1
)) {
29462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29464 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29472 resultobj
= wxPyMake_wxObject(result
, 0);
29480 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29481 PyObject
*resultobj
= 0;
29482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29483 wxPyPrintout
*result
= 0 ;
29486 PyObject
*swig_obj
[1] ;
29488 if (!args
) SWIG_fail
;
29489 swig_obj
[0] = args
;
29490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29491 if (!SWIG_IsOK(res1
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29494 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= wxPyMake_wxObject(result
, 0);
29510 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
= 0;
29512 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29513 wxFrame
*arg2
= (wxFrame
*) 0 ;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "frame", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29529 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29530 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29531 if (!SWIG_IsOK(res2
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29534 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 (arg1
)->SetFrame(arg2
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_Py_Void();
29548 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
= 0;
29550 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29551 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29556 PyObject
* obj0
= 0 ;
29557 PyObject
* obj1
= 0 ;
29558 char * kwnames
[] = {
29559 (char *) "self",(char *) "canvas", NULL
29562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29564 if (!SWIG_IsOK(res1
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29567 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29569 if (!SWIG_IsOK(res2
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29572 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 (arg1
)->SetCanvas(arg2
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29587 PyObject
*resultobj
= 0;
29588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29589 wxFrame
*result
= 0 ;
29592 PyObject
*swig_obj
[1] ;
29594 if (!args
) SWIG_fail
;
29595 swig_obj
[0] = args
;
29596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29597 if (!SWIG_IsOK(res1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29600 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (wxFrame
*)(arg1
)->GetFrame();
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29608 resultobj
= wxPyMake_wxObject(result
, 0);
29616 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29617 PyObject
*resultobj
= 0;
29618 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29619 wxPreviewCanvas
*result
= 0 ;
29622 PyObject
*swig_obj
[1] ;
29624 if (!args
) SWIG_fail
;
29625 swig_obj
[0] = args
;
29626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29627 if (!SWIG_IsOK(res1
)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29630 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29644 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29645 PyObject
*resultobj
= 0;
29646 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29647 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 PyObject
* obj2
= 0 ;
29659 char * kwnames
[] = {
29660 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29665 if (!SWIG_IsOK(res1
)) {
29666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29668 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29670 if (!SWIG_IsOK(res2
)) {
29671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29673 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29674 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29675 if (!SWIG_IsOK(res3
)) {
29676 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29681 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29700 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29709 PyObject
* obj0
= 0 ;
29710 PyObject
* obj1
= 0 ;
29711 PyObject
* obj2
= 0 ;
29712 char * kwnames
[] = {
29713 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29718 if (!SWIG_IsOK(res1
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29721 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29723 if (!SWIG_IsOK(res2
)) {
29724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29726 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29727 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29728 if (!SWIG_IsOK(res3
)) {
29729 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29734 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29750 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
= 0;
29752 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 char * kwnames
[] = {
29762 (char *) "self",(char *) "pageNum", NULL
29765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29767 if (!SWIG_IsOK(res1
)) {
29768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29770 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29772 if (!SWIG_IsOK(ecode2
)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29775 arg2
= static_cast< int >(val2
);
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 result
= (bool)(arg1
)->RenderPage(arg2
);
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29791 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
= 0;
29793 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29794 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29799 PyObject
* obj0
= 0 ;
29800 PyObject
* obj1
= 0 ;
29801 char * kwnames
[] = {
29802 (char *) "self",(char *) "canvas", NULL
29805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29807 if (!SWIG_IsOK(res1
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29810 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29812 if (!SWIG_IsOK(res2
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29815 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 (arg1
)->AdjustScrollbars(arg2
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= SWIG_Py_Void();
29829 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29830 PyObject
*resultobj
= 0;
29831 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29832 wxPrintDialogData
*result
= 0 ;
29835 PyObject
*swig_obj
[1] ;
29837 if (!args
) SWIG_fail
;
29838 swig_obj
[0] = args
;
29839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29840 if (!SWIG_IsOK(res1
)) {
29841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29843 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29848 result
= (wxPrintDialogData
*) &_result_ref
;
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29860 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
= 0;
29862 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 char * kwnames
[] = {
29871 (char *) "self",(char *) "percent", NULL
29874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29876 if (!SWIG_IsOK(res1
)) {
29877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29879 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29881 if (!SWIG_IsOK(ecode2
)) {
29882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29884 arg2
= static_cast< int >(val2
);
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 (arg1
)->SetZoom(arg2
);
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= SWIG_Py_Void();
29898 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29899 PyObject
*resultobj
= 0;
29900 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29904 PyObject
*swig_obj
[1] ;
29906 if (!args
) SWIG_fail
;
29907 swig_obj
[0] = args
;
29908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29909 if (!SWIG_IsOK(res1
)) {
29910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29912 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= (int)(arg1
)->GetZoom();
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_From_int(static_cast< int >(result
));
29926 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29927 PyObject
*resultobj
= 0;
29928 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29932 PyObject
*swig_obj
[1] ;
29934 if (!args
) SWIG_fail
;
29935 swig_obj
[0] = args
;
29936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29940 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (int)(arg1
)->GetMaxPage();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= SWIG_From_int(static_cast< int >(result
));
29954 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29955 PyObject
*resultobj
= 0;
29956 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29960 PyObject
*swig_obj
[1] ;
29962 if (!args
) SWIG_fail
;
29963 swig_obj
[0] = args
;
29964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29965 if (!SWIG_IsOK(res1
)) {
29966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29968 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (int)(arg1
)->GetMinPage();
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_From_int(static_cast< int >(result
));
29982 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29983 PyObject
*resultobj
= 0;
29984 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29988 PyObject
*swig_obj
[1] ;
29990 if (!args
) SWIG_fail
;
29991 swig_obj
[0] = args
;
29992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29993 if (!SWIG_IsOK(res1
)) {
29994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29996 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 result
= (bool)(arg1
)->Ok();
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30012 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
= 0;
30014 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 char * kwnames
[] = {
30023 (char *) "self",(char *) "ok", NULL
30026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30028 if (!SWIG_IsOK(res1
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30031 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30032 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30033 if (!SWIG_IsOK(ecode2
)) {
30034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30036 arg2
= static_cast< bool >(val2
);
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 (arg1
)->SetOk(arg2
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_Py_Void();
30050 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
= 0;
30052 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "self",(char *) "interactive", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30067 if (!SWIG_IsOK(res1
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30070 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30071 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30072 if (!SWIG_IsOK(ecode2
)) {
30073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30075 arg2
= static_cast< bool >(val2
);
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (bool)(arg1
)->Print(arg2
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30091 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 PyObject
*resultobj
= 0;
30093 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30096 PyObject
*swig_obj
[1] ;
30098 if (!args
) SWIG_fail
;
30099 swig_obj
[0] = args
;
30100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30101 if (!SWIG_IsOK(res1
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30104 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 (arg1
)->DetermineScaling();
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= SWIG_Py_Void();
30118 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30121 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30122 return SWIG_Py_Void();
30125 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 return SWIG_Python_InitShadowInstance(args
);
30129 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30130 PyObject
*resultobj
= 0;
30131 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30132 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30133 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30134 wxPyPrintPreview
*result
= 0 ;
30140 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30141 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30142 if (!SWIG_IsOK(res1
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30145 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30146 if (!SWIG_IsOK(res2
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30150 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30151 if (!SWIG_IsOK(res3
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30154 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30157 if (!wxPyCheckForApp()) SWIG_fail
;
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30170 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30171 PyObject
*resultobj
= 0;
30172 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30173 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30174 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30175 wxPyPrintPreview
*result
= 0 ;
30181 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30182 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30186 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30187 if (!SWIG_IsOK(res2
)) {
30188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30190 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30191 if (!SWIG_IsOK(res3
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30194 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30196 if (!wxPyCheckForApp()) SWIG_fail
;
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30209 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30213 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30215 if ((argc
>= 2) && (argc
<= 3)) {
30220 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30221 _v
= SWIG_CheckState(res
);
30223 if (!_v
) goto check_1
;
30225 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30230 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30234 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30239 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
= 0;
30241 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30242 PyObject
*arg2
= (PyObject
*) 0 ;
30243 PyObject
*arg3
= (PyObject
*) 0 ;
30246 PyObject
* obj0
= 0 ;
30247 PyObject
* obj1
= 0 ;
30248 PyObject
* obj2
= 0 ;
30249 char * kwnames
[] = {
30250 (char *) "self",(char *) "self",(char *) "_class", NULL
30253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30255 if (!SWIG_IsOK(res1
)) {
30256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30258 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= SWIG_Py_Void();
30274 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30278 return SWIG_Py_Void();
30281 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30282 return SWIG_Python_InitShadowInstance(args
);
30285 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
= 0;
30287 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30288 wxFrame
*arg2
= (wxFrame
*) 0 ;
30289 wxString
*arg3
= 0 ;
30290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30294 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30295 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30297 wxPyPreviewFrame
*result
= 0 ;
30302 bool temp3
= false ;
30307 bool temp7
= false ;
30308 PyObject
* obj0
= 0 ;
30309 PyObject
* obj1
= 0 ;
30310 PyObject
* obj2
= 0 ;
30311 PyObject
* obj3
= 0 ;
30312 PyObject
* obj4
= 0 ;
30313 PyObject
* obj5
= 0 ;
30314 PyObject
* obj6
= 0 ;
30315 char * kwnames
[] = {
30316 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30321 if (!SWIG_IsOK(res1
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30324 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30326 if (!SWIG_IsOK(res2
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30329 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30331 arg3
= wxString_in_helper(obj2
);
30332 if (arg3
== NULL
) SWIG_fail
;
30338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30348 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30349 if (!SWIG_IsOK(ecode6
)) {
30350 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30352 arg6
= static_cast< long >(val6
);
30356 arg7
= wxString_in_helper(obj6
);
30357 if (arg7
== NULL
) SWIG_fail
;
30362 if (!wxPyCheckForApp()) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30391 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
= 0;
30393 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30394 PyObject
*arg2
= (PyObject
*) 0 ;
30395 PyObject
*arg3
= (PyObject
*) 0 ;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 PyObject
* obj2
= 0 ;
30401 char * kwnames
[] = {
30402 (char *) "self",(char *) "self",(char *) "_class", NULL
30405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30410 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30415 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30419 resultobj
= SWIG_Py_Void();
30426 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
= 0;
30428 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30429 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30434 PyObject
* obj0
= 0 ;
30435 PyObject
* obj1
= 0 ;
30436 char * kwnames
[] = {
30437 (char *) "self",(char *) "canvas", NULL
30440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30442 if (!SWIG_IsOK(res1
)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30445 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30447 if (!SWIG_IsOK(res2
)) {
30448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30450 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 (arg1
)->SetPreviewCanvas(arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= SWIG_Py_Void();
30464 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
= 0;
30466 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30467 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 char * kwnames
[] = {
30475 (char *) "self",(char *) "bar", NULL
30478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30480 if (!SWIG_IsOK(res1
)) {
30481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30483 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30485 if (!SWIG_IsOK(res2
)) {
30486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30488 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->SetControlBar(arg2
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_Py_Void();
30502 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30503 PyObject
*resultobj
= 0;
30504 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30507 PyObject
*swig_obj
[1] ;
30509 if (!args
) SWIG_fail
;
30510 swig_obj
[0] = args
;
30511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30512 if (!SWIG_IsOK(res1
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30515 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->Initialize();
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 resultobj
= SWIG_Py_Void();
30529 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30530 PyObject
*resultobj
= 0;
30531 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30534 PyObject
*swig_obj
[1] ;
30536 if (!args
) SWIG_fail
;
30537 swig_obj
[0] = args
;
30538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30539 if (!SWIG_IsOK(res1
)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30542 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 (arg1
)->CreateCanvas();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= SWIG_Py_Void();
30556 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30557 PyObject
*resultobj
= 0;
30558 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30569 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 (arg1
)->CreateControlBar();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= SWIG_Py_Void();
30583 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30587 return SWIG_Py_Void();
30590 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30591 return SWIG_Python_InitShadowInstance(args
);
30594 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
= 0;
30596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30598 wxWindow
*arg3
= (wxWindow
*) 0 ;
30599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30603 long arg6
= (long) 0 ;
30604 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30605 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30606 wxPyPreviewControlBar
*result
= 0 ;
30617 bool temp7
= false ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 PyObject
* obj2
= 0 ;
30621 PyObject
* obj3
= 0 ;
30622 PyObject
* obj4
= 0 ;
30623 PyObject
* obj5
= 0 ;
30624 PyObject
* obj6
= 0 ;
30625 char * kwnames
[] = {
30626 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30634 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30636 if (!SWIG_IsOK(ecode2
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30639 arg2
= static_cast< long >(val2
);
30640 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30641 if (!SWIG_IsOK(res3
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30644 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30658 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30659 if (!SWIG_IsOK(ecode6
)) {
30660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30662 arg6
= static_cast< long >(val6
);
30666 arg7
= wxString_in_helper(obj6
);
30667 if (arg7
== NULL
) SWIG_fail
;
30672 if (!wxPyCheckForApp()) SWIG_fail
;
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30693 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
= 0;
30695 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30696 PyObject
*arg2
= (PyObject
*) 0 ;
30697 PyObject
*arg3
= (PyObject
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 PyObject
* obj2
= 0 ;
30703 char * kwnames
[] = {
30704 (char *) "self",(char *) "self",(char *) "_class", NULL
30707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30712 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= SWIG_Py_Void();
30728 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
= 0;
30730 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30731 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char * kwnames
[] = {
30739 (char *) "self",(char *) "preview", NULL
30742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30744 if (!SWIG_IsOK(res1
)) {
30745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30747 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30749 if (!SWIG_IsOK(res2
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30752 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 (arg1
)->SetPrintPreview(arg2
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_Py_Void();
30766 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30767 PyObject
*resultobj
= 0;
30768 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30771 PyObject
*swig_obj
[1] ;
30773 if (!args
) SWIG_fail
;
30774 swig_obj
[0] = args
;
30775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30776 if (!SWIG_IsOK(res1
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30779 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 (arg1
)->CreateButtons();
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_Py_Void();
30793 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
= 0;
30795 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char * kwnames
[] = {
30804 (char *) "self",(char *) "zoom", NULL
30807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30809 if (!SWIG_IsOK(res1
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30812 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30814 if (!SWIG_IsOK(ecode2
)) {
30815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30817 arg2
= static_cast< int >(val2
);
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 (arg1
)->SetZoomControl(arg2
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= SWIG_Py_Void();
30831 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30835 return SWIG_Py_Void();
30838 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 return SWIG_Python_InitShadowInstance(args
);
30842 static PyMethodDef SwigMethods
[] = {
30843 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30845 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30847 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30849 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30850 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30852 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30859 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30861 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30863 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30864 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30865 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30866 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30867 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30870 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30872 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30875 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30876 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30878 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30880 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30881 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30882 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30883 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30887 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30889 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30892 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30894 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
},
30898 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
30899 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
30902 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30903 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30905 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30907 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30909 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30912 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30919 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30921 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30926 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30927 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30929 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30932 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30934 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30936 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30940 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30941 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30944 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30945 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30947 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30949 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30950 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30953 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30954 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30955 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30957 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30958 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30959 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30960 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30961 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30963 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30966 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30975 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30976 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30978 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30979 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30981 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30983 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30984 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30986 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30992 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30993 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30996 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30997 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30999 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31001 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31003 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31005 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31007 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31009 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31010 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31013 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31014 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31015 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31016 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31017 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31018 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31020 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31028 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31030 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31033 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31034 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31037 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31038 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31040 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31041 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31042 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31045 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31047 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31049 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31050 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31051 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31054 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31056 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31058 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31060 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31062 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31067 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31069 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31070 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31071 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31073 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31075 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31076 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31080 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31081 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31082 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31083 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31087 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31088 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31090 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31091 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31092 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31094 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31096 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31099 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31100 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31101 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31103 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31112 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31113 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31114 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31115 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31117 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31118 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31121 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31122 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31124 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31127 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31128 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31129 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31132 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31133 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31135 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31136 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31138 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31143 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31144 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31150 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31151 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31153 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31157 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31159 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31160 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31161 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31162 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31164 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31165 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31166 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31168 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31170 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31171 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31173 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31174 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31175 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31176 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31177 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31178 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31183 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31184 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31186 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31187 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31188 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31191 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31192 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31195 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31196 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31204 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31205 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31206 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31207 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31208 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31209 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31210 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31211 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31212 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31213 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31216 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31217 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31218 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31220 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31221 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31223 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31224 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31226 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31228 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31229 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31231 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31232 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31234 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31235 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31236 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31237 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31238 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31240 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31241 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31242 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31243 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31244 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31245 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31252 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31253 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31255 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31256 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31257 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31260 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31261 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31264 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31266 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31268 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31269 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31270 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31271 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31275 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31276 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31278 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31279 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31280 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31281 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31285 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31286 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31288 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31290 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31292 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31293 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31295 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31297 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31298 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31299 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31300 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31301 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31302 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31303 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31305 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31306 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31308 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31310 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31311 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31312 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31314 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31316 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31317 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31319 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31327 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31328 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31329 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31330 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31331 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31332 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31333 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31334 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31335 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31337 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31345 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31346 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31347 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31348 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31349 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31350 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31351 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31352 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31353 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31355 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31363 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31364 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31365 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31366 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31367 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31368 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31369 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31370 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31371 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31372 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31373 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31374 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31375 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31376 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31377 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31378 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31379 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31380 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31381 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31382 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31383 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31384 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31385 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31397 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31399 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31401 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31402 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31403 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31404 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31410 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31411 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31412 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31413 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31414 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31415 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31416 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31417 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31418 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31419 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31420 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31421 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31422 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31423 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31424 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31434 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31435 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31436 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31437 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31439 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31440 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31441 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31442 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31443 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31444 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31445 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31446 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31447 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31448 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31449 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31450 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31451 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31452 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31453 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31454 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31455 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31469 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31470 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31471 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31472 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31473 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31474 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31476 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31477 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31479 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31480 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31481 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31482 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31483 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31484 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31485 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31487 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31493 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31494 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31495 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31496 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31497 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31499 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31501 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31502 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31505 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31507 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31509 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31511 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31512 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31515 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31516 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31517 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31518 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31520 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31521 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31522 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31524 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31525 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31527 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31528 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31529 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31530 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31531 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31532 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31534 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31536 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31537 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31538 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31539 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31540 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31541 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31542 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31543 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31544 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31545 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31547 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31549 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31550 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31553 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31554 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31559 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31561 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31562 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31563 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31564 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31567 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31568 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31569 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31570 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31572 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31573 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31578 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31579 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31580 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31581 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31582 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31586 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31588 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31589 { NULL
, NULL
, 0, NULL
}
31593 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31595 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31596 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31598 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31601 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31602 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31604 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31605 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31607 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31608 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31610 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31611 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31613 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31614 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31616 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31617 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31619 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31620 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31622 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31623 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31625 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31628 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31629 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31631 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31632 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31634 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31635 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31637 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31638 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31640 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31641 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31643 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31644 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31646 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31647 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31649 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31650 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31652 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31653 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31655 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31656 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31658 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31659 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31661 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31662 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31664 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31665 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31667 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31668 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31670 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31671 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31673 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31676 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31677 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31679 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31680 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31682 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31683 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31685 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31686 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31688 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31689 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31691 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31692 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31694 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31695 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31697 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31700 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31703 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31704 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31706 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31707 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31709 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31710 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31712 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31715 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31718 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31719 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31721 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31722 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31724 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31725 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31727 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31728 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31730 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31731 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31733 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31734 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31736 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31739 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31742 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31745 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31746 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31748 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31749 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31751 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31752 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31754 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31755 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31757 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31760 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31763 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31766 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31769 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31772 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31775 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31778 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31781 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31784 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31785 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31787 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31788 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31790 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31793 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31796 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31799 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31800 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31802 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31805 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31806 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31808 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31809 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31811 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31812 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31814 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31815 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31817 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31820 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31821 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31823 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31824 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31826 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31829 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31830 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31832 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31835 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31838 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31841 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31842 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31844 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31847 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31848 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31850 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31853 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31856 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31859 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31862 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31865 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31866 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31868 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31871 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31874 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31877 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31880 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31881 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31883 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31886 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31887 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31889 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31890 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31892 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31893 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31895 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31896 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31898 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31899 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31901 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31902 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31904 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31905 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31907 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31908 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31910 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31911 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31913 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31916 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31919 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31922 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31925 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31928 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31931 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31934 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31935 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31937 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31938 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31940 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31941 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31943 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31944 return (void *)((wxObject
*) ((wxSizer
*) x
));
31946 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31947 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31949 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31952 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31955 static void *_p_wxEventTo_p_wxObject(void *x
) {
31956 return (void *)((wxObject
*) ((wxEvent
*) x
));
31958 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31959 return (void *)((wxObject
*) ((wxFontData
*) x
));
31961 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31962 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31964 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31965 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31967 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31968 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31970 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31971 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31973 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31974 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31976 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31977 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31979 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31982 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31985 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31986 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31988 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31989 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31991 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31992 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31994 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31995 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31997 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31998 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32000 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32001 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32003 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32006 static void *_p_wxControlTo_p_wxObject(void *x
) {
32007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32009 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32010 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32012 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32015 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32016 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32018 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32019 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32021 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32022 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32024 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32027 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32028 return (void *)((wxObject
*) ((wxColourData
*) x
));
32030 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32031 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32033 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32034 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32036 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32039 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32042 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32045 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32048 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32051 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32054 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32057 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32060 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32063 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32066 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32069 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32070 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32072 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32073 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32075 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32076 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32078 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32081 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32082 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32084 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32087 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32088 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32090 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32091 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32093 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32094 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32096 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32097 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32099 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32100 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32102 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32103 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32105 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32108 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32111 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32114 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32117 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32120 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32121 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32123 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32124 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32126 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32127 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32129 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32130 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32132 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32133 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32135 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32136 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32138 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32141 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32142 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32144 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32145 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32147 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32148 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32150 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32151 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32153 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32156 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32159 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32160 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32162 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32163 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32165 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32168 static void *_p_wxImageTo_p_wxObject(void *x
) {
32169 return (void *)((wxObject
*) ((wxImage
*) x
));
32171 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32174 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32175 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32177 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32178 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32180 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32181 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32183 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32186 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32189 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32192 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32193 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32195 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32196 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32198 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32199 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32201 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32202 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32204 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32207 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32210 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32213 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32216 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32219 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32222 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32225 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32228 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32231 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32234 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32237 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32240 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32243 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32246 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32247 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32249 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32250 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32252 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32255 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32258 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32261 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32264 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32267 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32268 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32270 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32271 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32273 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32274 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32276 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32279 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32280 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32282 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32283 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32285 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32286 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32288 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32289 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32291 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32292 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32294 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32297 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32298 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32300 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32303 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32306 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32307 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32309 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32310 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32312 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32315 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32318 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32319 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32321 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32322 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32324 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32327 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32328 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32330 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32331 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32333 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32334 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32336 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32337 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32339 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32340 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32342 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32343 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32345 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32346 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32348 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32349 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32351 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32352 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32354 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32355 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32357 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32358 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32360 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32361 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32363 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32364 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32366 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32367 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32369 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32370 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32372 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32373 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32375 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32376 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32378 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32379 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32381 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32382 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32384 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32385 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32387 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32388 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32390 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32391 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32393 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32394 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32396 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32397 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32399 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32400 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32402 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32403 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32405 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32406 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32408 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32409 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32411 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32412 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32414 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32415 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32417 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32418 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32420 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32421 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32423 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32424 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32426 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32427 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32429 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32430 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32432 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32433 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32435 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32436 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32438 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32439 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32441 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32442 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32444 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32445 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32447 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32448 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32450 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32451 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32453 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32454 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32456 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32457 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32459 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32460 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32462 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32463 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32465 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32466 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32468 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32469 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32471 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32472 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32474 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32475 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32477 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32478 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32480 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32481 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32483 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32484 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32486 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32487 return (void *)((wxWindow
*) ((wxControl
*) x
));
32489 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32490 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32492 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32493 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32495 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32496 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32498 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32499 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32501 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32502 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32504 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32505 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32507 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32508 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32510 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32511 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32513 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32514 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32516 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32517 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32519 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32520 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32522 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32523 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32525 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32526 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32528 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32529 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32531 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32532 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32534 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32535 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32537 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32538 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32540 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32541 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32543 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32544 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32546 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32547 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32549 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32550 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32552 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32553 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32555 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32556 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32558 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32559 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32561 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32562 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32564 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32565 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32567 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32568 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32570 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32571 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32573 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32574 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32576 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32577 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32579 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32580 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32582 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32583 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32585 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32586 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32588 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32589 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32591 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32592 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32594 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32595 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32597 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32598 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32600 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32601 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32603 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32604 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32606 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32607 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32609 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32610 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32612 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32613 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32615 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32616 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32618 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32619 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32621 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32622 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32624 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32625 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32627 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32628 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32630 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32631 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32633 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32634 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32636 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32637 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32639 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32640 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32642 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32643 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32645 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32646 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32648 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32650 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};
32651 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32665 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32666 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32667 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32668 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32669 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32675 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32682 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32683 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32684 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32685 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32686 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32687 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32688 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32689 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32690 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32691 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32693 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32695 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32701 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32702 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32704 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32705 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32706 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32707 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32708 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32724 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32725 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32726 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32727 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32728 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32729 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32730 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32731 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32732 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32751 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32752 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32753 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32754 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32755 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32756 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32757 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32758 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32759 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32760 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32795 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32800 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32801 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32802 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32803 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32804 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32805 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32806 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32807 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32808 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32809 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32810 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32811 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32812 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32814 static swig_type_info
*swig_type_initial
[] = {
32817 &_swigt__p_form_ops_t
,
32819 &_swigt__p_unsigned_char
,
32820 &_swigt__p_unsigned_int
,
32821 &_swigt__p_unsigned_long
,
32822 &_swigt__p_wxANIHandler
,
32823 &_swigt__p_wxAcceleratorTable
,
32824 &_swigt__p_wxActivateEvent
,
32825 &_swigt__p_wxArrayInt
,
32826 &_swigt__p_wxBMPHandler
,
32827 &_swigt__p_wxBitmap
,
32828 &_swigt__p_wxBoxSizer
,
32829 &_swigt__p_wxCURHandler
,
32830 &_swigt__p_wxCalculateLayoutEvent
,
32831 &_swigt__p_wxChildFocusEvent
,
32832 &_swigt__p_wxClipboardTextEvent
,
32833 &_swigt__p_wxCloseEvent
,
32834 &_swigt__p_wxColour
,
32835 &_swigt__p_wxColourData
,
32836 &_swigt__p_wxColourDialog
,
32837 &_swigt__p_wxCommandEvent
,
32838 &_swigt__p_wxContextMenuEvent
,
32839 &_swigt__p_wxControl
,
32840 &_swigt__p_wxControlWithItems
,
32842 &_swigt__p_wxDateEvent
,
32843 &_swigt__p_wxDialog
,
32844 &_swigt__p_wxDirDialog
,
32845 &_swigt__p_wxDisplayChangedEvent
,
32846 &_swigt__p_wxDropFilesEvent
,
32847 &_swigt__p_wxDuplexMode
,
32848 &_swigt__p_wxEraseEvent
,
32849 &_swigt__p_wxEvent
,
32850 &_swigt__p_wxEvtHandler
,
32851 &_swigt__p_wxFSFile
,
32852 &_swigt__p_wxFileDialog
,
32853 &_swigt__p_wxFileSystem
,
32854 &_swigt__p_wxFindDialogEvent
,
32855 &_swigt__p_wxFindReplaceData
,
32856 &_swigt__p_wxFindReplaceDialog
,
32857 &_swigt__p_wxFlexGridSizer
,
32858 &_swigt__p_wxFocusEvent
,
32860 &_swigt__p_wxFontData
,
32861 &_swigt__p_wxFontDialog
,
32862 &_swigt__p_wxFrame
,
32863 &_swigt__p_wxGBSizerItem
,
32864 &_swigt__p_wxGIFHandler
,
32865 &_swigt__p_wxGridBagSizer
,
32866 &_swigt__p_wxGridSizer
,
32867 &_swigt__p_wxHtmlLinkInfo
,
32868 &_swigt__p_wxICOHandler
,
32870 &_swigt__p_wxIconBundle
,
32871 &_swigt__p_wxIconizeEvent
,
32872 &_swigt__p_wxIdleEvent
,
32873 &_swigt__p_wxImage
,
32874 &_swigt__p_wxImageHandler
,
32875 &_swigt__p_wxIndividualLayoutConstraint
,
32876 &_swigt__p_wxInitDialogEvent
,
32877 &_swigt__p_wxJPEGHandler
,
32878 &_swigt__p_wxKeyEvent
,
32879 &_swigt__p_wxLayoutAlgorithm
,
32880 &_swigt__p_wxLayoutConstraints
,
32881 &_swigt__p_wxMDIChildFrame
,
32882 &_swigt__p_wxMDIClientWindow
,
32883 &_swigt__p_wxMDIParentFrame
,
32884 &_swigt__p_wxMaximizeEvent
,
32886 &_swigt__p_wxMenuBar
,
32887 &_swigt__p_wxMenuEvent
,
32888 &_swigt__p_wxMenuItem
,
32889 &_swigt__p_wxMessageDialog
,
32890 &_swigt__p_wxMiniFrame
,
32891 &_swigt__p_wxMouseCaptureChangedEvent
,
32892 &_swigt__p_wxMouseCaptureLostEvent
,
32893 &_swigt__p_wxMouseEvent
,
32894 &_swigt__p_wxMoveEvent
,
32895 &_swigt__p_wxMultiChoiceDialog
,
32896 &_swigt__p_wxNavigationKeyEvent
,
32897 &_swigt__p_wxNcPaintEvent
,
32898 &_swigt__p_wxNotifyEvent
,
32899 &_swigt__p_wxNumberEntryDialog
,
32900 &_swigt__p_wxObject
,
32901 &_swigt__p_wxPCXHandler
,
32902 &_swigt__p_wxPNGHandler
,
32903 &_swigt__p_wxPNMHandler
,
32904 &_swigt__p_wxPageSetupDialog
,
32905 &_swigt__p_wxPageSetupDialogData
,
32906 &_swigt__p_wxPaintEvent
,
32907 &_swigt__p_wxPaletteChangedEvent
,
32908 &_swigt__p_wxPanel
,
32909 &_swigt__p_wxPaperSize
,
32910 &_swigt__p_wxPasswordEntryDialog
,
32911 &_swigt__p_wxPoint
,
32912 &_swigt__p_wxPopupWindow
,
32913 &_swigt__p_wxPreviewCanvas
,
32914 &_swigt__p_wxPreviewControlBar
,
32915 &_swigt__p_wxPreviewFrame
,
32916 &_swigt__p_wxPrintData
,
32917 &_swigt__p_wxPrintDialog
,
32918 &_swigt__p_wxPrintDialogData
,
32919 &_swigt__p_wxPrintPreview
,
32920 &_swigt__p_wxPrinter
,
32921 &_swigt__p_wxProgressDialog
,
32922 &_swigt__p_wxPyApp
,
32923 &_swigt__p_wxPyCommandEvent
,
32924 &_swigt__p_wxPyEvent
,
32925 &_swigt__p_wxPyHtmlListBox
,
32926 &_swigt__p_wxPyImageHandler
,
32927 &_swigt__p_wxPyPanel
,
32928 &_swigt__p_wxPyPopupTransientWindow
,
32929 &_swigt__p_wxPyPreviewControlBar
,
32930 &_swigt__p_wxPyPreviewFrame
,
32931 &_swigt__p_wxPyPrintPreview
,
32932 &_swigt__p_wxPyPrintout
,
32933 &_swigt__p_wxPyScrolledWindow
,
32934 &_swigt__p_wxPySizer
,
32935 &_swigt__p_wxPyTaskBarIcon
,
32936 &_swigt__p_wxPyVListBox
,
32937 &_swigt__p_wxPyVScrolledWindow
,
32938 &_swigt__p_wxPyValidator
,
32939 &_swigt__p_wxPyWindow
,
32940 &_swigt__p_wxQueryLayoutInfoEvent
,
32941 &_swigt__p_wxQueryNewPaletteEvent
,
32943 &_swigt__p_wxRegion
,
32944 &_swigt__p_wxSashEvent
,
32945 &_swigt__p_wxSashLayoutWindow
,
32946 &_swigt__p_wxSashWindow
,
32947 &_swigt__p_wxScrollEvent
,
32948 &_swigt__p_wxScrollWinEvent
,
32949 &_swigt__p_wxScrolledWindow
,
32950 &_swigt__p_wxSetCursorEvent
,
32951 &_swigt__p_wxShowEvent
,
32952 &_swigt__p_wxSingleChoiceDialog
,
32954 &_swigt__p_wxSizeEvent
,
32955 &_swigt__p_wxSizer
,
32956 &_swigt__p_wxSizerItem
,
32957 &_swigt__p_wxSplashScreen
,
32958 &_swigt__p_wxSplashScreenWindow
,
32959 &_swigt__p_wxSplitterEvent
,
32960 &_swigt__p_wxSplitterWindow
,
32961 &_swigt__p_wxStaticBoxSizer
,
32962 &_swigt__p_wxStatusBar
,
32963 &_swigt__p_wxStdDialogButtonSizer
,
32964 &_swigt__p_wxString
,
32965 &_swigt__p_wxSysColourChangedEvent
,
32966 &_swigt__p_wxTIFFHandler
,
32967 &_swigt__p_wxTaskBarIcon
,
32968 &_swigt__p_wxTaskBarIconEvent
,
32969 &_swigt__p_wxTextEntryDialog
,
32970 &_swigt__p_wxTipWindow
,
32971 &_swigt__p_wxToolBar
,
32972 &_swigt__p_wxTopLevelWindow
,
32973 &_swigt__p_wxUpdateUIEvent
,
32974 &_swigt__p_wxValidator
,
32975 &_swigt__p_wxVisualAttributes
,
32976 &_swigt__p_wxWindow
,
32977 &_swigt__p_wxWindowCreateEvent
,
32978 &_swigt__p_wxWindowDestroyEvent
,
32979 &_swigt__p_wxXPMHandler
,
32982 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33063 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}};
33064 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33092 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33096 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}};
33097 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33100 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33102 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}};
33103 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}};
33104 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33107 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}};
33108 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33119 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}};
33120 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}};
33121 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33127 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}};
33128 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33129 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}};
33130 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33137 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33141 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}};
33142 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33143 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_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}};
33148 static swig_cast_info
*swig_cast_initial
[] = {
33151 _swigc__p_form_ops_t
,
33153 _swigc__p_unsigned_char
,
33154 _swigc__p_unsigned_int
,
33155 _swigc__p_unsigned_long
,
33156 _swigc__p_wxANIHandler
,
33157 _swigc__p_wxAcceleratorTable
,
33158 _swigc__p_wxActivateEvent
,
33159 _swigc__p_wxArrayInt
,
33160 _swigc__p_wxBMPHandler
,
33161 _swigc__p_wxBitmap
,
33162 _swigc__p_wxBoxSizer
,
33163 _swigc__p_wxCURHandler
,
33164 _swigc__p_wxCalculateLayoutEvent
,
33165 _swigc__p_wxChildFocusEvent
,
33166 _swigc__p_wxClipboardTextEvent
,
33167 _swigc__p_wxCloseEvent
,
33168 _swigc__p_wxColour
,
33169 _swigc__p_wxColourData
,
33170 _swigc__p_wxColourDialog
,
33171 _swigc__p_wxCommandEvent
,
33172 _swigc__p_wxContextMenuEvent
,
33173 _swigc__p_wxControl
,
33174 _swigc__p_wxControlWithItems
,
33176 _swigc__p_wxDateEvent
,
33177 _swigc__p_wxDialog
,
33178 _swigc__p_wxDirDialog
,
33179 _swigc__p_wxDisplayChangedEvent
,
33180 _swigc__p_wxDropFilesEvent
,
33181 _swigc__p_wxDuplexMode
,
33182 _swigc__p_wxEraseEvent
,
33184 _swigc__p_wxEvtHandler
,
33185 _swigc__p_wxFSFile
,
33186 _swigc__p_wxFileDialog
,
33187 _swigc__p_wxFileSystem
,
33188 _swigc__p_wxFindDialogEvent
,
33189 _swigc__p_wxFindReplaceData
,
33190 _swigc__p_wxFindReplaceDialog
,
33191 _swigc__p_wxFlexGridSizer
,
33192 _swigc__p_wxFocusEvent
,
33194 _swigc__p_wxFontData
,
33195 _swigc__p_wxFontDialog
,
33197 _swigc__p_wxGBSizerItem
,
33198 _swigc__p_wxGIFHandler
,
33199 _swigc__p_wxGridBagSizer
,
33200 _swigc__p_wxGridSizer
,
33201 _swigc__p_wxHtmlLinkInfo
,
33202 _swigc__p_wxICOHandler
,
33204 _swigc__p_wxIconBundle
,
33205 _swigc__p_wxIconizeEvent
,
33206 _swigc__p_wxIdleEvent
,
33208 _swigc__p_wxImageHandler
,
33209 _swigc__p_wxIndividualLayoutConstraint
,
33210 _swigc__p_wxInitDialogEvent
,
33211 _swigc__p_wxJPEGHandler
,
33212 _swigc__p_wxKeyEvent
,
33213 _swigc__p_wxLayoutAlgorithm
,
33214 _swigc__p_wxLayoutConstraints
,
33215 _swigc__p_wxMDIChildFrame
,
33216 _swigc__p_wxMDIClientWindow
,
33217 _swigc__p_wxMDIParentFrame
,
33218 _swigc__p_wxMaximizeEvent
,
33220 _swigc__p_wxMenuBar
,
33221 _swigc__p_wxMenuEvent
,
33222 _swigc__p_wxMenuItem
,
33223 _swigc__p_wxMessageDialog
,
33224 _swigc__p_wxMiniFrame
,
33225 _swigc__p_wxMouseCaptureChangedEvent
,
33226 _swigc__p_wxMouseCaptureLostEvent
,
33227 _swigc__p_wxMouseEvent
,
33228 _swigc__p_wxMoveEvent
,
33229 _swigc__p_wxMultiChoiceDialog
,
33230 _swigc__p_wxNavigationKeyEvent
,
33231 _swigc__p_wxNcPaintEvent
,
33232 _swigc__p_wxNotifyEvent
,
33233 _swigc__p_wxNumberEntryDialog
,
33234 _swigc__p_wxObject
,
33235 _swigc__p_wxPCXHandler
,
33236 _swigc__p_wxPNGHandler
,
33237 _swigc__p_wxPNMHandler
,
33238 _swigc__p_wxPageSetupDialog
,
33239 _swigc__p_wxPageSetupDialogData
,
33240 _swigc__p_wxPaintEvent
,
33241 _swigc__p_wxPaletteChangedEvent
,
33243 _swigc__p_wxPaperSize
,
33244 _swigc__p_wxPasswordEntryDialog
,
33246 _swigc__p_wxPopupWindow
,
33247 _swigc__p_wxPreviewCanvas
,
33248 _swigc__p_wxPreviewControlBar
,
33249 _swigc__p_wxPreviewFrame
,
33250 _swigc__p_wxPrintData
,
33251 _swigc__p_wxPrintDialog
,
33252 _swigc__p_wxPrintDialogData
,
33253 _swigc__p_wxPrintPreview
,
33254 _swigc__p_wxPrinter
,
33255 _swigc__p_wxProgressDialog
,
33257 _swigc__p_wxPyCommandEvent
,
33258 _swigc__p_wxPyEvent
,
33259 _swigc__p_wxPyHtmlListBox
,
33260 _swigc__p_wxPyImageHandler
,
33261 _swigc__p_wxPyPanel
,
33262 _swigc__p_wxPyPopupTransientWindow
,
33263 _swigc__p_wxPyPreviewControlBar
,
33264 _swigc__p_wxPyPreviewFrame
,
33265 _swigc__p_wxPyPrintPreview
,
33266 _swigc__p_wxPyPrintout
,
33267 _swigc__p_wxPyScrolledWindow
,
33268 _swigc__p_wxPySizer
,
33269 _swigc__p_wxPyTaskBarIcon
,
33270 _swigc__p_wxPyVListBox
,
33271 _swigc__p_wxPyVScrolledWindow
,
33272 _swigc__p_wxPyValidator
,
33273 _swigc__p_wxPyWindow
,
33274 _swigc__p_wxQueryLayoutInfoEvent
,
33275 _swigc__p_wxQueryNewPaletteEvent
,
33277 _swigc__p_wxRegion
,
33278 _swigc__p_wxSashEvent
,
33279 _swigc__p_wxSashLayoutWindow
,
33280 _swigc__p_wxSashWindow
,
33281 _swigc__p_wxScrollEvent
,
33282 _swigc__p_wxScrollWinEvent
,
33283 _swigc__p_wxScrolledWindow
,
33284 _swigc__p_wxSetCursorEvent
,
33285 _swigc__p_wxShowEvent
,
33286 _swigc__p_wxSingleChoiceDialog
,
33288 _swigc__p_wxSizeEvent
,
33290 _swigc__p_wxSizerItem
,
33291 _swigc__p_wxSplashScreen
,
33292 _swigc__p_wxSplashScreenWindow
,
33293 _swigc__p_wxSplitterEvent
,
33294 _swigc__p_wxSplitterWindow
,
33295 _swigc__p_wxStaticBoxSizer
,
33296 _swigc__p_wxStatusBar
,
33297 _swigc__p_wxStdDialogButtonSizer
,
33298 _swigc__p_wxString
,
33299 _swigc__p_wxSysColourChangedEvent
,
33300 _swigc__p_wxTIFFHandler
,
33301 _swigc__p_wxTaskBarIcon
,
33302 _swigc__p_wxTaskBarIconEvent
,
33303 _swigc__p_wxTextEntryDialog
,
33304 _swigc__p_wxTipWindow
,
33305 _swigc__p_wxToolBar
,
33306 _swigc__p_wxTopLevelWindow
,
33307 _swigc__p_wxUpdateUIEvent
,
33308 _swigc__p_wxValidator
,
33309 _swigc__p_wxVisualAttributes
,
33310 _swigc__p_wxWindow
,
33311 _swigc__p_wxWindowCreateEvent
,
33312 _swigc__p_wxWindowDestroyEvent
,
33313 _swigc__p_wxXPMHandler
,
33317 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33319 static swig_const_info swig_const_table
[] = {
33320 {0, 0, 0, 0.0, 0, 0}};
33325 /* -----------------------------------------------------------------------------
33326 * Type initialization:
33327 * This problem is tough by the requirement that no dynamic
33328 * memory is used. Also, since swig_type_info structures store pointers to
33329 * swig_cast_info structures and swig_cast_info structures store pointers back
33330 * to swig_type_info structures, we need some lookup code at initialization.
33331 * The idea is that swig generates all the structures that are needed.
33332 * The runtime then collects these partially filled structures.
33333 * The SWIG_InitializeModule function takes these initial arrays out of
33334 * swig_module, and does all the lookup, filling in the swig_module.types
33335 * array with the correct data and linking the correct swig_cast_info
33336 * structures together.
33338 * The generated swig_type_info structures are assigned staticly to an initial
33339 * array. We just loop though that array, and handle each type individually.
33340 * First we lookup if this type has been already loaded, and if so, use the
33341 * loaded structure instead of the generated one. Then we have to fill in the
33342 * cast linked list. The cast data is initially stored in something like a
33343 * two-dimensional array. Each row corresponds to a type (there are the same
33344 * number of rows as there are in the swig_type_initial array). Each entry in
33345 * a column is one of the swig_cast_info structures for that type.
33346 * The cast_initial array is actually an array of arrays, because each row has
33347 * a variable number of columns. So to actually build the cast linked list,
33348 * we find the array of casts associated with the type, and loop through it
33349 * adding the casts to the list. The one last trick we need to do is making
33350 * sure the type pointer in the swig_cast_info struct is correct.
33352 * First off, we lookup the cast->type name to see if it is already loaded.
33353 * There are three cases to handle:
33354 * 1) If the cast->type has already been loaded AND the type we are adding
33355 * casting info to has not been loaded (it is in this module), THEN we
33356 * replace the cast->type pointer with the type pointer that has already
33358 * 2) If BOTH types (the one we are adding casting info to, and the
33359 * cast->type) are loaded, THEN the cast info has already been loaded by
33360 * the previous module so we just ignore it.
33361 * 3) Finally, if cast->type has not already been loaded, then we add that
33362 * swig_cast_info to the linked list (because the cast->type) pointer will
33364 * ----------------------------------------------------------------------------- */
33374 #define SWIGRUNTIME_DEBUG
33378 SWIG_InitializeModule(void *clientdata
) {
33380 swig_module_info
*module_head
;
33381 static int init_run
= 0;
33383 clientdata
= clientdata
;
33385 if (init_run
) return;
33388 /* Initialize the swig_module */
33389 swig_module
.type_initial
= swig_type_initial
;
33390 swig_module
.cast_initial
= swig_cast_initial
;
33392 /* Try and load any already created modules */
33393 module_head
= SWIG_GetModule(clientdata
);
33395 swig_module
.next
= module_head
->next
;
33396 module_head
->next
= &swig_module
;
33398 /* This is the first module loaded */
33399 swig_module
.next
= &swig_module
;
33400 SWIG_SetModule(clientdata
, &swig_module
);
33403 /* Now work on filling in swig_module.types */
33404 #ifdef SWIGRUNTIME_DEBUG
33405 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33407 for (i
= 0; i
< swig_module
.size
; ++i
) {
33408 swig_type_info
*type
= 0;
33409 swig_type_info
*ret
;
33410 swig_cast_info
*cast
;
33412 #ifdef SWIGRUNTIME_DEBUG
33413 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33416 /* if there is another module already loaded */
33417 if (swig_module
.next
!= &swig_module
) {
33418 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33421 /* Overwrite clientdata field */
33422 #ifdef SWIGRUNTIME_DEBUG
33423 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33425 if (swig_module
.type_initial
[i
]->clientdata
) {
33426 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33427 #ifdef SWIGRUNTIME_DEBUG
33428 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33432 type
= swig_module
.type_initial
[i
];
33435 /* Insert casting types */
33436 cast
= swig_module
.cast_initial
[i
];
33437 while (cast
->type
) {
33438 /* Don't need to add information already in the list */
33440 #ifdef SWIGRUNTIME_DEBUG
33441 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33443 if (swig_module
.next
!= &swig_module
) {
33444 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33445 #ifdef SWIGRUNTIME_DEBUG
33446 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33450 if (type
== swig_module
.type_initial
[i
]) {
33451 #ifdef SWIGRUNTIME_DEBUG
33452 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33457 /* Check for casting already in the list */
33458 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33459 #ifdef SWIGRUNTIME_DEBUG
33460 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33462 if (!ocast
) ret
= 0;
33467 #ifdef SWIGRUNTIME_DEBUG
33468 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33471 type
->cast
->prev
= cast
;
33472 cast
->next
= type
->cast
;
33478 /* Set entry in modules->types array equal to the type */
33479 swig_module
.types
[i
] = type
;
33481 swig_module
.types
[i
] = 0;
33483 #ifdef SWIGRUNTIME_DEBUG
33484 printf("**** SWIG_InitializeModule: Cast List ******\n");
33485 for (i
= 0; i
< swig_module
.size
; ++i
) {
33487 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33488 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33489 while (cast
->type
) {
33490 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33494 printf("---- Total casts: %d\n",j
);
33496 printf("**** SWIG_InitializeModule: Cast List ******\n");
33500 /* This function will propagate the clientdata field of type to
33501 * any new swig_type_info structures that have been added into the list
33502 * of equivalent types. It is like calling
33503 * SWIG_TypeClientData(type, clientdata) a second time.
33506 SWIG_PropagateClientData(void) {
33508 swig_cast_info
*equiv
;
33509 static int init_run
= 0;
33511 if (init_run
) return;
33514 for (i
= 0; i
< swig_module
.size
; i
++) {
33515 if (swig_module
.types
[i
]->clientdata
) {
33516 equiv
= swig_module
.types
[i
]->cast
;
33518 if (!equiv
->converter
) {
33519 if (equiv
->type
&& !equiv
->type
->clientdata
)
33520 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33522 equiv
= equiv
->next
;
33542 /* Python-specific SWIG API */
33543 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33544 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33545 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33547 /* -----------------------------------------------------------------------------
33548 * global variable support code.
33549 * ----------------------------------------------------------------------------- */
33551 typedef struct swig_globalvar
{
33552 char *name
; /* Name of global variable */
33553 PyObject
*(*get_attr
)(void); /* Return the current value */
33554 int (*set_attr
)(PyObject
*); /* Set the value */
33555 struct swig_globalvar
*next
;
33558 typedef struct swig_varlinkobject
{
33560 swig_globalvar
*vars
;
33561 } swig_varlinkobject
;
33563 SWIGINTERN PyObject
*
33564 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33565 return PyString_FromString("<Swig global variables>");
33568 SWIGINTERN PyObject
*
33569 swig_varlink_str(swig_varlinkobject
*v
) {
33570 PyObject
*str
= PyString_FromString("(");
33571 swig_globalvar
*var
;
33572 for (var
= v
->vars
; var
; var
=var
->next
) {
33573 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33574 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33576 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33581 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33582 PyObject
*str
= swig_varlink_str(v
);
33583 fprintf(fp
,"Swig global variables ");
33584 fprintf(fp
,"%s\n", PyString_AsString(str
));
33590 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33591 swig_globalvar
*var
= v
->vars
;
33593 swig_globalvar
*n
= var
->next
;
33600 SWIGINTERN PyObject
*
33601 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33602 PyObject
*res
= NULL
;
33603 swig_globalvar
*var
= v
->vars
;
33605 if (strcmp(var
->name
,n
) == 0) {
33606 res
= (*var
->get_attr
)();
33611 if (res
== NULL
&& !PyErr_Occurred()) {
33612 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33618 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33620 swig_globalvar
*var
= v
->vars
;
33622 if (strcmp(var
->name
,n
) == 0) {
33623 res
= (*var
->set_attr
)(p
);
33628 if (res
== 1 && !PyErr_Occurred()) {
33629 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33634 SWIGINTERN PyTypeObject
*
33635 swig_varlink_type(void) {
33636 static char varlink__doc__
[] = "Swig var link object";
33637 static PyTypeObject varlink_type
;
33638 static int type_init
= 0;
33640 const PyTypeObject tmp
33642 PyObject_HEAD_INIT(NULL
)
33643 0, /* Number of items in variable part (ob_size) */
33644 (char *)"swigvarlink", /* Type name (tp_name) */
33645 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33646 0, /* Itemsize (tp_itemsize) */
33647 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33648 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33649 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33650 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33651 0, /* tp_compare */
33652 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33653 0, /* tp_as_number */
33654 0, /* tp_as_sequence */
33655 0, /* tp_as_mapping */
33658 (reprfunc
)swig_varlink_str
, /* tp_str */
33659 0, /* tp_getattro */
33660 0, /* tp_setattro */
33661 0, /* tp_as_buffer */
33663 varlink__doc__
, /* tp_doc */
33664 0, /* tp_traverse */
33666 0, /* tp_richcompare */
33667 0, /* tp_weaklistoffset */
33668 #if PY_VERSION_HEX >= 0x02020000
33669 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33671 #if PY_VERSION_HEX >= 0x02030000
33674 #ifdef COUNT_ALLOCS
33675 0,0,0,0 /* tp_alloc -> tp_next */
33678 varlink_type
= tmp
;
33679 varlink_type
.ob_type
= &PyType_Type
;
33682 return &varlink_type
;
33685 /* Create a variable linking object for use later */
33686 SWIGINTERN PyObject
*
33687 SWIG_Python_newvarlink(void) {
33688 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33692 return ((PyObject
*) result
);
33696 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33697 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33698 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33700 size_t size
= strlen(name
)+1;
33701 gv
->name
= (char *)malloc(size
);
33703 strncpy(gv
->name
,name
,size
);
33704 gv
->get_attr
= get_attr
;
33705 gv
->set_attr
= set_attr
;
33706 gv
->next
= v
->vars
;
33712 SWIGINTERN PyObject
*
33714 static PyObject
*_SWIG_globals
= 0;
33715 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33716 return _SWIG_globals
;
33719 /* -----------------------------------------------------------------------------
33720 * constants/methods manipulation
33721 * ----------------------------------------------------------------------------- */
33723 /* Install Constants */
33725 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33728 for (i
= 0; constants
[i
].type
; ++i
) {
33729 switch(constants
[i
].type
) {
33730 case SWIG_PY_POINTER
:
33731 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33733 case SWIG_PY_BINARY
:
33734 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33741 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33747 /* -----------------------------------------------------------------------------*/
33748 /* Fix SwigMethods to carry the callback ptrs when needed */
33749 /* -----------------------------------------------------------------------------*/
33752 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33753 swig_const_info
*const_table
,
33754 swig_type_info
**types
,
33755 swig_type_info
**types_initial
) {
33757 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33758 const char *c
= methods
[i
].ml_doc
;
33759 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33761 swig_const_info
*ci
= 0;
33762 const char *name
= c
+ 10;
33763 for (j
= 0; const_table
[j
].type
; ++j
) {
33764 if (strncmp(const_table
[j
].name
, name
,
33765 strlen(const_table
[j
].name
)) == 0) {
33766 ci
= &(const_table
[j
]);
33771 size_t shift
= (ci
->ptype
) - types
;
33772 swig_type_info
*ty
= types_initial
[shift
];
33773 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33774 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33775 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33778 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33780 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33782 strncpy(buff
, "swig_ptr: ", 10);
33784 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33785 methods
[i
].ml_doc
= ndoc
;
33797 /* -----------------------------------------------------------------------------*
33798 * Partial Init method
33799 * -----------------------------------------------------------------------------*/
33804 SWIGEXPORT
void SWIG_init(void) {
33807 /* Fix SwigMethods to carry the callback ptrs when needed */
33808 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33810 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33811 d
= PyModule_GetDict(m
);
33813 SWIG_InitializeModule(0);
33814 SWIG_InstallConstants(d
,swig_const_table
);
33817 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33818 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33819 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33820 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33821 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33822 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33823 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33824 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33825 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33826 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33827 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33828 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33829 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33830 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33831 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33832 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33833 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33834 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33835 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33836 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33837 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33838 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33839 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33840 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33841 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33842 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33843 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33844 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33845 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33846 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33847 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33848 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33849 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33850 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33851 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33852 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33853 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33854 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33855 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33856 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33857 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33858 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33859 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33860 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33861 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33862 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33863 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33864 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33865 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33866 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33867 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33868 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33869 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33870 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33871 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33872 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33873 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33874 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33875 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33876 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33877 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33878 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33879 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33880 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33881 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33882 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33883 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33884 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33885 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33886 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33887 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33888 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33889 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33890 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33891 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33892 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33893 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33894 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33895 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33896 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33897 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33898 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33899 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33900 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33901 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33902 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33903 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33904 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33905 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33906 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33907 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33908 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33909 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33910 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33911 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33912 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33913 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33914 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33915 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33916 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33917 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33918 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33920 // Map renamed classes back to their common name for OOR
33921 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33922 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33923 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33925 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33926 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33927 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33928 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33929 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33930 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33931 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33932 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33933 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33934 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33935 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33936 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33937 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33938 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33939 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33940 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33941 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33942 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33943 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33944 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33945 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33946 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33947 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33948 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33949 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33950 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33951 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33952 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33953 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33954 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
33955 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33956 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33957 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33958 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33959 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33960 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33961 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33962 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33963 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33964 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33965 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33966 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33967 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33968 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33969 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33970 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33971 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33972 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33973 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33974 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33975 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33976 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33977 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33978 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33979 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33980 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33981 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33982 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33983 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33984 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33985 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33986 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33987 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33988 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33989 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33990 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33991 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33992 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33993 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33994 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33995 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33996 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33997 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33998 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33999 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34000 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34001 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34002 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34003 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34004 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34005 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34006 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34007 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34008 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34009 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34010 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34011 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34012 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34013 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34014 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34015 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34016 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34017 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34018 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34019 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34020 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34022 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");