1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPosition swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570 #define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571 #define SWIGTYPE_p_wxPrintData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574 #define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575 #define SWIGTYPE_p_wxPrinter swig_types[109]
2576 #define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583 #define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584 #define SWIGTYPE_p_wxPyPanel swig_types[118]
2585 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588 #define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589 #define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593 #define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxPyWindow swig_types[130]
2597 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxRegion swig_types[134]
2601 #define SWIGTYPE_p_wxSashEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSashWindow swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611 #define SWIGTYPE_p_wxSize swig_types[145]
2612 #define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613 #define SWIGTYPE_p_wxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxSizerItem swig_types[148]
2615 #define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617 #define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxStatusBar swig_types[154]
2621 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622 #define SWIGTYPE_p_wxString swig_types[156]
2623 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626 #define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629 #define SWIGTYPE_p_wxTipWindow swig_types[163]
2630 #define SWIGTYPE_p_wxToolBar swig_types[164]
2631 #define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635 #define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636 #define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637 #define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642 #define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643 static swig_type_info
*swig_types
[178];
2644 static swig_module_info swig_module
= {swig_types
, 177, 0, 0, 0, 0};
2645 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2648 /* -------- TYPES TABLE (END) -------- */
2650 #if (PY_VERSION_HEX <= 0x02000000)
2651 # if !defined(SWIG_PYTHON_CLASSIC)
2652 # error "This python version requires to use swig with the '-classic' option"
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodern' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodernargs' option"
2662 # error "This python version requires to use swig with the '-nofastunpack' option"
2665 /*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668 #define SWIG_init init_windows_
2670 #define SWIG_name "_windows_"
2672 #define SWIGVERSION 0x010329
2675 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2679 #include <stdexcept>
2683 class PyObject_ptr
{
2688 PyObject_ptr() :_obj(0)
2692 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2697 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2699 if (initial_ref
) Py_XINCREF(_obj
);
2702 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2704 Py_XINCREF(item
._obj
);
2715 operator PyObject
*() const
2720 PyObject
*operator->() const
2729 struct PyObject_var
: PyObject_ptr
{
2730 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2732 PyObject_var
& operator = (PyObject
* obj
)
2742 #include "wx/wxPython/wxPython.h"
2743 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyEmptyString(wxEmptyString
);
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2778 int res
= SWIG_AsVal_long (obj
, &v
);
2779 if (SWIG_IsOK(res
)) {
2780 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2781 return SWIG_OverflowError
;
2783 if (val
) *val
= static_cast< int >(v
);
2791 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2793 if (obj
== Py_True
) {
2794 if (val
) *val
= true;
2796 } else if (obj
== Py_False
) {
2797 if (val
) *val
= false;
2801 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2802 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2808 #define SWIG_From_long PyInt_FromLong
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_int (int value
)
2814 return SWIG_From_long (value
);
2819 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2821 if (PyNumber_Check(obj
)) {
2822 if (val
) *val
= PyFloat_AsDouble(obj
);
2825 return SWIG_TypeError
;
2829 #define SWIG_From_double PyFloat_FromDouble
2831 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2832 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2833 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2834 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2835 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2836 int style
= self
->GetExtraStyle();
2838 style
|= wxFRAME_EX_METAL
;
2840 style
&= ~wxFRAME_EX_METAL
;
2841 self
->SetExtraStyle(style
);
2844 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2848 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2850 self
->GetFieldRect(i
, r
);
2853 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2854 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2855 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2857 #include <wx/popupwin.h>
2860 class wxPopupWindow
: public wxWindow
{
2862 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2863 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2866 class wxPyPopupTransientWindow
: public wxPopupWindow
2869 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2870 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2874 #include <wx/tipwin.h>
2876 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2877 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2880 #include <wx/tipwin.h>
2881 #include <wx/vscroll.h>
2884 SWIGINTERNINLINE PyObject
*
2885 SWIG_From_unsigned_SS_long (unsigned long value
)
2887 return (value
> LONG_MAX
) ?
2888 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2892 SWIGINTERNINLINE PyObject
*
2893 SWIG_From_size_t (size_t value
)
2895 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2900 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2903 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2904 return SWIG_TypeError
;
2907 *val
= (unsigned long)v
;
2912 SWIGINTERNINLINE
int
2913 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2916 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2917 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2922 class wxPyVScrolledWindow
: public wxVScrolledWindow
2924 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2926 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2928 wxPyVScrolledWindow(wxWindow
*parent
,
2929 wxWindowID id
= wxID_ANY
,
2930 const wxPoint
& pos
= wxDefaultPosition
,
2931 const wxSize
& size
= wxDefaultSize
,
2933 const wxString
& name
= wxPyPanelNameStr
)
2934 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2937 // Overridable virtuals
2939 // this function must be overridden in the derived class and it should
2940 // return the height of the given line in pixels
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight
);
2942 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
); // old name
2944 // this function doesn't have to be overridden but it may be useful to do
2945 // it if calculating the lines heights is a relatively expensive operation
2946 // as it gives the user code a possibility to calculate several of them at
2949 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
2950 // shouldn't rely on the latter being called for all lines in the interval
2951 // specified here. It is also possible that OnGetRowHeight() will be
2952 // called for the lines outside of this interval, so this is really just a
2953 // hint, not a promise.
2955 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint
);
2958 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
); // old name
2960 // when the number of lines changes, we try to estimate the total height
2961 // of all lines which is a rather expensive operation in terms of lines
2962 // access, so if the user code may estimate the average height
2963 // better/faster than we do, it should override this function to implement
2966 // this function should return the best guess for the total height it may
2968 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2971 // Also expose some other interesting protected methods
2974 // get the total height of the lines between lineMin (inclusive) and
2975 // lineMax (exclusive)
2976 wxCoord
GetRowsHeight(size_t lineMin
, size_t lineMax
) const
2977 { return wxVScrolledWindow::GetRowsHeight(lineMin
, lineMax
); }
2983 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2985 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetRowHeight
);
2986 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2987 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetRowsHeightHint
);
2988 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2990 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2993 class wxPyHScrolledWindow
: public wxHScrolledWindow
2995 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow
)
2997 wxPyHScrolledWindow() : wxHScrolledWindow() {}
2999 wxPyHScrolledWindow(wxWindow
*parent
,
3000 wxWindowID id
= wxID_ANY
,
3001 const wxPoint
& pos
= wxDefaultPosition
,
3002 const wxSize
& size
= wxDefaultSize
,
3004 const wxString
& name
= wxPyPanelNameStr
)
3005 : wxHScrolledWindow(parent
, id
, pos
, size
, style
, name
)
3008 // Overridable virtuals
3009 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth
);
3010 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint
);
3011 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth
);
3013 wxCoord
GetColumnsWidth(size_t columnMin
, size_t columnMax
) const
3014 { return wxHScrolledWindow::GetColumnsWidth(columnMin
, columnMax
); }
3019 IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow
, wxHScrolledWindow
);
3021 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow
, wxHScrolledWindow
, OnGetColumnWidth
);
3022 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow
, wxHScrolledWindow
, OnGetColumnsWidthHint
);
3023 IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow
, wxHScrolledWindow
, EstimateTotalWidth
);
3027 class wxPyHVScrolledWindow
: public wxHVScrolledWindow
3029 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow
)
3031 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3033 wxPyHVScrolledWindow(wxWindow
*parent
,
3034 wxWindowID id
= wxID_ANY
,
3035 const wxPoint
& pos
= wxDefaultPosition
,
3036 const wxSize
& size
= wxDefaultSize
,
3038 const wxString
& name
= wxPyPanelNameStr
)
3039 : wxHVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
3042 // Overridable virtuals
3043 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight
);
3044 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint
);
3045 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
3047 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth
);
3048 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint
);
3049 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth
);
3051 wxCoord
GetRowsHeight(size_t lineMin
, size_t lineMax
) const
3052 { return wxHVScrolledWindow::GetRowsHeight(lineMin
, lineMax
); }
3054 wxCoord
GetColumnsWidth(size_t columnMin
, size_t columnMax
) const
3055 { return wxHVScrolledWindow::GetColumnsWidth(columnMin
, columnMax
); }
3060 IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow
, wxHVScrolledWindow
);
3062 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetRowHeight
);
3063 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetRowsHeightHint
);
3064 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow
, wxHVScrolledWindow
, EstimateTotalHeight
);
3066 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetColumnWidth
);
3067 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetColumnsWidthHint
);
3068 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow
, wxHVScrolledWindow
, EstimateTotalWidth
);
3072 #include <wx/vlbox.h>
3074 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3076 class wxPyVListBox
: public wxVListBox
3078 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3080 wxPyVListBox() : wxVListBox() {}
3082 wxPyVListBox(wxWindow
*parent
,
3083 wxWindowID id
= wxID_ANY
,
3084 const wxPoint
& pos
= wxDefaultPosition
,
3085 const wxSize
& size
= wxDefaultSize
,
3087 const wxString
& name
= wxPyVListBoxNameStr
)
3088 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3091 // Overridable virtuals
3093 // the derived class must implement this function to actually draw the item
3094 // with the given index on the provided DC
3095 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3096 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3099 // the derived class must implement this method to return the height of the
3101 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3102 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3105 // this method may be used to draw separators between the lines; note that
3106 // the rectangle may be modified, typically to deflate it a bit before
3107 // passing to OnDrawItem()
3109 // the base class version doesn't do anything
3110 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3111 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3114 // this method is used to draw the items background and, maybe, a border
3117 // the base class version implements a reasonable default behaviour which
3118 // consists in drawing the selected item with the standard background
3119 // colour and drawing a border around the item if it is either selected or
3121 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3122 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3128 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3130 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3131 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3132 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3133 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3136 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3137 unsigned long cookie
= 0;
3138 int selected
= self
->GetFirstSelected(cookie
);
3139 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3140 PyObject
* tup
= PyTuple_New(2);
3141 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3142 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3143 wxPyEndBlockThreads(blocked
);
3146 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3147 int selected
= self
->GetNextSelected(cookie
);
3148 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3149 PyObject
* tup
= PyTuple_New(2);
3150 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3151 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3152 wxPyEndBlockThreads(blocked
);
3156 #include <wx/htmllbox.h>
3159 class wxPyHtmlListBox
: public wxHtmlListBox
3161 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3163 wxPyHtmlListBox() : wxHtmlListBox() {}
3165 wxPyHtmlListBox(wxWindow
*parent
,
3166 wxWindowID id
= wxID_ANY
,
3167 const wxPoint
& pos
= wxDefaultPosition
,
3168 const wxSize
& size
= wxDefaultSize
,
3170 const wxString
& name
= wxPyVListBoxNameStr
)
3171 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3174 // Overridable virtuals
3176 // this method must be implemented in the derived class and should return
3177 // the body (i.e. without <html>) of the HTML for the given item
3178 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3180 // this function may be overridden to decorate HTML returned by OnGetItem()
3181 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3183 // These are from wxVListBox
3184 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3185 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3188 // // this method allows to customize the selection appearance: it may be used
3189 // // to specify the colour of the text which normally has the given colour
3190 // // colFg when it is inside the selection
3192 // // by default, the original colour is not used at all and all text has the
3193 // // same (default for this system) colour inside selection
3194 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3196 // // this is the same as GetSelectedTextColour() but allows to customize the
3197 // // background colour -- this is even more rarely used as you can change it
3198 // // globally using SetSelectionBackground()
3199 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3202 // This method may be overriden to handle clicking on a link in
3203 // the listbox. By default, clicking links is ignored.
3204 virtual void OnLinkClicked(size_t n
,
3205 const wxHtmlLinkInfo
& link
);
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3213 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3214 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3215 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3216 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3219 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3220 const wxHtmlLinkInfo
& link
) {
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3224 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3225 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3228 wxPyEndBlockThreads(blocked
);
3230 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3235 const wxArrayString wxPyEmptyStringArray
;
3237 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3241 #ifndef wxHAS_TASK_BAR_ICON
3242 // implement dummy classes for platforms that don't have it
3244 class wxTaskBarIcon
: public wxEvtHandler
3247 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3251 class wxTaskBarIconEvent
: public wxEvent
3254 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3255 { wxPyRaiseNotImplemented(); }
3256 virtual wxEvent
* Clone() const { return NULL
; }
3257 bool IsOk() const { return false; }
3258 bool IsIconInstalled() const { return false; }
3259 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3260 bool RemoveIcon() { return false; }
3261 bool PopupMenu(wxMenu
*menu
) { return false; }
3265 wxEVT_TASKBAR_MOVE
= 0,
3266 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3267 wxEVT_TASKBAR_LEFT_UP
= 0,
3268 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3269 wxEVT_TASKBAR_RIGHT_UP
= 0,
3270 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3271 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3276 // Otherwise make a class that can virtualize CreatePopupMenu
3277 class wxPyTaskBarIcon
: public wxTaskBarIcon
3279 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3281 wxPyTaskBarIcon() : wxTaskBarIcon()
3284 wxMenu
* CreatePopupMenu() {
3285 wxMenu
*rval
= NULL
;
3287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3288 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3291 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3293 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3298 wxPyEndBlockThreads(blocked
);
3300 rval
= wxTaskBarIcon::CreatePopupMenu();
3307 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3311 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3315 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3316 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3317 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3318 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3319 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3320 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3322 // for compatibility only
3323 #define wxHIDE_READONLY 0
3325 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3327 self
->GetFilenames(arr
);
3328 return wxArrayString2PyList_helper(arr
);
3330 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3332 self
->GetPaths(arr
);
3333 return wxArrayString2PyList_helper(arr
);
3335 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3336 return wxArrayInt2PyList_helper(self
->GetSelections());
3338 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
){
3339 return new wxSingleChoiceDialog(parent
, message
, caption
,
3340 choices
, choices_array
, NULL
, style
, pos
);
3342 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3344 SWIGINTERNINLINE PyObject
*
3345 SWIG_From_bool (bool value
)
3347 return PyBool_FromLong(value
? 1 : 0);
3353 // C++ version of Python aware wxWindow
3354 class wxPyWindow
: public wxWindow
3356 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3358 wxPyWindow() : wxWindow() {}
3359 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3360 const wxPoint
& pos
= wxDefaultPosition
,
3361 const wxSize
& size
= wxDefaultSize
,
3363 const wxString
& name
= wxPyPanelNameStr
)
3364 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3367 bool DoEraseBackground(wxDC
* dc
) {
3369 return wxWindow::DoEraseBackground(dc
->GetHDC());
3371 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3377 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3378 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3380 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3386 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3387 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3389 DEC_PYCALLBACK__(InitDialog
);
3390 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3391 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3392 DEC_PYCALLBACK_BOOL_(Validate
);
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3395 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3396 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3398 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3399 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3401 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3402 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3404 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3406 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3411 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3413 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3414 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3415 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3416 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3422 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3423 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3425 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3426 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3427 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3428 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3430 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3431 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3432 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3434 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3435 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3437 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3438 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3440 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3442 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3444 // C++ version of Python aware wxPanel
3445 class wxPyPanel
: public wxPanel
3447 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3449 wxPyPanel() : wxPanel() {}
3450 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3451 const wxPoint
& pos
= wxDefaultPosition
,
3452 const wxSize
& size
= wxDefaultSize
,
3454 const wxString
& name
= wxPyPanelNameStr
)
3455 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3457 bool DoEraseBackground(wxDC
* dc
) {
3459 return wxWindow::DoEraseBackground(dc
->GetHDC());
3461 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3468 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3469 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3477 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3478 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3480 DEC_PYCALLBACK__(InitDialog
);
3481 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3482 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3483 DEC_PYCALLBACK_BOOL_(Validate
);
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3487 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3489 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3490 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3492 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3493 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3495 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3497 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3502 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3504 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3505 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3506 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3513 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3514 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3516 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3517 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3518 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3519 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3521 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3522 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3523 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3525 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3528 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3529 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3531 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3533 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3535 // C++ version of Python aware wxScrolledWindow
3536 class wxPyScrolledWindow
: public wxScrolledWindow
3538 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3540 wxPyScrolledWindow() : wxScrolledWindow() {}
3541 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3542 const wxPoint
& pos
= wxDefaultPosition
,
3543 const wxSize
& size
= wxDefaultSize
,
3545 const wxString
& name
= wxPyPanelNameStr
)
3546 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3548 bool DoEraseBackground(wxDC
* dc
) {
3550 return wxWindow::DoEraseBackground(dc
->GetHDC());
3552 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3558 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3559 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3561 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3565 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3567 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3568 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3570 DEC_PYCALLBACK__(InitDialog
);
3571 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3572 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3573 DEC_PYCALLBACK_BOOL_(Validate
);
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3576 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3577 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3579 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3580 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3582 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3583 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3585 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3587 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3592 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3594 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3595 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3596 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3597 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3599 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3600 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3601 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3603 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3604 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3606 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3607 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3608 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3609 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3611 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3612 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3613 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3615 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3616 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3618 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3619 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3621 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3623 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3626 #include "wx/wxPython/printfw.h"
3629 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3630 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3631 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3633 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3634 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3635 self
->GetPrivDataLen());
3636 wxPyEndBlockThreads(blocked
);
3639 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3640 if (! PyString_Check(data
)) {
3641 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3642 "Expected string object"));
3646 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3647 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3648 wxPyEndBlockThreads(blocked
);
3652 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3654 // Since this one would be tough and ugly to do with the Macros...
3655 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3656 bool hadErr
= false;
3659 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3660 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3661 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3662 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3665 val
= PyTuple_GetItem(result
, 0);
3666 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3669 val
= PyTuple_GetItem(result
, 1);
3670 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3673 val
= PyTuple_GetItem(result
, 2);
3674 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3677 val
= PyTuple_GetItem(result
, 3);
3678 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3685 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3690 wxPyEndBlockThreads(blocked
);
3692 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3697 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3698 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3699 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3700 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3701 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3702 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3703 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3709 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3710 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3713 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3714 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3717 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3719 PyObject* win = wxPyMake_wxObject(a,false); \
3720 PyObject* dc = wxPyMake_wxObject(&b,false); \
3721 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3725 wxPyEndBlockThreads(blocked); \
3727 rval = PCLASS::CBNAME(a, b); \
3734 class wxPyPrintPreview
: public wxPrintPreview
3736 DECLARE_CLASS(wxPyPrintPreview
)
3738 wxPyPrintPreview(wxPyPrintout
* printout
,
3739 wxPyPrintout
* printoutForPrinting
,
3740 wxPrintDialogData
* data
=NULL
)
3741 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3743 wxPyPrintPreview(wxPyPrintout
* printout
,
3744 wxPyPrintout
* printoutForPrinting
,
3746 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3749 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3751 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3752 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3753 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3754 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3755 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3760 // Stupid renamed classes... Fix this in 2.5...
3761 #if defined(__WXMSW__)
3762 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3763 #elif defined(__WXMAC__)
3764 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3766 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3769 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3770 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3771 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3772 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3773 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3774 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3775 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3778 class wxPyPreviewFrame
: public wxPreviewFrame
3780 DECLARE_CLASS(wxPyPreviewFrame
)
3782 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3783 const wxString
& title
,
3784 const wxPoint
& pos
= wxDefaultPosition
,
3785 const wxSize
& size
= wxDefaultSize
,
3786 long style
= wxDEFAULT_FRAME_STYLE
,
3787 const wxString
& name
= wxPyFrameNameStr
)
3788 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3791 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3792 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3794 DEC_PYCALLBACK_VOID_(Initialize
);
3795 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3796 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3801 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3803 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3804 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3805 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3808 class wxPyPreviewControlBar
: public wxPreviewControlBar
3810 DECLARE_CLASS(wxPyPreviewControlBar
)
3812 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3815 const wxPoint
& pos
= wxDefaultPosition
,
3816 const wxSize
& size
= wxDefaultSize
,
3818 const wxString
& name
= wxPyPanelNameStr
)
3819 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3822 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3824 DEC_PYCALLBACK_VOID_(CreateButtons
);
3825 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3830 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3831 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3832 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3837 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
= 0;
3839 wxWindow
*arg1
= (wxWindow
*) 0 ;
3840 int arg2
= (int) (int)-1 ;
3841 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3842 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3843 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3844 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3845 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3846 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3847 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3848 wxPanel
*result
= 0 ;
3857 bool temp6
= false ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3860 PyObject
* obj2
= 0 ;
3861 PyObject
* obj3
= 0 ;
3862 PyObject
* obj4
= 0 ;
3863 PyObject
* obj5
= 0 ;
3864 char * kwnames
[] = {
3865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3870 if (!SWIG_IsOK(res1
)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3876 if (!SWIG_IsOK(ecode2
)) {
3877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3879 arg2
= static_cast< int >(val2
);
3884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3890 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3894 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3895 if (!SWIG_IsOK(ecode5
)) {
3896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3898 arg5
= static_cast< long >(val5
);
3902 arg6
= wxString_in_helper(obj5
);
3903 if (arg6
== NULL
) SWIG_fail
;
3908 if (!wxPyCheckForApp()) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3929 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3930 PyObject
*resultobj
= 0;
3931 wxPanel
*result
= 0 ;
3933 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3935 if (!wxPyCheckForApp()) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (wxPanel
*)new wxPanel();
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3948 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
= 0;
3950 wxPanel
*arg1
= (wxPanel
*) 0 ;
3951 wxWindow
*arg2
= (wxWindow
*) 0 ;
3952 int arg3
= (int) (int)-1 ;
3953 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3954 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3955 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3956 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3957 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3958 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3959 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3971 bool temp7
= false ;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3974 PyObject
* obj2
= 0 ;
3975 PyObject
* obj3
= 0 ;
3976 PyObject
* obj4
= 0 ;
3977 PyObject
* obj5
= 0 ;
3978 PyObject
* obj6
= 0 ;
3979 char * kwnames
[] = {
3980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3985 if (!SWIG_IsOK(res1
)) {
3986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3988 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3990 if (!SWIG_IsOK(res2
)) {
3991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3996 if (!SWIG_IsOK(ecode3
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3999 arg3
= static_cast< int >(val3
);
4004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4014 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4015 if (!SWIG_IsOK(ecode6
)) {
4016 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4018 arg6
= static_cast< long >(val6
);
4022 arg7
= wxString_in_helper(obj6
);
4023 if (arg7
== NULL
) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4050 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4051 PyObject
*resultobj
= 0;
4052 wxPanel
*arg1
= (wxPanel
*) 0 ;
4055 PyObject
*swig_obj
[1] ;
4057 if (!args
) SWIG_fail
;
4059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
4060 if (!SWIG_IsOK(res1
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4063 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetFocusIgnoringChildren();
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_Py_Void();
4077 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
= 0;
4079 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4080 SwigValueWrapper
<wxVisualAttributes
> result
;
4083 PyObject
* obj0
= 0 ;
4084 char * kwnames
[] = {
4085 (char *) "variant", NULL
4088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4090 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4091 if (!SWIG_IsOK(ecode1
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4094 arg1
= static_cast< wxWindowVariant
>(val1
);
4097 if (!wxPyCheckForApp()) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4110 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4114 return SWIG_Py_Void();
4117 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4118 return SWIG_Python_InitShadowInstance(args
);
4121 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
= 0;
4123 wxWindow
*arg1
= (wxWindow
*) 0 ;
4124 int arg2
= (int) (int)-1 ;
4125 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4126 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4127 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4128 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4129 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4130 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4131 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4132 wxScrolledWindow
*result
= 0 ;
4141 bool temp6
= false ;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4144 PyObject
* obj2
= 0 ;
4145 PyObject
* obj3
= 0 ;
4146 PyObject
* obj4
= 0 ;
4147 PyObject
* obj5
= 0 ;
4148 char * kwnames
[] = {
4149 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4154 if (!SWIG_IsOK(res1
)) {
4155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4160 if (!SWIG_IsOK(ecode2
)) {
4161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4163 arg2
= static_cast< int >(val2
);
4168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4178 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4179 if (!SWIG_IsOK(ecode5
)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4182 arg5
= static_cast< long >(val5
);
4186 arg6
= wxString_in_helper(obj5
);
4187 if (arg6
== NULL
) SWIG_fail
;
4192 if (!wxPyCheckForApp()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4213 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4214 PyObject
*resultobj
= 0;
4215 wxScrolledWindow
*result
= 0 ;
4217 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4219 if (!wxPyCheckForApp()) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4232 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4235 wxWindow
*arg2
= (wxWindow
*) 0 ;
4236 int arg3
= (int) (int)-1 ;
4237 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4238 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4239 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4240 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4241 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4242 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4243 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4255 bool temp7
= false ;
4256 PyObject
* obj0
= 0 ;
4257 PyObject
* obj1
= 0 ;
4258 PyObject
* obj2
= 0 ;
4259 PyObject
* obj3
= 0 ;
4260 PyObject
* obj4
= 0 ;
4261 PyObject
* obj5
= 0 ;
4262 PyObject
* obj6
= 0 ;
4263 char * kwnames
[] = {
4264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4269 if (!SWIG_IsOK(res1
)) {
4270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4272 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4274 if (!SWIG_IsOK(res2
)) {
4275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4277 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4280 if (!SWIG_IsOK(ecode3
)) {
4281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4283 arg3
= static_cast< int >(val3
);
4288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4298 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4299 if (!SWIG_IsOK(ecode6
)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4302 arg6
= static_cast< long >(val6
);
4306 arg7
= wxString_in_helper(obj6
);
4307 if (arg7
== NULL
) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4334 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
= 0;
4336 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4341 int arg6
= (int) 0 ;
4342 int arg7
= (int) 0 ;
4343 bool arg8
= (bool) false ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 PyObject
* obj2
= 0 ;
4363 PyObject
* obj3
= 0 ;
4364 PyObject
* obj4
= 0 ;
4365 PyObject
* obj5
= 0 ;
4366 PyObject
* obj6
= 0 ;
4367 PyObject
* obj7
= 0 ;
4368 char * kwnames
[] = {
4369 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4377 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4379 if (!SWIG_IsOK(ecode2
)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4382 arg2
= static_cast< int >(val2
);
4383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4384 if (!SWIG_IsOK(ecode3
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4387 arg3
= static_cast< int >(val3
);
4388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4389 if (!SWIG_IsOK(ecode4
)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4392 arg4
= static_cast< int >(val4
);
4393 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4394 if (!SWIG_IsOK(ecode5
)) {
4395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4397 arg5
= static_cast< int >(val5
);
4399 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4400 if (!SWIG_IsOK(ecode6
)) {
4401 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4403 arg6
= static_cast< int >(val6
);
4406 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4407 if (!SWIG_IsOK(ecode7
)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4410 arg7
= static_cast< int >(val7
);
4413 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4414 if (!SWIG_IsOK(ecode8
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4417 arg8
= static_cast< bool >(val8
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_Py_Void();
4432 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "x",(char *) "y", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4465 arg3
= static_cast< int >(val3
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->Scroll(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4490 char * kwnames
[] = {
4491 (char *) "self",(char *) "orient", NULL
4494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4499 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4501 if (!SWIG_IsOK(ecode2
)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4504 arg2
= static_cast< int >(val2
);
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_From_int(static_cast< int >(result
));
4518 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
= 0;
4520 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4531 PyObject
* obj2
= 0 ;
4532 char * kwnames
[] = {
4533 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4538 if (!SWIG_IsOK(res1
)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4541 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4543 if (!SWIG_IsOK(ecode2
)) {
4544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4546 arg2
= static_cast< int >(val2
);
4547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4548 if (!SWIG_IsOK(ecode3
)) {
4549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4551 arg3
= static_cast< int >(val3
);
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_Py_Void();
4565 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
= 0;
4567 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4578 PyObject
* obj2
= 0 ;
4579 char * kwnames
[] = {
4580 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4585 if (!SWIG_IsOK(res1
)) {
4586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4588 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4590 if (!SWIG_IsOK(ecode2
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4593 arg2
= static_cast< int >(val2
);
4594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4595 if (!SWIG_IsOK(ecode3
)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4598 arg3
= static_cast< int >(val3
);
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 (arg1
)->SetScrollRate(arg2
,arg3
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_Py_Void();
4612 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4613 PyObject
*resultobj
= 0;
4614 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4615 int *arg2
= (int *) 0 ;
4616 int *arg3
= (int *) 0 ;
4620 int res2
= SWIG_TMPOBJ
;
4622 int res3
= SWIG_TMPOBJ
;
4623 PyObject
*swig_obj
[1] ;
4627 if (!args
) SWIG_fail
;
4629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4630 if (!SWIG_IsOK(res1
)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4633 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= SWIG_Py_Void();
4641 if (SWIG_IsTmpObj(res2
)) {
4642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4644 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4647 if (SWIG_IsTmpObj(res3
)) {
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4650 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4659 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
= 0;
4661 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 char * kwnames
[] = {
4674 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4679 if (!SWIG_IsOK(res1
)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4682 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4683 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4684 if (!SWIG_IsOK(ecode2
)) {
4685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4687 arg2
= static_cast< bool >(val2
);
4688 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4689 if (!SWIG_IsOK(ecode3
)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4692 arg3
= static_cast< bool >(val3
);
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 (arg1
)->EnableScrolling(arg2
,arg3
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= SWIG_Py_Void();
4706 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 PyObject
*resultobj
= 0;
4708 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4709 int *arg2
= (int *) 0 ;
4710 int *arg3
= (int *) 0 ;
4714 int res2
= SWIG_TMPOBJ
;
4716 int res3
= SWIG_TMPOBJ
;
4717 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_Py_Void();
4735 if (SWIG_IsTmpObj(res2
)) {
4736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4738 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4741 if (SWIG_IsTmpObj(res3
)) {
4742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4744 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4753 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
= 0;
4755 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 char * kwnames
[] = {
4768 (char *) "self",(char *) "xs",(char *) "ys", NULL
4771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4773 if (!SWIG_IsOK(res1
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4776 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4777 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4778 if (!SWIG_IsOK(ecode2
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4781 arg2
= static_cast< double >(val2
);
4782 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4783 if (!SWIG_IsOK(ecode3
)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4786 arg3
= static_cast< double >(val3
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 (arg1
)->SetScale(arg2
,arg3
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_Py_Void();
4800 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4814 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_From_double(static_cast< double >(result
));
4828 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4829 PyObject
*resultobj
= 0;
4830 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4834 PyObject
*swig_obj
[1] ;
4836 if (!args
) SWIG_fail
;
4838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4839 if (!SWIG_IsOK(res1
)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4842 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_From_double(static_cast< double >(result
));
4856 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4857 PyObject
*resultobj
= 0;
4858 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4865 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4867 if (!SWIG_IsOK(res1
)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4870 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4873 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4888 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4889 PyObject
*resultobj
= 0;
4890 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4893 int *arg4
= (int *) 0 ;
4894 int *arg5
= (int *) 0 ;
4902 int res4
= SWIG_TMPOBJ
;
4904 int res5
= SWIG_TMPOBJ
;
4908 if ((nobjs
< 3) || (nobjs
> 3)) 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_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4913 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4914 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4915 if (!SWIG_IsOK(ecode2
)) {
4916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4918 arg2
= static_cast< int >(val2
);
4919 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4920 if (!SWIG_IsOK(ecode3
)) {
4921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4923 arg3
= static_cast< int >(val3
);
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_Py_Void();
4931 if (SWIG_IsTmpObj(res4
)) {
4932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4934 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4937 if (SWIG_IsTmpObj(res5
)) {
4938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4940 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4949 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4953 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4956 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4959 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4963 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4968 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4969 PyObject
*resultobj
= 0;
4970 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4977 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4982 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4985 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5000 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
5001 PyObject
*resultobj
= 0;
5002 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5005 int *arg4
= (int *) 0 ;
5006 int *arg5
= (int *) 0 ;
5014 int res4
= SWIG_TMPOBJ
;
5016 int res5
= SWIG_TMPOBJ
;
5020 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
5021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5022 if (!SWIG_IsOK(res1
)) {
5023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5025 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5026 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5027 if (!SWIG_IsOK(ecode2
)) {
5028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5030 arg2
= static_cast< int >(val2
);
5031 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
5032 if (!SWIG_IsOK(ecode3
)) {
5033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5035 arg3
= static_cast< int >(val3
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_Py_Void();
5043 if (SWIG_IsTmpObj(res4
)) {
5044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
5046 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
5049 if (SWIG_IsTmpObj(res5
)) {
5050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
5052 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
5061 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
5065 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
5068 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5071 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5075 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5080 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5081 PyObject
*resultobj
= 0;
5082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5085 PyObject
*swig_obj
[1] ;
5087 if (!args
) SWIG_fail
;
5089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5090 if (!SWIG_IsOK(res1
)) {
5091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5093 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 (arg1
)->AdjustScrollbars();
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= SWIG_Py_Void();
5107 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
= 0;
5109 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5110 wxScrollWinEvent
*arg2
= 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 char * kwnames
[] = {
5119 (char *) "self",(char *) "event", NULL
5122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5124 if (!SWIG_IsOK(res1
)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5127 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5129 if (!SWIG_IsOK(res2
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5135 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_From_int(static_cast< int >(result
));
5149 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
= 0;
5151 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5152 wxWindow
*arg2
= (wxWindow
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5159 char * kwnames
[] = {
5160 (char *) "self",(char *) "target", NULL
5163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5165 if (!SWIG_IsOK(res1
)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5168 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5170 if (!SWIG_IsOK(res2
)) {
5171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5173 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->SetTargetWindow(arg2
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_Py_Void();
5187 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5188 PyObject
*resultobj
= 0;
5189 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5190 wxWindow
*result
= 0 ;
5193 PyObject
*swig_obj
[1] ;
5195 if (!args
) SWIG_fail
;
5197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5198 if (!SWIG_IsOK(res1
)) {
5199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5201 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= wxPyMake_wxObject(result
, 0);
5217 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
= 0;
5219 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5225 PyObject
* obj1
= 0 ;
5226 char * kwnames
[] = {
5227 (char *) "self",(char *) "rect", NULL
5230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5235 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5238 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_Py_Void();
5253 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5254 PyObject
*resultobj
= 0;
5255 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5259 PyObject
*swig_obj
[1] ;
5261 if (!args
) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5267 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5281 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
= 0;
5283 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5291 char * kwnames
[] = {
5292 (char *) "self",(char *) "dc", NULL
5295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5297 if (!SWIG_IsOK(res1
)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5300 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5302 if (!SWIG_IsOK(res2
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5308 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 (arg1
)->DoPrepareDC(*arg2
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_Py_Void();
5322 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
= 0;
5324 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5325 SwigValueWrapper
<wxVisualAttributes
> result
;
5328 PyObject
* obj0
= 0 ;
5329 char * kwnames
[] = {
5330 (char *) "variant", NULL
5333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5335 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5336 if (!SWIG_IsOK(ecode1
)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5339 arg1
= static_cast< wxWindowVariant
>(val1
);
5342 if (!wxPyCheckForApp()) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5355 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5358 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5359 return SWIG_Py_Void();
5362 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5363 return SWIG_Python_InitShadowInstance(args
);
5366 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5367 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5372 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5373 PyObject
*pyobj
= 0;
5377 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5379 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5386 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5387 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5392 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5393 PyObject
*pyobj
= 0;
5397 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5399 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5406 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5407 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5412 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5413 PyObject
*pyobj
= 0;
5417 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5419 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5426 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5427 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5432 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5433 PyObject
*pyobj
= 0;
5437 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5439 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5446 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
= 0;
5448 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5449 bool arg2
= (bool) true ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 char * kwnames
[] = {
5457 (char *) "self",(char *) "maximize", NULL
5460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5465 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5467 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5468 if (!SWIG_IsOK(ecode2
)) {
5469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5471 arg2
= static_cast< bool >(val2
);
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 (arg1
)->Maximize(arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_Py_Void();
5486 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5487 PyObject
*resultobj
= 0;
5488 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5491 PyObject
*swig_obj
[1] ;
5493 if (!args
) SWIG_fail
;
5495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5496 if (!SWIG_IsOK(res1
)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5499 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_Py_Void();
5513 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
= 0;
5515 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5516 bool arg2
= (bool) true ;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5523 char * kwnames
[] = {
5524 (char *) "self",(char *) "iconize", NULL
5527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5529 if (!SWIG_IsOK(res1
)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5532 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5534 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5535 if (!SWIG_IsOK(ecode2
)) {
5536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5538 arg2
= static_cast< bool >(val2
);
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 (arg1
)->Iconize(arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= SWIG_Py_Void();
5553 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5554 PyObject
*resultobj
= 0;
5555 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5559 PyObject
*swig_obj
[1] ;
5561 if (!args
) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5567 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5583 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5584 PyObject
*resultobj
= 0;
5585 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5589 PyObject
*swig_obj
[1] ;
5591 if (!args
) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5597 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5613 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5614 PyObject
*resultobj
= 0;
5615 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5619 PyObject
*swig_obj
[1] ;
5621 if (!args
) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5627 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5643 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5644 PyObject
*resultobj
= 0;
5645 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5649 PyObject
*swig_obj
[1] ;
5651 if (!args
) SWIG_fail
;
5653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5654 if (!SWIG_IsOK(res1
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5657 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5671 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
= 0;
5673 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "icon", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5692 if (!SWIG_IsOK(res2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5698 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_Py_Void();
5712 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
= 0;
5714 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5715 wxIconBundle
*arg2
= 0 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5722 char * kwnames
[] = {
5723 (char *) "self",(char *) "icons", NULL
5726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5728 if (!SWIG_IsOK(res1
)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5731 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5733 if (!SWIG_IsOK(res2
)) {
5734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5739 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_Py_Void();
5753 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
= 0;
5755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5757 long arg3
= (long) wxFULLSCREEN_ALL
;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5767 PyObject
* obj2
= 0 ;
5768 char * kwnames
[] = {
5769 (char *) "self",(char *) "show",(char *) "style", NULL
5772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5777 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5779 if (!SWIG_IsOK(ecode2
)) {
5780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5782 arg2
= static_cast< bool >(val2
);
5784 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5785 if (!SWIG_IsOK(ecode3
)) {
5786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5788 arg3
= static_cast< long >(val3
);
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5806 PyObject
*resultobj
= 0;
5807 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5811 PyObject
*swig_obj
[1] ;
5813 if (!args
) SWIG_fail
;
5815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5816 if (!SWIG_IsOK(res1
)) {
5817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5819 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5835 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5838 wxString
*arg2
= 0 ;
5841 bool temp2
= false ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5844 char * kwnames
[] = {
5845 (char *) "self",(char *) "title", NULL
5848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5850 if (!SWIG_IsOK(res1
)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5853 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5855 arg2
= wxString_in_helper(obj1
);
5856 if (arg2
== NULL
) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->SetTitle((wxString
const &)*arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_Py_Void();
5880 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5881 PyObject
*resultobj
= 0;
5882 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5886 PyObject
*swig_obj
[1] ;
5888 if (!args
) SWIG_fail
;
5890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5891 if (!SWIG_IsOK(res1
)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5894 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5914 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
= 0;
5916 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5925 char * kwnames
[] = {
5926 (char *) "self",(char *) "enable", NULL
5929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5931 if (!SWIG_IsOK(res1
)) {
5932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5934 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5936 if (!SWIG_IsOK(ecode2
)) {
5937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5939 arg2
= static_cast< bool >(val2
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5955 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
= 0;
5957 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5958 wxRegion
*arg2
= 0 ;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5966 char * kwnames
[] = {
5967 (char *) "self",(char *) "region", NULL
5970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5977 if (!SWIG_IsOK(res2
)) {
5978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5983 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5999 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
= 0;
6001 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6002 int arg2
= (int) wxUSER_ATTENTION_INFO
;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 char * kwnames
[] = {
6010 (char *) "self",(char *) "flags", NULL
6013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6015 if (!SWIG_IsOK(res1
)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6018 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6021 if (!SWIG_IsOK(ecode2
)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
6024 arg2
= static_cast< int >(val2
);
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 (arg1
)->RequestUserAttention(arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_Py_Void();
6039 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6040 PyObject
*resultobj
= 0;
6041 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6045 PyObject
*swig_obj
[1] ;
6047 if (!args
) SWIG_fail
;
6049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6050 if (!SWIG_IsOK(res1
)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6053 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)(arg1
)->IsActive();
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6069 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
= 0;
6071 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6078 PyObject
* obj1
= 0 ;
6079 char * kwnames
[] = {
6080 (char *) "self",(char *) "on", NULL
6083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6085 if (!SWIG_IsOK(res1
)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6088 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_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6093 arg2
= static_cast< bool >(val2
);
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_Py_Void();
6107 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6108 PyObject
*resultobj
= 0;
6109 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6113 PyObject
*swig_obj
[1] ;
6115 if (!args
) SWIG_fail
;
6117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6118 if (!SWIG_IsOK(res1
)) {
6119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6121 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6137 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6139 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6140 int arg2
= (int) wxBOTH
;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 char * kwnames
[] = {
6148 (char *) "self",(char *) "dir", NULL
6151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6156 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6159 if (!SWIG_IsOK(ecode2
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6162 arg2
= static_cast< int >(val2
);
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 (arg1
)->CenterOnScreen(arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_Py_Void();
6177 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6178 PyObject
*resultobj
= 0;
6179 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6180 wxWindow
*result
= 0 ;
6183 PyObject
*swig_obj
[1] ;
6185 if (!args
) SWIG_fail
;
6187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6188 if (!SWIG_IsOK(res1
)) {
6189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6191 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= wxPyMake_wxObject(result
, 0);
6207 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
= 0;
6209 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6210 wxWindow
*arg2
= (wxWindow
*) 0 ;
6211 wxWindow
*result
= 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 char * kwnames
[] = {
6219 (char *) "self",(char *) "child", NULL
6222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6224 if (!SWIG_IsOK(res1
)) {
6225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6227 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6229 if (!SWIG_IsOK(res2
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6232 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= wxPyMake_wxObject(result
, 0);
6248 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
= 0;
6250 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6251 wxWindow
*arg2
= (wxWindow
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6258 char * kwnames
[] = {
6259 (char *) "self",(char *) "win", NULL
6262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6264 if (!SWIG_IsOK(res1
)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6267 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6269 if (!SWIG_IsOK(res2
)) {
6270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 (arg1
)->SetTmpDefaultItem(arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_Py_Void();
6286 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6287 PyObject
*resultobj
= 0;
6288 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6289 wxWindow
*result
= 0 ;
6292 PyObject
*swig_obj
[1] ;
6294 if (!args
) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6300 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= wxPyMake_wxObject(result
, 0);
6316 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6319 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6320 return SWIG_Py_Void();
6323 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
= 0;
6325 wxWindow
*arg1
= (wxWindow
*) 0 ;
6326 int arg2
= (int) (int)-1 ;
6327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6333 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6334 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6335 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6336 wxFrame
*result
= 0 ;
6341 bool temp3
= false ;
6346 bool temp7
= false ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6349 PyObject
* obj2
= 0 ;
6350 PyObject
* obj3
= 0 ;
6351 PyObject
* obj4
= 0 ;
6352 PyObject
* obj5
= 0 ;
6353 PyObject
* obj6
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6366 if (!SWIG_IsOK(ecode2
)) {
6367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6369 arg2
= static_cast< int >(val2
);
6373 arg3
= wxString_in_helper(obj2
);
6374 if (arg3
== NULL
) SWIG_fail
;
6381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6391 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6392 if (!SWIG_IsOK(ecode6
)) {
6393 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6395 arg6
= static_cast< long >(val6
);
6399 arg7
= wxString_in_helper(obj6
);
6400 if (arg7
== NULL
) SWIG_fail
;
6405 if (!wxPyCheckForApp()) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6434 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6435 PyObject
*resultobj
= 0;
6436 wxFrame
*result
= 0 ;
6438 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6440 if (!wxPyCheckForApp()) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (wxFrame
*)new wxFrame();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6453 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
= 0;
6455 wxFrame
*arg1
= (wxFrame
*) 0 ;
6456 wxWindow
*arg2
= (wxWindow
*) 0 ;
6457 int arg3
= (int) (int)-1 ;
6458 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6459 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6464 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6465 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6474 bool temp4
= false ;
6479 bool temp8
= false ;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6482 PyObject
* obj2
= 0 ;
6483 PyObject
* obj3
= 0 ;
6484 PyObject
* obj4
= 0 ;
6485 PyObject
* obj5
= 0 ;
6486 PyObject
* obj6
= 0 ;
6487 PyObject
* obj7
= 0 ;
6488 char * kwnames
[] = {
6489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6497 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6499 if (!SWIG_IsOK(res2
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6502 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6505 if (!SWIG_IsOK(ecode3
)) {
6506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6508 arg3
= static_cast< int >(val3
);
6512 arg4
= wxString_in_helper(obj3
);
6513 if (arg4
== NULL
) SWIG_fail
;
6520 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6526 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6530 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6531 if (!SWIG_IsOK(ecode7
)) {
6532 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6534 arg7
= static_cast< long >(val7
);
6538 arg8
= wxString_in_helper(obj7
);
6539 if (arg8
== NULL
) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6574 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6575 PyObject
*resultobj
= 0;
6576 wxFrame
*arg1
= (wxFrame
*) 0 ;
6579 PyObject
*swig_obj
[1] ;
6581 if (!args
) SWIG_fail
;
6583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6584 if (!SWIG_IsOK(res1
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6587 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->SendSizeEvent();
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= SWIG_Py_Void();
6601 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
= 0;
6603 wxFrame
*arg1
= (wxFrame
*) 0 ;
6604 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 char * kwnames
[] = {
6612 (char *) "self",(char *) "menubar", NULL
6615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6617 if (!SWIG_IsOK(res1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6620 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6622 if (!SWIG_IsOK(res2
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6625 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 (arg1
)->SetMenuBar(arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_Py_Void();
6639 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6640 PyObject
*resultobj
= 0;
6641 wxFrame
*arg1
= (wxFrame
*) 0 ;
6642 wxMenuBar
*result
= 0 ;
6645 PyObject
*swig_obj
[1] ;
6647 if (!args
) SWIG_fail
;
6649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6650 if (!SWIG_IsOK(res1
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6653 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= wxPyMake_wxObject(result
, 0);
6669 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
= 0;
6671 wxFrame
*arg1
= (wxFrame
*) 0 ;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6680 char * kwnames
[] = {
6681 (char *) "self",(char *) "winid", NULL
6684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6689 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6691 if (!SWIG_IsOK(ecode2
)) {
6692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6694 arg2
= static_cast< int >(val2
);
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6710 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
= 0;
6712 wxFrame
*arg1
= (wxFrame
*) 0 ;
6713 int arg2
= (int) 1 ;
6714 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6715 int arg4
= (int) 0 ;
6716 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6717 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6718 wxStatusBar
*result
= 0 ;
6727 bool temp5
= false ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6730 PyObject
* obj2
= 0 ;
6731 PyObject
* obj3
= 0 ;
6732 PyObject
* obj4
= 0 ;
6733 char * kwnames
[] = {
6734 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6742 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6745 if (!SWIG_IsOK(ecode2
)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6748 arg2
= static_cast< int >(val2
);
6751 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6752 if (!SWIG_IsOK(ecode3
)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6755 arg3
= static_cast< long >(val3
);
6758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6759 if (!SWIG_IsOK(ecode4
)) {
6760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6762 arg4
= static_cast< int >(val4
);
6766 arg5
= wxString_in_helper(obj4
);
6767 if (arg5
== NULL
) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6794 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6795 PyObject
*resultobj
= 0;
6796 wxFrame
*arg1
= (wxFrame
*) 0 ;
6797 wxStatusBar
*result
= 0 ;
6800 PyObject
*swig_obj
[1] ;
6802 if (!args
) SWIG_fail
;
6804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6805 if (!SWIG_IsOK(res1
)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6808 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6824 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
= 0;
6826 wxFrame
*arg1
= (wxFrame
*) 0 ;
6827 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "self",(char *) "statBar", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6843 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6845 if (!SWIG_IsOK(res2
)) {
6846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6848 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 (arg1
)->SetStatusBar(arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_Py_Void();
6862 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
= 0;
6864 wxFrame
*arg1
= (wxFrame
*) 0 ;
6865 wxString
*arg2
= 0 ;
6866 int arg3
= (int) 0 ;
6869 bool temp2
= false ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6874 PyObject
* obj2
= 0 ;
6875 char * kwnames
[] = {
6876 (char *) "self",(char *) "text",(char *) "number", NULL
6879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6881 if (!SWIG_IsOK(res1
)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6884 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6886 arg2
= wxString_in_helper(obj1
);
6887 if (arg2
== NULL
) SWIG_fail
;
6891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6892 if (!SWIG_IsOK(ecode3
)) {
6893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6895 arg3
= static_cast< int >(val3
);
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= SWIG_Py_Void();
6918 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
= 0;
6920 wxFrame
*arg1
= (wxFrame
*) 0 ;
6922 int *arg3
= (int *) 0 ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 char * kwnames
[] = {
6928 (char *) "self",(char *) "widths", NULL
6931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6933 if (!SWIG_IsOK(res1
)) {
6934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6936 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6938 arg2
= PyList_Size(obj1
);
6939 arg3
= int_LIST_helper(obj1
);
6940 if (arg3
== NULL
) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_Py_Void();
6950 if (arg3
) delete [] arg3
;
6955 if (arg3
) delete [] arg3
;
6961 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
= 0;
6963 wxFrame
*arg1
= (wxFrame
*) 0 ;
6964 wxString
*arg2
= 0 ;
6965 int arg3
= (int) 0 ;
6968 bool temp2
= false ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6973 PyObject
* obj2
= 0 ;
6974 char * kwnames
[] = {
6975 (char *) "self",(char *) "text",(char *) "number", NULL
6978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6980 if (!SWIG_IsOK(res1
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6983 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6985 arg2
= wxString_in_helper(obj1
);
6986 if (arg2
== NULL
) SWIG_fail
;
6990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6991 if (!SWIG_IsOK(ecode3
)) {
6992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6994 arg3
= static_cast< int >(val3
);
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxFrame
*arg1
= (wxFrame
*) 0 ;
7020 int arg2
= (int) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "number", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7036 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7039 if (!SWIG_IsOK(ecode2
)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7042 arg2
= static_cast< int >(val2
);
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->PopStatusText(arg2
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_Py_Void();
7057 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= 0;
7059 wxFrame
*arg1
= (wxFrame
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7067 char * kwnames
[] = {
7068 (char *) "self",(char *) "n", NULL
7071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7073 if (!SWIG_IsOK(res1
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7076 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7078 if (!SWIG_IsOK(ecode2
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7081 arg2
= static_cast< int >(val2
);
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 (arg1
)->SetStatusBarPane(arg2
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= SWIG_Py_Void();
7095 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7096 PyObject
*resultobj
= 0;
7097 wxFrame
*arg1
= (wxFrame
*) 0 ;
7101 PyObject
*swig_obj
[1] ;
7103 if (!args
) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7109 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_From_int(static_cast< int >(result
));
7123 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
= 0;
7125 wxFrame
*arg1
= (wxFrame
*) 0 ;
7126 long arg2
= (long) -1 ;
7127 int arg3
= (int) -1 ;
7128 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7129 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7130 wxToolBar
*result
= 0 ;
7137 bool temp4
= false ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 PyObject
* obj2
= 0 ;
7141 PyObject
* obj3
= 0 ;
7142 char * kwnames
[] = {
7143 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7148 if (!SWIG_IsOK(res1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7151 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7153 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7154 if (!SWIG_IsOK(ecode2
)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7157 arg2
= static_cast< long >(val2
);
7160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7161 if (!SWIG_IsOK(ecode3
)) {
7162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7164 arg3
= static_cast< int >(val3
);
7168 arg4
= wxString_in_helper(obj3
);
7169 if (arg4
== NULL
) SWIG_fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7196 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxFrame
*arg1
= (wxFrame
*) 0 ;
7199 wxToolBar
*result
= 0 ;
7202 PyObject
*swig_obj
[1] ;
7204 if (!args
) SWIG_fail
;
7206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7207 if (!SWIG_IsOK(res1
)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7210 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7226 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
= 0;
7228 wxFrame
*arg1
= (wxFrame
*) 0 ;
7229 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7236 char * kwnames
[] = {
7237 (char *) "self",(char *) "toolbar", NULL
7240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7242 if (!SWIG_IsOK(res1
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7245 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7247 if (!SWIG_IsOK(res2
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7250 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 (arg1
)->SetToolBar(arg2
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_Py_Void();
7264 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
= 0;
7266 wxFrame
*arg1
= (wxFrame
*) 0 ;
7267 wxString
*arg2
= 0 ;
7271 bool temp2
= false ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 PyObject
* obj2
= 0 ;
7277 char * kwnames
[] = {
7278 (char *) "self",(char *) "text",(char *) "show", NULL
7281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7283 if (!SWIG_IsOK(res1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7286 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7288 arg2
= wxString_in_helper(obj1
);
7289 if (arg2
== NULL
) SWIG_fail
;
7292 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7293 if (!SWIG_IsOK(ecode3
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7296 arg3
= static_cast< bool >(val3
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7318 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
= 0;
7320 wxFrame
*arg1
= (wxFrame
*) 0 ;
7321 wxMenu
*arg2
= (wxMenu
*) NULL
;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7328 char * kwnames
[] = {
7329 (char *) "self",(char *) "menu", NULL
7332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7334 if (!SWIG_IsOK(res1
)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7337 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7340 if (!SWIG_IsOK(res2
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7343 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->DoMenuUpdates(arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_Py_Void();
7358 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
= 0;
7360 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7361 SwigValueWrapper
<wxVisualAttributes
> result
;
7364 PyObject
* obj0
= 0 ;
7365 char * kwnames
[] = {
7366 (char *) "variant", NULL
7369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7372 if (!SWIG_IsOK(ecode1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7375 arg1
= static_cast< wxWindowVariant
>(val1
);
7378 if (!wxPyCheckForApp()) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7391 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7394 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7395 return SWIG_Py_Void();
7398 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7399 return SWIG_Python_InitShadowInstance(args
);
7402 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
= 0;
7404 wxWindow
*arg1
= (wxWindow
*) 0 ;
7405 int arg2
= (int) (int)-1 ;
7406 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7407 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7412 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7413 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7415 wxDialog
*result
= 0 ;
7420 bool temp3
= false ;
7425 bool temp7
= false ;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7428 PyObject
* obj2
= 0 ;
7429 PyObject
* obj3
= 0 ;
7430 PyObject
* obj4
= 0 ;
7431 PyObject
* obj5
= 0 ;
7432 PyObject
* obj6
= 0 ;
7433 char * kwnames
[] = {
7434 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7439 if (!SWIG_IsOK(res1
)) {
7440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7445 if (!SWIG_IsOK(ecode2
)) {
7446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7448 arg2
= static_cast< int >(val2
);
7452 arg3
= wxString_in_helper(obj2
);
7453 if (arg3
== NULL
) SWIG_fail
;
7460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7471 if (!SWIG_IsOK(ecode6
)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7474 arg6
= static_cast< long >(val6
);
7478 arg7
= wxString_in_helper(obj6
);
7479 if (arg7
== NULL
) SWIG_fail
;
7484 if (!wxPyCheckForApp()) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7513 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7514 PyObject
*resultobj
= 0;
7515 wxDialog
*result
= 0 ;
7517 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7519 if (!wxPyCheckForApp()) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (wxDialog
*)new wxDialog();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7532 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
= 0;
7534 wxDialog
*arg1
= (wxDialog
*) 0 ;
7535 wxWindow
*arg2
= (wxWindow
*) 0 ;
7536 int arg3
= (int) (int)-1 ;
7537 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7539 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7540 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7541 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7542 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7543 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7544 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7545 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7553 bool temp4
= false ;
7558 bool temp8
= false ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7562 PyObject
* obj3
= 0 ;
7563 PyObject
* obj4
= 0 ;
7564 PyObject
* obj5
= 0 ;
7565 PyObject
* obj6
= 0 ;
7566 PyObject
* obj7
= 0 ;
7567 char * kwnames
[] = {
7568 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7573 if (!SWIG_IsOK(res1
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7576 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7578 if (!SWIG_IsOK(res2
)) {
7579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7581 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7584 if (!SWIG_IsOK(ecode3
)) {
7585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7587 arg3
= static_cast< int >(val3
);
7591 arg4
= wxString_in_helper(obj3
);
7592 if (arg4
== NULL
) SWIG_fail
;
7599 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7605 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7609 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7610 if (!SWIG_IsOK(ecode7
)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7613 arg7
= static_cast< long >(val7
);
7617 arg8
= wxString_in_helper(obj7
);
7618 if (arg8
== NULL
) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7653 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
= 0;
7655 wxDialog
*arg1
= (wxDialog
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7663 char * kwnames
[] = {
7664 (char *) "self",(char *) "returnCode", NULL
7667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7672 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7674 if (!SWIG_IsOK(ecode2
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7677 arg2
= static_cast< int >(val2
);
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 (arg1
)->SetReturnCode(arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_Py_Void();
7691 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7692 PyObject
*resultobj
= 0;
7693 wxDialog
*arg1
= (wxDialog
*) 0 ;
7697 PyObject
*swig_obj
[1] ;
7699 if (!args
) SWIG_fail
;
7701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7702 if (!SWIG_IsOK(res1
)) {
7703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7705 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_From_int(static_cast< int >(result
));
7719 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
= 0;
7721 wxDialog
*arg1
= (wxDialog
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7729 char * kwnames
[] = {
7730 (char *) "self",(char *) "affirmativeId", NULL
7733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7735 if (!SWIG_IsOK(res1
)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7738 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7740 if (!SWIG_IsOK(ecode2
)) {
7741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7743 arg2
= static_cast< int >(val2
);
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 (arg1
)->SetAffirmativeId(arg2
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= SWIG_Py_Void();
7757 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7758 PyObject
*resultobj
= 0;
7759 wxDialog
*arg1
= (wxDialog
*) 0 ;
7763 PyObject
*swig_obj
[1] ;
7765 if (!args
) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7771 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_From_int(static_cast< int >(result
));
7785 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
= 0;
7787 wxDialog
*arg1
= (wxDialog
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7794 PyObject
* obj1
= 0 ;
7795 char * kwnames
[] = {
7796 (char *) "self",(char *) "escapeId", NULL
7799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7801 if (!SWIG_IsOK(res1
)) {
7802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7804 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7806 if (!SWIG_IsOK(ecode2
)) {
7807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7809 arg2
= static_cast< int >(val2
);
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 (arg1
)->SetEscapeId(arg2
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_Py_Void();
7823 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 PyObject
*resultobj
= 0;
7825 wxDialog
*arg1
= (wxDialog
*) 0 ;
7829 PyObject
*swig_obj
[1] ;
7831 if (!args
) SWIG_fail
;
7833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7834 if (!SWIG_IsOK(res1
)) {
7835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7837 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_From_int(static_cast< int >(result
));
7851 SWIGINTERN PyObject
*_wrap_Dialog_GetParentForModalDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7853 wxDialog
*arg1
= (wxDialog
*) 0 ;
7854 wxWindow
*arg2
= (wxWindow
*) NULL
;
7855 wxWindow
*result
= 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 char * kwnames
[] = {
7863 (char *) "self",(char *) "parent", NULL
7866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7868 if (!SWIG_IsOK(res1
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
7871 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7874 if (!SWIG_IsOK(res2
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
7877 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxWindow
*)((wxDialog
const *)arg1
)->GetParentForModalDialog(arg2
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= wxPyMake_wxObject(result
, 0);
7894 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
= 0;
7896 wxDialog
*arg1
= (wxDialog
*) 0 ;
7897 wxString
*arg2
= 0 ;
7898 wxSizer
*result
= 0 ;
7901 bool temp2
= false ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7904 char * kwnames
[] = {
7905 (char *) "self",(char *) "message", NULL
7908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7913 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7915 arg2
= wxString_in_helper(obj1
);
7916 if (arg2
== NULL
) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7942 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
= 0;
7944 wxDialog
*arg1
= (wxDialog
*) 0 ;
7946 wxSizer
*result
= 0 ;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7953 char * kwnames
[] = {
7954 (char *) "self",(char *) "flags", NULL
7957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7962 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7964 if (!SWIG_IsOK(ecode2
)) {
7965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7967 arg2
= static_cast< long >(val2
);
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7983 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
= 0;
7985 wxDialog
*arg1
= (wxDialog
*) 0 ;
7987 wxSizer
*result
= 0 ;
7992 PyObject
* obj0
= 0 ;
7993 PyObject
* obj1
= 0 ;
7994 char * kwnames
[] = {
7995 (char *) "self",(char *) "flags", NULL
7998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8000 if (!SWIG_IsOK(res1
)) {
8001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8003 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8005 if (!SWIG_IsOK(ecode2
)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
8008 arg2
= static_cast< long >(val2
);
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= wxPyMake_wxObject(result
, (bool)0);
8024 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
= 0;
8026 wxDialog
*arg1
= (wxDialog
*) 0 ;
8028 wxStdDialogButtonSizer
*result
= 0 ;
8033 PyObject
* obj0
= 0 ;
8034 PyObject
* obj1
= 0 ;
8035 char * kwnames
[] = {
8036 (char *) "self",(char *) "flags", NULL
8039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8044 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8045 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8046 if (!SWIG_IsOK(ecode2
)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
8049 arg2
= static_cast< long >(val2
);
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
8063 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 PyObject
*resultobj
= 0;
8065 wxDialog
*arg1
= (wxDialog
*) 0 ;
8069 PyObject
*swig_obj
[1] ;
8071 if (!args
) SWIG_fail
;
8073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8074 if (!SWIG_IsOK(res1
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8077 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8093 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8094 PyObject
*resultobj
= 0;
8095 wxDialog
*arg1
= (wxDialog
*) 0 ;
8099 PyObject
*swig_obj
[1] ;
8101 if (!args
) SWIG_fail
;
8103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8104 if (!SWIG_IsOK(res1
)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8107 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (int)(arg1
)->ShowModal();
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_From_int(static_cast< int >(result
));
8121 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
= 0;
8123 wxDialog
*arg1
= (wxDialog
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8131 char * kwnames
[] = {
8132 (char *) "self",(char *) "retCode", NULL
8135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8137 if (!SWIG_IsOK(res1
)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8140 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8142 if (!SWIG_IsOK(ecode2
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8145 arg2
= static_cast< int >(val2
);
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 (arg1
)->EndModal(arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_Py_Void();
8159 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
= 0;
8161 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8162 SwigValueWrapper
<wxVisualAttributes
> result
;
8165 PyObject
* obj0
= 0 ;
8166 char * kwnames
[] = {
8167 (char *) "variant", NULL
8170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8173 if (!SWIG_IsOK(ecode1
)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8176 arg1
= static_cast< wxWindowVariant
>(val1
);
8179 if (!wxPyCheckForApp()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8192 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8195 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8196 return SWIG_Py_Void();
8199 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8200 return SWIG_Python_InitShadowInstance(args
);
8203 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
= 0;
8205 wxWindow
*arg1
= (wxWindow
*) 0 ;
8206 int arg2
= (int) (int)-1 ;
8207 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8208 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8213 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8214 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8216 wxMiniFrame
*result
= 0 ;
8221 bool temp3
= false ;
8226 bool temp7
= false ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8229 PyObject
* obj2
= 0 ;
8230 PyObject
* obj3
= 0 ;
8231 PyObject
* obj4
= 0 ;
8232 PyObject
* obj5
= 0 ;
8233 PyObject
* obj6
= 0 ;
8234 char * kwnames
[] = {
8235 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8240 if (!SWIG_IsOK(res1
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8246 if (!SWIG_IsOK(ecode2
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8249 arg2
= static_cast< int >(val2
);
8253 arg3
= wxString_in_helper(obj2
);
8254 if (arg3
== NULL
) SWIG_fail
;
8261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8271 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8272 if (!SWIG_IsOK(ecode6
)) {
8273 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8275 arg6
= static_cast< long >(val6
);
8279 arg7
= wxString_in_helper(obj6
);
8280 if (arg7
== NULL
) SWIG_fail
;
8285 if (!wxPyCheckForApp()) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8314 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8315 PyObject
*resultobj
= 0;
8316 wxMiniFrame
*result
= 0 ;
8318 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8320 if (!wxPyCheckForApp()) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (wxMiniFrame
*)new wxMiniFrame();
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8333 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
= 0;
8335 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8336 wxWindow
*arg2
= (wxWindow
*) 0 ;
8337 int arg3
= (int) (int)-1 ;
8338 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8339 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8340 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8341 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8342 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8343 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8344 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8345 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8346 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8354 bool temp4
= false ;
8359 bool temp8
= false ;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8362 PyObject
* obj2
= 0 ;
8363 PyObject
* obj3
= 0 ;
8364 PyObject
* obj4
= 0 ;
8365 PyObject
* obj5
= 0 ;
8366 PyObject
* obj6
= 0 ;
8367 PyObject
* obj7
= 0 ;
8368 char * kwnames
[] = {
8369 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8377 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8379 if (!SWIG_IsOK(res2
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8382 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8385 if (!SWIG_IsOK(ecode3
)) {
8386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8388 arg3
= static_cast< int >(val3
);
8392 arg4
= wxString_in_helper(obj3
);
8393 if (arg4
== NULL
) SWIG_fail
;
8400 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8406 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8410 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8411 if (!SWIG_IsOK(ecode7
)) {
8412 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8414 arg7
= static_cast< long >(val7
);
8418 arg8
= wxString_in_helper(obj7
);
8419 if (arg8
== NULL
) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8454 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8457 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8458 return SWIG_Py_Void();
8461 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8462 return SWIG_Python_InitShadowInstance(args
);
8465 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
= 0;
8467 wxBitmap
*arg1
= 0 ;
8468 wxWindow
*arg2
= (wxWindow
*) 0 ;
8470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8474 long arg6
= (long) wxNO_BORDER
;
8475 wxSplashScreenWindow
*result
= 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8489 PyObject
* obj3
= 0 ;
8490 PyObject
* obj4
= 0 ;
8491 PyObject
* obj5
= 0 ;
8492 char * kwnames
[] = {
8493 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8497 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8498 if (!SWIG_IsOK(res1
)) {
8499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8504 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8506 if (!SWIG_IsOK(res2
)) {
8507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8511 if (!SWIG_IsOK(ecode3
)) {
8512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8514 arg3
= static_cast< int >(val3
);
8518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8529 if (!SWIG_IsOK(ecode6
)) {
8530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8532 arg6
= static_cast< long >(val6
);
8535 if (!wxPyCheckForApp()) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8548 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= 0;
8550 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8551 wxBitmap
*arg2
= 0 ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8558 char * kwnames
[] = {
8559 (char *) "self",(char *) "bitmap", NULL
8562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8564 if (!SWIG_IsOK(res1
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8567 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8569 if (!SWIG_IsOK(res2
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8575 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_Py_Void();
8589 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8590 PyObject
*resultobj
= 0;
8591 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8592 wxBitmap
*result
= 0 ;
8595 PyObject
*swig_obj
[1] ;
8597 if (!args
) SWIG_fail
;
8599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8600 if (!SWIG_IsOK(res1
)) {
8601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8603 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8608 result
= (wxBitmap
*) &_result_ref
;
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8614 wxBitmap
* resultptr
= new wxBitmap(*result
);
8615 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8623 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8626 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8627 return SWIG_Py_Void();
8630 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8631 return SWIG_Python_InitShadowInstance(args
);
8634 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
= 0;
8636 wxBitmap
*arg1
= 0 ;
8639 wxWindow
*arg4
= (wxWindow
*) 0 ;
8640 int arg5
= (int) -1 ;
8641 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8642 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8643 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8644 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8645 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8646 wxSplashScreen
*result
= 0 ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 PyObject
* obj2
= 0 ;
8664 PyObject
* obj3
= 0 ;
8665 PyObject
* obj4
= 0 ;
8666 PyObject
* obj5
= 0 ;
8667 PyObject
* obj6
= 0 ;
8668 PyObject
* obj7
= 0 ;
8669 char * kwnames
[] = {
8670 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8674 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8675 if (!SWIG_IsOK(res1
)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8681 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8682 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8683 if (!SWIG_IsOK(ecode2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8686 arg2
= static_cast< long >(val2
);
8687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8688 if (!SWIG_IsOK(ecode3
)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8691 arg3
= static_cast< int >(val3
);
8692 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8693 if (!SWIG_IsOK(res4
)) {
8694 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8696 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8699 if (!SWIG_IsOK(ecode5
)) {
8700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8702 arg5
= static_cast< int >(val5
);
8707 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8713 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8717 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8718 if (!SWIG_IsOK(ecode8
)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8721 arg8
= static_cast< long >(val8
);
8724 if (!wxPyCheckForApp()) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8737 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8738 PyObject
*resultobj
= 0;
8739 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8743 PyObject
*swig_obj
[1] ;
8745 if (!args
) SWIG_fail
;
8747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8748 if (!SWIG_IsOK(res1
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8751 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_From_long(static_cast< long >(result
));
8765 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8766 PyObject
*resultobj
= 0;
8767 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8768 wxSplashScreenWindow
*result
= 0 ;
8771 PyObject
*swig_obj
[1] ;
8773 if (!args
) SWIG_fail
;
8775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8776 if (!SWIG_IsOK(res1
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8779 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8793 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8794 PyObject
*resultobj
= 0;
8795 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8799 PyObject
*swig_obj
[1] ;
8801 if (!args
) SWIG_fail
;
8803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8804 if (!SWIG_IsOK(res1
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8807 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_From_int(static_cast< int >(result
));
8821 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8825 return SWIG_Py_Void();
8828 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8829 return SWIG_Python_InitShadowInstance(args
);
8832 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
= 0;
8834 wxWindow
*arg1
= (wxWindow
*) 0 ;
8835 int arg2
= (int) -1 ;
8836 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8837 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8838 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8839 wxStatusBar
*result
= 0 ;
8846 bool temp4
= false ;
8847 PyObject
* obj0
= 0 ;
8848 PyObject
* obj1
= 0 ;
8849 PyObject
* obj2
= 0 ;
8850 PyObject
* obj3
= 0 ;
8851 char * kwnames
[] = {
8852 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8857 if (!SWIG_IsOK(res1
)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8860 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8863 if (!SWIG_IsOK(ecode2
)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8866 arg2
= static_cast< int >(val2
);
8869 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8870 if (!SWIG_IsOK(ecode3
)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8873 arg3
= static_cast< long >(val3
);
8877 arg4
= wxString_in_helper(obj3
);
8878 if (arg4
== NULL
) SWIG_fail
;
8883 if (!wxPyCheckForApp()) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8904 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8905 PyObject
*resultobj
= 0;
8906 wxStatusBar
*result
= 0 ;
8908 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8910 if (!wxPyCheckForApp()) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= (wxStatusBar
*)new wxStatusBar();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8923 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
= 0;
8925 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8926 wxWindow
*arg2
= (wxWindow
*) 0 ;
8927 int arg3
= (int) -1 ;
8928 long arg4
= (long) wxST_SIZEGRIP
;
8929 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8930 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8940 bool temp5
= false ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 PyObject
* obj2
= 0 ;
8944 PyObject
* obj3
= 0 ;
8945 PyObject
* obj4
= 0 ;
8946 char * kwnames
[] = {
8947 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8952 if (!SWIG_IsOK(res1
)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8955 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8957 if (!SWIG_IsOK(res2
)) {
8958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8963 if (!SWIG_IsOK(ecode3
)) {
8964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8966 arg3
= static_cast< int >(val3
);
8969 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8970 if (!SWIG_IsOK(ecode4
)) {
8971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8973 arg4
= static_cast< long >(val4
);
8977 arg5
= wxString_in_helper(obj4
);
8978 if (arg5
== NULL
) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9005 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
= 0;
9007 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9008 int arg2
= (int) 1 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 char * kwnames
[] = {
9016 (char *) "self",(char *) "number", NULL
9019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9021 if (!SWIG_IsOK(res1
)) {
9022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9024 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9027 if (!SWIG_IsOK(ecode2
)) {
9028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
9030 arg2
= static_cast< int >(val2
);
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 (arg1
)->SetFieldsCount(arg2
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= SWIG_Py_Void();
9045 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9046 PyObject
*resultobj
= 0;
9047 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9051 PyObject
*swig_obj
[1] ;
9053 if (!args
) SWIG_fail
;
9055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9056 if (!SWIG_IsOK(res1
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9059 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_From_int(static_cast< int >(result
));
9073 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
= 0;
9075 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9076 wxString
*arg2
= 0 ;
9077 int arg3
= (int) 0 ;
9080 bool temp2
= false ;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9085 PyObject
* obj2
= 0 ;
9086 char * kwnames
[] = {
9087 (char *) "self",(char *) "text",(char *) "number", NULL
9090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9092 if (!SWIG_IsOK(res1
)) {
9093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9095 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9097 arg2
= wxString_in_helper(obj1
);
9098 if (arg2
== NULL
) SWIG_fail
;
9102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9103 if (!SWIG_IsOK(ecode3
)) {
9104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9106 arg3
= static_cast< int >(val3
);
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_Py_Void();
9129 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
= 0;
9131 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9132 int arg2
= (int) 0 ;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9140 char * kwnames
[] = {
9141 (char *) "self",(char *) "number", NULL
9144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9149 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9152 if (!SWIG_IsOK(ecode2
)) {
9153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9155 arg2
= static_cast< int >(val2
);
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9176 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
= 0;
9178 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9179 wxString
*arg2
= 0 ;
9180 int arg3
= (int) 0 ;
9183 bool temp2
= false ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 PyObject
* obj2
= 0 ;
9189 char * kwnames
[] = {
9190 (char *) "self",(char *) "text",(char *) "number", NULL
9193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9195 if (!SWIG_IsOK(res1
)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9198 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9200 arg2
= wxString_in_helper(obj1
);
9201 if (arg2
== NULL
) SWIG_fail
;
9205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9206 if (!SWIG_IsOK(ecode3
)) {
9207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9209 arg3
= static_cast< int >(val3
);
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_Py_Void();
9232 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
= 0;
9234 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9235 int arg2
= (int) 0 ;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9242 char * kwnames
[] = {
9243 (char *) "self",(char *) "number", NULL
9246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9248 if (!SWIG_IsOK(res1
)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9251 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9254 if (!SWIG_IsOK(ecode2
)) {
9255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9257 arg2
= static_cast< int >(val2
);
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 (arg1
)->PopStatusText(arg2
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_Py_Void();
9272 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
= 0;
9274 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9276 int *arg3
= (int *) 0 ;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9281 char * kwnames
[] = {
9282 (char *) "self",(char *) "widths", NULL
9285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9287 if (!SWIG_IsOK(res1
)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9290 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9292 arg2
= PyList_Size(obj1
);
9293 arg3
= int_LIST_helper(obj1
);
9294 if (arg3
== NULL
) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_Py_Void();
9304 if (arg3
) delete [] arg3
;
9309 if (arg3
) delete [] arg3
;
9315 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
= 0;
9317 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9319 int *arg3
= (int *) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 char * kwnames
[] = {
9325 (char *) "self",(char *) "styles", NULL
9328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9330 if (!SWIG_IsOK(res1
)) {
9331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9333 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9335 arg2
= PyList_Size(obj1
);
9336 arg3
= int_LIST_helper(obj1
);
9337 if (arg3
== NULL
) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_Py_Void();
9347 if (arg3
) delete [] arg3
;
9352 if (arg3
) delete [] arg3
;
9358 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
= 0;
9360 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9369 char * kwnames
[] = {
9370 (char *) "self",(char *) "i", NULL
9373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9375 if (!SWIG_IsOK(res1
)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9378 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9380 if (!SWIG_IsOK(ecode2
)) {
9381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9383 arg2
= static_cast< int >(val2
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9397 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
= 0;
9399 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9407 char * kwnames
[] = {
9408 (char *) "self",(char *) "height", NULL
9411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9413 if (!SWIG_IsOK(res1
)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9416 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9418 if (!SWIG_IsOK(ecode2
)) {
9419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9421 arg2
= static_cast< int >(val2
);
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 (arg1
)->SetMinHeight(arg2
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_Py_Void();
9435 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9436 PyObject
*resultobj
= 0;
9437 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9441 PyObject
*swig_obj
[1] ;
9443 if (!args
) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9449 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_From_int(static_cast< int >(result
));
9463 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9464 PyObject
*resultobj
= 0;
9465 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9469 PyObject
*swig_obj
[1] ;
9471 if (!args
) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9477 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_int(static_cast< int >(result
));
9491 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
= 0;
9493 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9494 SwigValueWrapper
<wxVisualAttributes
> result
;
9497 PyObject
* obj0
= 0 ;
9498 char * kwnames
[] = {
9499 (char *) "variant", NULL
9502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9505 if (!SWIG_IsOK(ecode1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9508 arg1
= static_cast< wxWindowVariant
>(val1
);
9511 if (!wxPyCheckForApp()) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9524 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9527 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9528 return SWIG_Py_Void();
9531 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9532 return SWIG_Python_InitShadowInstance(args
);
9535 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9536 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9541 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9542 PyObject
*pyobj
= 0;
9546 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9548 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9555 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
= 0;
9557 wxWindow
*arg1
= (wxWindow
*) 0 ;
9558 int arg2
= (int) -1 ;
9559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9563 long arg5
= (long) wxSP_3D
;
9564 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9565 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9566 wxSplitterWindow
*result
= 0 ;
9575 bool temp6
= false ;
9576 PyObject
* obj0
= 0 ;
9577 PyObject
* obj1
= 0 ;
9578 PyObject
* obj2
= 0 ;
9579 PyObject
* obj3
= 0 ;
9580 PyObject
* obj4
= 0 ;
9581 PyObject
* obj5
= 0 ;
9582 char * kwnames
[] = {
9583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9588 if (!SWIG_IsOK(res1
)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9594 if (!SWIG_IsOK(ecode2
)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9597 arg2
= static_cast< int >(val2
);
9602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9608 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9612 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9613 if (!SWIG_IsOK(ecode5
)) {
9614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9616 arg5
= static_cast< long >(val5
);
9620 arg6
= wxString_in_helper(obj5
);
9621 if (arg6
== NULL
) SWIG_fail
;
9626 if (!wxPyCheckForApp()) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9647 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9648 PyObject
*resultobj
= 0;
9649 wxSplitterWindow
*result
= 0 ;
9651 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9653 if (!wxPyCheckForApp()) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9666 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
= 0;
9668 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9669 wxWindow
*arg2
= (wxWindow
*) 0 ;
9670 int arg3
= (int) -1 ;
9671 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9672 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9673 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9674 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9675 long arg6
= (long) wxSP_3D
;
9676 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9677 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9689 bool temp7
= false ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 PyObject
* obj2
= 0 ;
9693 PyObject
* obj3
= 0 ;
9694 PyObject
* obj4
= 0 ;
9695 PyObject
* obj5
= 0 ;
9696 PyObject
* obj6
= 0 ;
9697 char * kwnames
[] = {
9698 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9703 if (!SWIG_IsOK(res1
)) {
9704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9706 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9708 if (!SWIG_IsOK(res2
)) {
9709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9711 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9714 if (!SWIG_IsOK(ecode3
)) {
9715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9717 arg3
= static_cast< int >(val3
);
9722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9732 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9733 if (!SWIG_IsOK(ecode6
)) {
9734 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9736 arg6
= static_cast< long >(val6
);
9740 arg7
= wxString_in_helper(obj6
);
9741 if (arg7
== NULL
) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9768 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9769 PyObject
*resultobj
= 0;
9770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9771 wxWindow
*result
= 0 ;
9774 PyObject
*swig_obj
[1] ;
9776 if (!args
) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9782 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= wxPyMake_wxObject(result
, 0);
9798 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9799 PyObject
*resultobj
= 0;
9800 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9801 wxWindow
*result
= 0 ;
9804 PyObject
*swig_obj
[1] ;
9806 if (!args
) SWIG_fail
;
9808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9809 if (!SWIG_IsOK(res1
)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9812 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= wxPyMake_wxObject(result
, 0);
9828 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
= 0;
9830 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 char * kwnames
[] = {
9839 (char *) "self",(char *) "mode", NULL
9842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9844 if (!SWIG_IsOK(res1
)) {
9845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9847 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9849 if (!SWIG_IsOK(ecode2
)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9852 arg2
= static_cast< int >(val2
);
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 (arg1
)->SetSplitMode(arg2
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_Py_Void();
9866 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9867 PyObject
*resultobj
= 0;
9868 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9872 PyObject
*swig_obj
[1] ;
9874 if (!args
) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9880 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_From_int(static_cast< int >(result
));
9894 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
= 0;
9896 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9897 wxWindow
*arg2
= (wxWindow
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "self",(char *) "window", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9913 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9915 if (!SWIG_IsOK(res2
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9918 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 (arg1
)->Initialize(arg2
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_Py_Void();
9932 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
= 0;
9934 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9935 wxWindow
*arg2
= (wxWindow
*) 0 ;
9936 wxWindow
*arg3
= (wxWindow
*) 0 ;
9937 int arg4
= (int) 0 ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9949 PyObject
* obj2
= 0 ;
9950 PyObject
* obj3
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9960 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9962 if (!SWIG_IsOK(res2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9966 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9967 if (!SWIG_IsOK(res3
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9970 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9973 if (!SWIG_IsOK(ecode4
)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9976 arg4
= static_cast< int >(val4
);
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9993 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
= 0;
9995 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9996 wxWindow
*arg2
= (wxWindow
*) 0 ;
9997 wxWindow
*arg3
= (wxWindow
*) 0 ;
9998 int arg4
= (int) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 PyObject
* obj1
= 0 ;
10010 PyObject
* obj2
= 0 ;
10011 PyObject
* obj3
= 0 ;
10012 char * kwnames
[] = {
10013 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
10016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10018 if (!SWIG_IsOK(res1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10021 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10023 if (!SWIG_IsOK(res2
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
10026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10027 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10028 if (!SWIG_IsOK(res3
)) {
10029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
10031 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10034 if (!SWIG_IsOK(ecode4
)) {
10035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
10037 arg4
= static_cast< int >(val4
);
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10054 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
= 0;
10056 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10057 wxWindow
*arg2
= (wxWindow
*) NULL
;
10063 PyObject
* obj0
= 0 ;
10064 PyObject
* obj1
= 0 ;
10065 char * kwnames
[] = {
10066 (char *) "self",(char *) "toRemove", NULL
10069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10071 if (!SWIG_IsOK(res1
)) {
10072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10074 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10077 if (!SWIG_IsOK(res2
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10080 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (bool)(arg1
)->Unsplit(arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10097 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
= 0;
10099 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10100 wxWindow
*arg2
= (wxWindow
*) 0 ;
10101 wxWindow
*arg3
= (wxWindow
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 PyObject
* obj1
= 0 ;
10111 PyObject
* obj2
= 0 ;
10112 char * kwnames
[] = {
10113 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10118 if (!SWIG_IsOK(res1
)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10121 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10123 if (!SWIG_IsOK(res2
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10126 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10127 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10128 if (!SWIG_IsOK(res3
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10131 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10147 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10148 PyObject
*resultobj
= 0;
10149 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10152 PyObject
*swig_obj
[1] ;
10154 if (!args
) SWIG_fail
;
10155 swig_obj
[0] = args
;
10156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10157 if (!SWIG_IsOK(res1
)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10160 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 (arg1
)->UpdateSize();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_Py_Void();
10174 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10175 PyObject
*resultobj
= 0;
10176 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10180 PyObject
*swig_obj
[1] ;
10182 if (!args
) SWIG_fail
;
10183 swig_obj
[0] = args
;
10184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10185 if (!SWIG_IsOK(res1
)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10188 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10204 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 char * kwnames
[] = {
10215 (char *) "self",(char *) "width", NULL
10218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10223 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10225 if (!SWIG_IsOK(ecode2
)) {
10226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10228 arg2
= static_cast< int >(val2
);
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 (arg1
)->SetSashSize(arg2
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= SWIG_Py_Void();
10242 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
= 0;
10244 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 char * kwnames
[] = {
10253 (char *) "self",(char *) "width", NULL
10256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10258 if (!SWIG_IsOK(res1
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10261 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10263 if (!SWIG_IsOK(ecode2
)) {
10264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10266 arg2
= static_cast< int >(val2
);
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 (arg1
)->SetBorderSize(arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_Py_Void();
10280 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10281 PyObject
*resultobj
= 0;
10282 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10286 PyObject
*swig_obj
[1] ;
10288 if (!args
) SWIG_fail
;
10289 swig_obj
[0] = args
;
10290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10291 if (!SWIG_IsOK(res1
)) {
10292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10294 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_From_int(static_cast< int >(result
));
10308 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10309 PyObject
*resultobj
= 0;
10310 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10314 PyObject
*swig_obj
[1] ;
10316 if (!args
) SWIG_fail
;
10317 swig_obj
[0] = args
;
10318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10319 if (!SWIG_IsOK(res1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10322 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_From_int(static_cast< int >(result
));
10336 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
= 0;
10338 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10340 bool arg3
= (bool) true ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 PyObject
* obj2
= 0 ;
10350 char * kwnames
[] = {
10351 (char *) "self",(char *) "position",(char *) "redraw", NULL
10354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10356 if (!SWIG_IsOK(res1
)) {
10357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10359 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10361 if (!SWIG_IsOK(ecode2
)) {
10362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10364 arg2
= static_cast< int >(val2
);
10366 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10367 if (!SWIG_IsOK(ecode3
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10370 arg3
= static_cast< bool >(val3
);
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 (arg1
)->SetSashPosition(arg2
,arg3
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_Py_Void();
10385 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10386 PyObject
*resultobj
= 0;
10387 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10391 PyObject
*swig_obj
[1] ;
10393 if (!args
) SWIG_fail
;
10394 swig_obj
[0] = args
;
10395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10399 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_From_int(static_cast< int >(result
));
10413 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
= 0;
10415 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char * kwnames
[] = {
10424 (char *) "self",(char *) "gravity", NULL
10427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10429 if (!SWIG_IsOK(res1
)) {
10430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10432 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10433 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10434 if (!SWIG_IsOK(ecode2
)) {
10435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10437 arg2
= static_cast< double >(val2
);
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 (arg1
)->SetSashGravity(arg2
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_Py_Void();
10451 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10452 PyObject
*resultobj
= 0;
10453 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10457 PyObject
*swig_obj
[1] ;
10459 if (!args
) SWIG_fail
;
10460 swig_obj
[0] = args
;
10461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10465 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_From_double(static_cast< double >(result
));
10479 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
= 0;
10481 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char * kwnames
[] = {
10490 (char *) "self",(char *) "min", NULL
10493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10498 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10500 if (!SWIG_IsOK(ecode2
)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10503 arg2
= static_cast< int >(val2
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 (arg1
)->SetMinimumPaneSize(arg2
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_Py_Void();
10517 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10531 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_From_int(static_cast< int >(result
));
10545 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
= 0;
10547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10550 int arg4
= (int) 5 ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 PyObject
* obj2
= 0 ;
10563 PyObject
* obj3
= 0 ;
10564 char * kwnames
[] = {
10565 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10570 if (!SWIG_IsOK(res1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10573 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10575 if (!SWIG_IsOK(ecode2
)) {
10576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10578 arg2
= static_cast< int >(val2
);
10579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10580 if (!SWIG_IsOK(ecode3
)) {
10581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10583 arg3
= static_cast< int >(val3
);
10585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10586 if (!SWIG_IsOK(ecode4
)) {
10587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10589 arg4
= static_cast< int >(val4
);
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10606 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10607 PyObject
*resultobj
= 0;
10608 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10611 PyObject
*swig_obj
[1] ;
10613 if (!args
) SWIG_fail
;
10614 swig_obj
[0] = args
;
10615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10616 if (!SWIG_IsOK(res1
)) {
10617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10619 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SizeWindows();
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_Py_Void();
10633 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
= 0;
10635 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char * kwnames
[] = {
10644 (char *) "self",(char *) "needUpdating", NULL
10647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10649 if (!SWIG_IsOK(res1
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10652 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10653 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10654 if (!SWIG_IsOK(ecode2
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10657 arg2
= static_cast< bool >(val2
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 (arg1
)->SetNeedUpdating(arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_Py_Void();
10671 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10672 PyObject
*resultobj
= 0;
10673 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10677 PyObject
*swig_obj
[1] ;
10679 if (!args
) SWIG_fail
;
10680 swig_obj
[0] = args
;
10681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10685 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10704 SwigValueWrapper
<wxVisualAttributes
> result
;
10707 PyObject
* obj0
= 0 ;
10708 char * kwnames
[] = {
10709 (char *) "variant", NULL
10712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10715 if (!SWIG_IsOK(ecode1
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10718 arg1
= static_cast< wxWindowVariant
>(val1
);
10721 if (!wxPyCheckForApp()) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10734 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10737 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10738 return SWIG_Py_Void();
10741 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10742 return SWIG_Python_InitShadowInstance(args
);
10745 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
= 0;
10747 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10748 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10749 wxSplitterEvent
*result
= 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char * kwnames
[] = {
10757 (char *) "type",(char *) "splitter", NULL
10760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10763 if (!SWIG_IsOK(ecode1
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10766 arg1
= static_cast< wxEventType
>(val1
);
10769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10770 if (!SWIG_IsOK(res2
)) {
10771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10773 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10788 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
= 0;
10790 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 char * kwnames
[] = {
10799 (char *) "self",(char *) "pos", NULL
10802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10807 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10809 if (!SWIG_IsOK(ecode2
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10812 arg2
= static_cast< int >(val2
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetSashPosition(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_Py_Void();
10826 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(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_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10840 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_From_int(static_cast< int >(result
));
10854 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10855 PyObject
*resultobj
= 0;
10856 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10857 wxWindow
*result
= 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_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10868 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= wxPyMake_wxObject(result
, 0);
10884 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10885 PyObject
*resultobj
= 0;
10886 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10890 PyObject
*swig_obj
[1] ;
10892 if (!args
) SWIG_fail
;
10893 swig_obj
[0] = args
;
10894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10898 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= SWIG_From_int(static_cast< int >(result
));
10912 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10913 PyObject
*resultobj
= 0;
10914 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10918 PyObject
*swig_obj
[1] ;
10920 if (!args
) SWIG_fail
;
10921 swig_obj
[0] = args
;
10922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10923 if (!SWIG_IsOK(res1
)) {
10924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10926 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_From_int(static_cast< int >(result
));
10940 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10943 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10944 return SWIG_Py_Void();
10947 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10948 return SWIG_Python_InitShadowInstance(args
);
10951 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10952 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10957 SWIGINTERN PyObject
*SashNameStr_get(void) {
10958 PyObject
*pyobj
= 0;
10962 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10964 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10971 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10972 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10977 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10978 PyObject
*pyobj
= 0;
10982 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10984 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10991 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
= 0;
10993 wxWindow
*arg1
= (wxWindow
*) 0 ;
10994 int arg2
= (int) -1 ;
10995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10999 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11000 wxString
const &arg6_defvalue
= wxPySashNameStr
;
11001 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11002 wxSashWindow
*result
= 0 ;
11011 bool temp6
= false ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 PyObject
* obj2
= 0 ;
11015 PyObject
* obj3
= 0 ;
11016 PyObject
* obj4
= 0 ;
11017 PyObject
* obj5
= 0 ;
11018 char * kwnames
[] = {
11019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
11023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11024 if (!SWIG_IsOK(res1
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
11027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11030 if (!SWIG_IsOK(ecode2
)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
11033 arg2
= static_cast< int >(val2
);
11038 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11044 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11048 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
11049 if (!SWIG_IsOK(ecode5
)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
11052 arg5
= static_cast< long >(val5
);
11056 arg6
= wxString_in_helper(obj5
);
11057 if (arg6
== NULL
) SWIG_fail
;
11062 if (!wxPyCheckForApp()) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11083 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxSashWindow
*result
= 0 ;
11087 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11089 if (!wxPyCheckForApp()) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (wxSashWindow
*)new wxSashWindow();
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11102 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
= 0;
11104 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11105 wxWindow
*arg2
= (wxWindow
*) 0 ;
11106 int arg3
= (int) -1 ;
11107 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11108 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11109 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11110 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11111 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11112 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11113 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11125 bool temp7
= false ;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 PyObject
* obj2
= 0 ;
11129 PyObject
* obj3
= 0 ;
11130 PyObject
* obj4
= 0 ;
11131 PyObject
* obj5
= 0 ;
11132 PyObject
* obj6
= 0 ;
11133 char * kwnames
[] = {
11134 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11142 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11144 if (!SWIG_IsOK(res2
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11150 if (!SWIG_IsOK(ecode3
)) {
11151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11153 arg3
= static_cast< int >(val3
);
11158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11164 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11168 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11169 if (!SWIG_IsOK(ecode6
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11172 arg6
= static_cast< long >(val6
);
11176 arg7
= wxString_in_helper(obj6
);
11177 if (arg7
== NULL
) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11204 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
= 0;
11206 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11207 wxSashEdgePosition arg2
;
11215 PyObject
* obj0
= 0 ;
11216 PyObject
* obj1
= 0 ;
11217 PyObject
* obj2
= 0 ;
11218 char * kwnames
[] = {
11219 (char *) "self",(char *) "edge",(char *) "sash", NULL
11222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11224 if (!SWIG_IsOK(res1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11227 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11229 if (!SWIG_IsOK(ecode2
)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11232 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11233 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11234 if (!SWIG_IsOK(ecode3
)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11237 arg3
= static_cast< bool >(val3
);
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->SetSashVisible(arg2
,arg3
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_Py_Void();
11251 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= 0;
11253 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11254 wxSashEdgePosition arg2
;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 char * kwnames
[] = {
11263 (char *) "self",(char *) "edge", NULL
11266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11268 if (!SWIG_IsOK(res1
)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11271 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11273 if (!SWIG_IsOK(ecode2
)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11276 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11292 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
= 0;
11294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11295 wxSashEdgePosition arg2
;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char * kwnames
[] = {
11304 (char *) "self",(char *) "edge", NULL
11307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11309 if (!SWIG_IsOK(res1
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11312 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11314 if (!SWIG_IsOK(ecode2
)) {
11315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11317 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_From_int(static_cast< int >(result
));
11331 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
= 0;
11333 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 char * kwnames
[] = {
11342 (char *) "self",(char *) "width", NULL
11345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11347 if (!SWIG_IsOK(res1
)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11350 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11352 if (!SWIG_IsOK(ecode2
)) {
11353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11355 arg2
= static_cast< int >(val2
);
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 (arg1
)->SetDefaultBorderSize(arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_Py_Void();
11369 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11383 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_int(static_cast< int >(result
));
11397 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
= 0;
11399 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 char * kwnames
[] = {
11408 (char *) "self",(char *) "width", NULL
11411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11416 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11418 if (!SWIG_IsOK(ecode2
)) {
11419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11421 arg2
= static_cast< int >(val2
);
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 (arg1
)->SetExtraBorderSize(arg2
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_Py_Void();
11435 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11436 PyObject
*resultobj
= 0;
11437 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11441 PyObject
*swig_obj
[1] ;
11443 if (!args
) SWIG_fail
;
11444 swig_obj
[0] = args
;
11445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11449 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= SWIG_From_int(static_cast< int >(result
));
11463 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
= 0;
11465 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 char * kwnames
[] = {
11474 (char *) "self",(char *) "min", NULL
11477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11479 if (!SWIG_IsOK(res1
)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11482 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11484 if (!SWIG_IsOK(ecode2
)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11487 arg2
= static_cast< int >(val2
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 (arg1
)->SetMinimumSizeX(arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_Py_Void();
11501 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= 0;
11503 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 PyObject
* obj1
= 0 ;
11511 char * kwnames
[] = {
11512 (char *) "self",(char *) "min", NULL
11515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11517 if (!SWIG_IsOK(res1
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11520 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11522 if (!SWIG_IsOK(ecode2
)) {
11523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11525 arg2
= static_cast< int >(val2
);
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->SetMinimumSizeY(arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= SWIG_Py_Void();
11539 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11540 PyObject
*resultobj
= 0;
11541 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11545 PyObject
*swig_obj
[1] ;
11547 if (!args
) SWIG_fail
;
11548 swig_obj
[0] = args
;
11549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11553 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_From_int(static_cast< int >(result
));
11567 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11568 PyObject
*resultobj
= 0;
11569 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11573 PyObject
*swig_obj
[1] ;
11575 if (!args
) SWIG_fail
;
11576 swig_obj
[0] = args
;
11577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11578 if (!SWIG_IsOK(res1
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11581 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_From_int(static_cast< int >(result
));
11595 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
= 0;
11597 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 char * kwnames
[] = {
11606 (char *) "self",(char *) "max", NULL
11609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11614 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11616 if (!SWIG_IsOK(ecode2
)) {
11617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11619 arg2
= static_cast< int >(val2
);
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->SetMaximumSizeX(arg2
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= SWIG_Py_Void();
11633 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
= 0;
11635 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 char * kwnames
[] = {
11644 (char *) "self",(char *) "max", NULL
11647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11652 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11654 if (!SWIG_IsOK(ecode2
)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11657 arg2
= static_cast< int >(val2
);
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 (arg1
)->SetMaximumSizeY(arg2
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_Py_Void();
11671 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11672 PyObject
*resultobj
= 0;
11673 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11677 PyObject
*swig_obj
[1] ;
11679 if (!args
) SWIG_fail
;
11680 swig_obj
[0] = args
;
11681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11682 if (!SWIG_IsOK(res1
)) {
11683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11685 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_From_int(static_cast< int >(result
));
11699 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 PyObject
*resultobj
= 0;
11701 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11705 PyObject
*swig_obj
[1] ;
11707 if (!args
) SWIG_fail
;
11708 swig_obj
[0] = args
;
11709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11713 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_From_int(static_cast< int >(result
));
11727 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
= 0;
11729 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11732 int arg4
= (int) 2 ;
11733 wxSashEdgePosition result
;
11742 PyObject
* obj0
= 0 ;
11743 PyObject
* obj1
= 0 ;
11744 PyObject
* obj2
= 0 ;
11745 PyObject
* obj3
= 0 ;
11746 char * kwnames
[] = {
11747 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11752 if (!SWIG_IsOK(res1
)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11755 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11757 if (!SWIG_IsOK(ecode2
)) {
11758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11760 arg2
= static_cast< int >(val2
);
11761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11762 if (!SWIG_IsOK(ecode3
)) {
11763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11765 arg3
= static_cast< int >(val3
);
11767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11768 if (!SWIG_IsOK(ecode4
)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11771 arg4
= static_cast< int >(val4
);
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_From_int(static_cast< int >(result
));
11786 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 PyObject
*resultobj
= 0;
11788 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11799 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 (arg1
)->SizeWindows();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_Py_Void();
11813 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11817 return SWIG_Py_Void();
11820 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 return SWIG_Python_InitShadowInstance(args
);
11824 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
= 0;
11826 int arg1
= (int) 0 ;
11827 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11828 wxSashEvent
*result
= 0 ;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char * kwnames
[] = {
11836 (char *) "id",(char *) "edge", NULL
11839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11842 if (!SWIG_IsOK(ecode1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11845 arg1
= static_cast< int >(val1
);
11848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11849 if (!SWIG_IsOK(ecode2
)) {
11850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11852 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11867 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11870 wxSashEdgePosition arg2
;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 char * kwnames
[] = {
11878 (char *) "self",(char *) "edge", NULL
11881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11886 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11888 if (!SWIG_IsOK(ecode2
)) {
11889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11891 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetEdge(arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_Py_Void();
11905 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11906 PyObject
*resultobj
= 0;
11907 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11908 wxSashEdgePosition result
;
11911 PyObject
*swig_obj
[1] ;
11913 if (!args
) SWIG_fail
;
11914 swig_obj
[0] = args
;
11915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11919 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_From_int(static_cast< int >(result
));
11933 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
= 0;
11935 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char * kwnames
[] = {
11943 (char *) "self",(char *) "rect", NULL
11946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11951 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_Py_Void();
11969 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11970 PyObject
*resultobj
= 0;
11971 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11975 PyObject
*swig_obj
[1] ;
11977 if (!args
) SWIG_fail
;
11978 swig_obj
[0] = args
;
11979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11980 if (!SWIG_IsOK(res1
)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11983 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11997 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
= 0;
11999 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12000 wxSashDragStatus arg2
;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char * kwnames
[] = {
12008 (char *) "self",(char *) "status", NULL
12011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12016 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12018 if (!SWIG_IsOK(ecode2
)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12021 arg2
= static_cast< wxSashDragStatus
>(val2
);
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->SetDragStatus(arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_Py_Void();
12035 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12036 PyObject
*resultobj
= 0;
12037 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12038 wxSashDragStatus result
;
12041 PyObject
*swig_obj
[1] ;
12043 if (!args
) SWIG_fail
;
12044 swig_obj
[0] = args
;
12045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12049 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_From_int(static_cast< int >(result
));
12063 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12066 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12067 return SWIG_Py_Void();
12070 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12071 return SWIG_Python_InitShadowInstance(args
);
12074 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 int arg1
= (int) 0 ;
12077 wxQueryLayoutInfoEvent
*result
= 0 ;
12080 PyObject
* obj0
= 0 ;
12081 char * kwnames
[] = {
12082 (char *) "id", NULL
12085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12088 if (!SWIG_IsOK(ecode1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12091 arg1
= static_cast< int >(val1
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12106 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
= 0;
12108 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char * kwnames
[] = {
12117 (char *) "self",(char *) "length", NULL
12120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12122 if (!SWIG_IsOK(res1
)) {
12123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12125 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12127 if (!SWIG_IsOK(ecode2
)) {
12128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12130 arg2
= static_cast< int >(val2
);
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 (arg1
)->SetRequestedLength(arg2
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= SWIG_Py_Void();
12144 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12145 PyObject
*resultobj
= 0;
12146 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12150 PyObject
*swig_obj
[1] ;
12152 if (!args
) SWIG_fail
;
12153 swig_obj
[0] = args
;
12154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12155 if (!SWIG_IsOK(res1
)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12158 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_From_int(static_cast< int >(result
));
12172 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
= 0;
12174 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 char * kwnames
[] = {
12183 (char *) "self",(char *) "flags", NULL
12186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12188 if (!SWIG_IsOK(res1
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12191 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12193 if (!SWIG_IsOK(ecode2
)) {
12194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12196 arg2
= static_cast< int >(val2
);
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 (arg1
)->SetFlags(arg2
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= SWIG_Py_Void();
12210 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12211 PyObject
*resultobj
= 0;
12212 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12216 PyObject
*swig_obj
[1] ;
12218 if (!args
) SWIG_fail
;
12219 swig_obj
[0] = args
;
12220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12224 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_From_int(static_cast< int >(result
));
12238 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
= 0;
12240 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 char * kwnames
[] = {
12248 (char *) "self",(char *) "size", NULL
12251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12256 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12259 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 (arg1
)->SetSize((wxSize
const &)*arg2
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_Py_Void();
12274 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12275 PyObject
*resultobj
= 0;
12276 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12280 PyObject
*swig_obj
[1] ;
12282 if (!args
) SWIG_fail
;
12283 swig_obj
[0] = args
;
12284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12288 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12302 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
= 0;
12304 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12305 wxLayoutOrientation arg2
;
12310 PyObject
* obj0
= 0 ;
12311 PyObject
* obj1
= 0 ;
12312 char * kwnames
[] = {
12313 (char *) "self",(char *) "orient", NULL
12316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12318 if (!SWIG_IsOK(res1
)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12321 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12323 if (!SWIG_IsOK(ecode2
)) {
12324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12326 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 (arg1
)->SetOrientation(arg2
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= SWIG_Py_Void();
12340 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12341 PyObject
*resultobj
= 0;
12342 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12343 wxLayoutOrientation result
;
12346 PyObject
*swig_obj
[1] ;
12348 if (!args
) SWIG_fail
;
12349 swig_obj
[0] = args
;
12350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12351 if (!SWIG_IsOK(res1
)) {
12352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12354 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_From_int(static_cast< int >(result
));
12368 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12371 wxLayoutAlignment arg2
;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char * kwnames
[] = {
12379 (char *) "self",(char *) "align", NULL
12382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12387 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12389 if (!SWIG_IsOK(ecode2
)) {
12390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12392 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->SetAlignment(arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_Py_Void();
12406 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12407 PyObject
*resultobj
= 0;
12408 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12409 wxLayoutAlignment result
;
12412 PyObject
*swig_obj
[1] ;
12414 if (!args
) SWIG_fail
;
12415 swig_obj
[0] = args
;
12416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12420 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_From_int(static_cast< int >(result
));
12434 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12437 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12438 return SWIG_Py_Void();
12441 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12442 return SWIG_Python_InitShadowInstance(args
);
12445 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 int arg1
= (int) 0 ;
12448 wxCalculateLayoutEvent
*result
= 0 ;
12451 PyObject
* obj0
= 0 ;
12452 char * kwnames
[] = {
12453 (char *) "id", NULL
12456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12458 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12459 if (!SWIG_IsOK(ecode1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12462 arg1
= static_cast< int >(val1
);
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12477 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
= 0;
12479 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 PyObject
* obj1
= 0 ;
12487 char * kwnames
[] = {
12488 (char *) "self",(char *) "flags", NULL
12491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12493 if (!SWIG_IsOK(res1
)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12496 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12498 if (!SWIG_IsOK(ecode2
)) {
12499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12501 arg2
= static_cast< int >(val2
);
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 (arg1
)->SetFlags(arg2
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_Py_Void();
12515 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12516 PyObject
*resultobj
= 0;
12517 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12521 PyObject
*swig_obj
[1] ;
12523 if (!args
) SWIG_fail
;
12524 swig_obj
[0] = args
;
12525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12529 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_From_int(static_cast< int >(result
));
12543 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
= 0;
12545 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 char * kwnames
[] = {
12553 (char *) "self",(char *) "rect", NULL
12556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12558 if (!SWIG_IsOK(res1
)) {
12559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12561 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12564 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 (arg1
)->SetRect((wxRect
const &)*arg2
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= SWIG_Py_Void();
12579 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12580 PyObject
*resultobj
= 0;
12581 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12585 PyObject
*swig_obj
[1] ;
12587 if (!args
) SWIG_fail
;
12588 swig_obj
[0] = args
;
12589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12590 if (!SWIG_IsOK(res1
)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12593 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12607 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12610 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12611 return SWIG_Py_Void();
12614 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 return SWIG_Python_InitShadowInstance(args
);
12618 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
= 0;
12620 wxWindow
*arg1
= (wxWindow
*) 0 ;
12621 int arg2
= (int) -1 ;
12622 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12623 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12624 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12625 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12626 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12627 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12628 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12629 wxSashLayoutWindow
*result
= 0 ;
12638 bool temp6
= false ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 PyObject
* obj2
= 0 ;
12642 PyObject
* obj3
= 0 ;
12643 PyObject
* obj4
= 0 ;
12644 PyObject
* obj5
= 0 ;
12645 char * kwnames
[] = {
12646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12657 if (!SWIG_IsOK(ecode2
)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12660 arg2
= static_cast< int >(val2
);
12665 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12671 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12675 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12676 if (!SWIG_IsOK(ecode5
)) {
12677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12679 arg5
= static_cast< long >(val5
);
12683 arg6
= wxString_in_helper(obj5
);
12684 if (arg6
== NULL
) SWIG_fail
;
12689 if (!wxPyCheckForApp()) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12710 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12711 PyObject
*resultobj
= 0;
12712 wxSashLayoutWindow
*result
= 0 ;
12714 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12716 if (!wxPyCheckForApp()) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12729 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
= 0;
12731 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12732 wxWindow
*arg2
= (wxWindow
*) 0 ;
12733 int arg3
= (int) -1 ;
12734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12738 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12739 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12752 bool temp7
= false ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 PyObject
* obj2
= 0 ;
12756 PyObject
* obj3
= 0 ;
12757 PyObject
* obj4
= 0 ;
12758 PyObject
* obj5
= 0 ;
12759 PyObject
* obj6
= 0 ;
12760 char * kwnames
[] = {
12761 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12766 if (!SWIG_IsOK(res1
)) {
12767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12769 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12771 if (!SWIG_IsOK(res2
)) {
12772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12777 if (!SWIG_IsOK(ecode3
)) {
12778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12780 arg3
= static_cast< int >(val3
);
12785 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12791 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12795 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12796 if (!SWIG_IsOK(ecode6
)) {
12797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12799 arg6
= static_cast< long >(val6
);
12803 arg7
= wxString_in_helper(obj6
);
12804 if (arg7
== NULL
) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12831 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12832 PyObject
*resultobj
= 0;
12833 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12834 wxLayoutAlignment result
;
12837 PyObject
*swig_obj
[1] ;
12839 if (!args
) SWIG_fail
;
12840 swig_obj
[0] = args
;
12841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12842 if (!SWIG_IsOK(res1
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12845 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_From_int(static_cast< int >(result
));
12859 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12860 PyObject
*resultobj
= 0;
12861 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12862 wxLayoutOrientation result
;
12865 PyObject
*swig_obj
[1] ;
12867 if (!args
) SWIG_fail
;
12868 swig_obj
[0] = args
;
12869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12870 if (!SWIG_IsOK(res1
)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12873 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_From_int(static_cast< int >(result
));
12887 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
= 0;
12889 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12890 wxLayoutAlignment arg2
;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 char * kwnames
[] = {
12898 (char *) "self",(char *) "alignment", NULL
12901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12903 if (!SWIG_IsOK(res1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12906 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12908 if (!SWIG_IsOK(ecode2
)) {
12909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12911 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 (arg1
)->SetAlignment(arg2
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_Py_Void();
12925 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
= 0;
12927 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char * kwnames
[] = {
12935 (char *) "self",(char *) "size", NULL
12938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12940 if (!SWIG_IsOK(res1
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12943 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_Py_Void();
12961 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
= 0;
12963 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12964 wxLayoutOrientation arg2
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char * kwnames
[] = {
12972 (char *) "self",(char *) "orientation", NULL
12975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12980 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12982 if (!SWIG_IsOK(ecode2
)) {
12983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12985 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->SetOrientation(arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_Py_Void();
12999 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13002 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
13003 return SWIG_Py_Void();
13006 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13007 return SWIG_Python_InitShadowInstance(args
);
13010 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13011 PyObject
*resultobj
= 0;
13012 wxLayoutAlgorithm
*result
= 0 ;
13014 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
13028 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13029 PyObject
*resultobj
= 0;
13030 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13033 PyObject
*swig_obj
[1] ;
13035 if (!args
) SWIG_fail
;
13036 swig_obj
[0] = args
;
13037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13038 if (!SWIG_IsOK(res1
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13041 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_Py_Void();
13056 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
= 0;
13058 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13059 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13060 wxRect
*arg3
= (wxRect
*) NULL
;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 PyObject
* obj2
= 0 ;
13071 char * kwnames
[] = {
13072 (char *) "self",(char *) "frame",(char *) "rect", NULL
13075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13077 if (!SWIG_IsOK(res1
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13080 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13082 if (!SWIG_IsOK(res2
)) {
13083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13085 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13087 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13088 if (!SWIG_IsOK(res3
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13091 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13108 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
= 0;
13110 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13111 wxFrame
*arg2
= (wxFrame
*) 0 ;
13112 wxWindow
*arg3
= (wxWindow
*) NULL
;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 PyObject
* obj2
= 0 ;
13123 char * kwnames
[] = {
13124 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13129 if (!SWIG_IsOK(res1
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13132 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13134 if (!SWIG_IsOK(res2
)) {
13135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13137 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13139 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13140 if (!SWIG_IsOK(res3
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13143 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13160 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
= 0;
13162 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13163 wxWindow
*arg2
= (wxWindow
*) 0 ;
13164 wxWindow
*arg3
= (wxWindow
*) NULL
;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 PyObject
* obj2
= 0 ;
13175 char * kwnames
[] = {
13176 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13181 if (!SWIG_IsOK(res1
)) {
13182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13184 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13186 if (!SWIG_IsOK(res2
)) {
13187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13191 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13192 if (!SWIG_IsOK(res3
)) {
13193 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13195 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13212 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13215 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13216 return SWIG_Py_Void();
13219 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13220 return SWIG_Python_InitShadowInstance(args
);
13223 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
= 0;
13225 wxWindow
*arg1
= (wxWindow
*) 0 ;
13226 int arg2
= (int) wxBORDER_NONE
;
13227 wxPopupWindow
*result
= 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char * kwnames
[] = {
13235 (char *) "parent",(char *) "flags", NULL
13238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13240 if (!SWIG_IsOK(res1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13246 if (!SWIG_IsOK(ecode2
)) {
13247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13249 arg2
= static_cast< int >(val2
);
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13264 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13265 PyObject
*resultobj
= 0;
13266 wxPopupWindow
*result
= 0 ;
13268 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (wxPopupWindow
*)new wxPopupWindow();
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13282 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13285 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13286 return SWIG_Py_Void();
13289 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13290 return SWIG_Python_InitShadowInstance(args
);
13293 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
= 0;
13295 wxWindow
*arg1
= (wxWindow
*) 0 ;
13296 int arg2
= (int) wxBORDER_NONE
;
13297 wxPyPopupTransientWindow
*result
= 0 ;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 char * kwnames
[] = {
13305 (char *) "parent",(char *) "style", NULL
13308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13316 if (!SWIG_IsOK(ecode2
)) {
13317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13319 arg2
= static_cast< int >(val2
);
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13334 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13335 PyObject
*resultobj
= 0;
13336 wxPyPopupTransientWindow
*result
= 0 ;
13338 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13352 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13355 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13356 return SWIG_Py_Void();
13359 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13360 return SWIG_Python_InitShadowInstance(args
);
13363 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
= 0;
13365 wxWindow
*arg1
= (wxWindow
*) 0 ;
13366 wxString
*arg2
= 0 ;
13367 int arg3
= (int) 100 ;
13368 wxRect
*arg4
= (wxRect
*) NULL
;
13369 wxTipWindow
*result
= 0 ;
13372 bool temp2
= false ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 PyObject
* obj2
= 0 ;
13380 PyObject
* obj3
= 0 ;
13381 char * kwnames
[] = {
13382 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13390 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13392 arg2
= wxString_in_helper(obj1
);
13393 if (arg2
== NULL
) SWIG_fail
;
13397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13398 if (!SWIG_IsOK(ecode3
)) {
13399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13401 arg3
= static_cast< int >(val3
);
13404 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13405 if (!SWIG_IsOK(res4
)) {
13406 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13408 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13411 if (!wxPyCheckForApp()) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13432 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
= 0;
13434 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 char * kwnames
[] = {
13442 (char *) "self",(char *) "rectBound", NULL
13445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13447 if (!SWIG_IsOK(res1
)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13450 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13453 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_Py_Void();
13468 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13470 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13473 PyObject
*swig_obj
[1] ;
13475 if (!args
) SWIG_fail
;
13476 swig_obj
[0] = args
;
13477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13478 if (!SWIG_IsOK(res1
)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13481 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= SWIG_Py_Void();
13495 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13498 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13499 return SWIG_Py_Void();
13502 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13503 return SWIG_Python_InitShadowInstance(args
);
13506 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
= 0;
13508 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13509 bool arg2
= (bool) true ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 char * kwnames
[] = {
13517 (char *) "self",(char *) "scrolling", NULL
13520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13525 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13527 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13528 if (!SWIG_IsOK(ecode2
)) {
13529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13531 arg2
= static_cast< bool >(val2
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 (arg1
)->EnablePhysicalScrolling(arg2
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= SWIG_Py_Void();
13546 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
= 0;
13548 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char * kwnames
[] = {
13558 (char *) "self",(char *) "coord", NULL
13561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13566 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13568 if (!SWIG_IsOK(ecode2
)) {
13569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13571 arg2
= static_cast< int >(val2
);
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->HitTest(arg2
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= SWIG_From_int(static_cast< int >(result
));
13585 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13586 PyObject
*resultobj
= 0;
13587 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13598 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 (arg1
)->RefreshAll();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_Py_Void();
13612 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13613 PyObject
*resultobj
= 0;
13614 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13618 PyObject
*swig_obj
[1] ;
13620 if (!args
) SWIG_fail
;
13621 swig_obj
[0] = args
;
13622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13623 if (!SWIG_IsOK(res1
)) {
13624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13626 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleBegin();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13640 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 PyObject
*resultobj
= 0;
13642 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13646 PyObject
*swig_obj
[1] ;
13648 if (!args
) SWIG_fail
;
13649 swig_obj
[0] = args
;
13650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13651 if (!SWIG_IsOK(res1
)) {
13652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13654 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleEnd();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13668 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 char * kwnames
[] = {
13680 (char *) "self",(char *) "unit", NULL
13683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13685 if (!SWIG_IsOK(res1
)) {
13686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13688 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13689 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13690 if (!SWIG_IsOK(ecode2
)) {
13691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13693 arg2
= static_cast< size_t >(val2
);
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (bool)((wxVarScrollHelperBase
const *)arg1
)->IsVisible(arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13709 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
= 0;
13711 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char * kwnames
[] = {
13721 (char *) "self",(char *) "coord", NULL
13724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13726 if (!SWIG_IsOK(res1
)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13729 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13731 if (!SWIG_IsOK(ecode2
)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13734 arg2
= static_cast< int >(val2
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcScrolledPosition(arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_From_int(static_cast< int >(result
));
13748 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 char * kwnames
[] = {
13760 (char *) "self",(char *) "coord", NULL
13763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13765 if (!SWIG_IsOK(res1
)) {
13766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13768 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13770 if (!SWIG_IsOK(ecode2
)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13773 arg2
= static_cast< int >(val2
);
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcUnscrolledPosition(arg2
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_From_int(static_cast< int >(result
));
13787 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13788 PyObject
*resultobj
= 0;
13789 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13792 PyObject
*swig_obj
[1] ;
13794 if (!args
) SWIG_fail
;
13795 swig_obj
[0] = args
;
13796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13797 if (!SWIG_IsOK(res1
)) {
13798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13800 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->UpdateScrollbar();
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_Py_Void();
13814 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13815 PyObject
*resultobj
= 0;
13816 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13819 PyObject
*swig_obj
[1] ;
13821 if (!args
) SWIG_fail
;
13822 swig_obj
[0] = args
;
13823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13824 if (!SWIG_IsOK(res1
)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13827 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->RemoveScrollbar();
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= SWIG_Py_Void();
13841 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
= 0;
13843 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13844 wxWindow
*arg2
= (wxWindow
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 char * kwnames
[] = {
13852 (char *) "self",(char *) "target", NULL
13855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13857 if (!SWIG_IsOK(res1
)) {
13858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13860 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13862 if (!SWIG_IsOK(res2
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 (arg1
)->SetTargetWindow(arg2
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_Py_Void();
13879 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13880 PyObject
*resultobj
= 0;
13881 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13882 wxWindow
*result
= 0 ;
13885 PyObject
*swig_obj
[1] ;
13887 if (!args
) SWIG_fail
;
13888 swig_obj
[0] = args
;
13889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13893 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (wxWindow
*)((wxVarScrollHelperBase
const *)arg1
)->GetTargetWindow();
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= wxPyMake_wxObject(result
, 0);
13909 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13910 PyObject
*resultobj
= 0;
13911 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13915 PyObject
*swig_obj
[1] ;
13917 if (!args
) SWIG_fail
;
13918 swig_obj
[0] = args
;
13919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13923 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetOrientationTargetSize();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_From_int(static_cast< int >(result
));
13937 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13938 PyObject
*resultobj
= 0;
13939 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13943 PyObject
*swig_obj
[1] ;
13945 if (!args
) SWIG_fail
;
13946 swig_obj
[0] = args
;
13947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13948 if (!SWIG_IsOK(res1
)) {
13949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13951 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetNonOrientationTargetSize();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_From_int(static_cast< int >(result
));
13965 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13966 PyObject
*resultobj
= 0;
13967 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13968 wxOrientation result
;
13971 PyObject
*swig_obj
[1] ;
13973 if (!args
) SWIG_fail
;
13974 swig_obj
[0] = args
;
13975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13976 if (!SWIG_IsOK(res1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13979 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (wxOrientation
)((wxVarScrollHelperBase
const *)arg1
)->GetOrientation();
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_From_int(static_cast< int >(result
));
13993 SWIGINTERN PyObject
*VarScrollHelperBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13996 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase
, SWIG_NewClientData(obj
));
13997 return SWIG_Py_Void();
14000 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_SetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char * kwnames
[] = {
14011 (char *) "self",(char *) "rowCount", NULL
14014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14019 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14021 if (!SWIG_IsOK(ecode2
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14024 arg2
= static_cast< size_t >(val2
);
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 (arg1
)->SetRowCount(arg2
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_Py_Void();
14038 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
= 0;
14040 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 PyObject
* obj1
= 0 ;
14049 char * kwnames
[] = {
14050 (char *) "self",(char *) "row", NULL
14053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14055 if (!SWIG_IsOK(res1
)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14058 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14059 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14060 if (!SWIG_IsOK(ecode2
)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14063 arg2
= static_cast< size_t >(val2
);
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (bool)(arg1
)->ScrollToRow(arg2
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14079 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
= 0;
14081 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 char * kwnames
[] = {
14091 (char *) "self",(char *) "rows", NULL
14094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14096 if (!SWIG_IsOK(res1
)) {
14097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14099 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14101 if (!SWIG_IsOK(ecode2
)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14104 arg2
= static_cast< int >(val2
);
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (bool)(arg1
)->ScrollRows(arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14120 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRowPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
= 0;
14122 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char * kwnames
[] = {
14132 (char *) "self",(char *) "pages", NULL
14135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14140 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14142 if (!SWIG_IsOK(ecode2
)) {
14143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14145 arg2
= static_cast< int >(val2
);
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (bool)(arg1
)->ScrollRowPages(arg2
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14161 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
= 0;
14163 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 char * kwnames
[] = {
14172 (char *) "self",(char *) "row", NULL
14175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14177 if (!SWIG_IsOK(res1
)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14180 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14181 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14182 if (!SWIG_IsOK(ecode2
)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14185 arg2
= static_cast< size_t >(val2
);
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 (arg1
)->RefreshRow(arg2
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_Py_Void();
14199 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
= 0;
14201 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 PyObject
* obj1
= 0 ;
14212 PyObject
* obj2
= 0 ;
14213 char * kwnames
[] = {
14214 (char *) "self",(char *) "from",(char *) "to", NULL
14217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14219 if (!SWIG_IsOK(res1
)) {
14220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14222 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14223 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14224 if (!SWIG_IsOK(ecode2
)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14227 arg2
= static_cast< size_t >(val2
);
14228 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14229 if (!SWIG_IsOK(ecode3
)) {
14230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14232 arg3
= static_cast< size_t >(val3
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 (arg1
)->RefreshRows(arg2
,arg3
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_Py_Void();
14246 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14260 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetRowCount();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14274 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14280 PyObject
*swig_obj
[1] ;
14282 if (!args
) SWIG_fail
;
14283 swig_obj
[0] = args
;
14284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14288 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsBegin();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14302 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14303 PyObject
*resultobj
= 0;
14304 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14308 PyObject
*swig_obj
[1] ;
14310 if (!args
) SWIG_fail
;
14311 swig_obj
[0] = args
;
14312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14316 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsEnd();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14330 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_IsRowVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
= 0;
14332 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 PyObject
* obj1
= 0 ;
14341 char * kwnames
[] = {
14342 (char *) "self",(char *) "row", NULL
14345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14350 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14351 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14352 if (!SWIG_IsOK(ecode2
)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14355 arg2
= static_cast< size_t >(val2
);
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (bool)((wxVarVScrollHelper
const *)arg1
)->IsRowVisible(arg2
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14371 SWIGINTERN PyObject
*VarVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14374 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper
, SWIG_NewClientData(obj
));
14375 return SWIG_Py_Void();
14378 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_SetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
= 0;
14380 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 PyObject
* obj1
= 0 ;
14388 char * kwnames
[] = {
14389 (char *) "self",(char *) "columnCount", NULL
14392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14394 if (!SWIG_IsOK(res1
)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14397 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14398 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14399 if (!SWIG_IsOK(ecode2
)) {
14400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14402 arg2
= static_cast< size_t >(val2
);
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 (arg1
)->SetColumnCount(arg2
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_Py_Void();
14416 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollToColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
= 0;
14418 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 char * kwnames
[] = {
14428 (char *) "self",(char *) "column", NULL
14431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14433 if (!SWIG_IsOK(res1
)) {
14434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14436 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14437 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14438 if (!SWIG_IsOK(ecode2
)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14441 arg2
= static_cast< size_t >(val2
);
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (bool)(arg1
)->ScrollToColumn(arg2
);
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
= 0;
14459 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 char * kwnames
[] = {
14469 (char *) "self",(char *) "columns", NULL
14472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14474 if (!SWIG_IsOK(res1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14477 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14479 if (!SWIG_IsOK(ecode2
)) {
14480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14482 arg2
= static_cast< int >(val2
);
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 result
= (bool)(arg1
)->ScrollColumns(arg2
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumnPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
= 0;
14500 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 PyObject
* obj1
= 0 ;
14509 char * kwnames
[] = {
14510 (char *) "self",(char *) "pages", NULL
14513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14515 if (!SWIG_IsOK(res1
)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14518 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14520 if (!SWIG_IsOK(ecode2
)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14523 arg2
= static_cast< int >(val2
);
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (bool)(arg1
)->ScrollColumnPages(arg2
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
= 0;
14541 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char * kwnames
[] = {
14550 (char *) "self",(char *) "column", NULL
14553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14558 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14559 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14560 if (!SWIG_IsOK(ecode2
)) {
14561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14563 arg2
= static_cast< size_t >(val2
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->RefreshColumn(arg2
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= SWIG_Py_Void();
14577 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
= 0;
14579 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14588 PyObject
* obj0
= 0 ;
14589 PyObject
* obj1
= 0 ;
14590 PyObject
* obj2
= 0 ;
14591 char * kwnames
[] = {
14592 (char *) "self",(char *) "from",(char *) "to", NULL
14595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14597 if (!SWIG_IsOK(res1
)) {
14598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14600 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14601 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14602 if (!SWIG_IsOK(ecode2
)) {
14603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14605 arg2
= static_cast< size_t >(val2
);
14606 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14607 if (!SWIG_IsOK(ecode3
)) {
14608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14610 arg3
= static_cast< size_t >(val3
);
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 (arg1
)->RefreshColumns(arg2
,arg3
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= SWIG_Py_Void();
14624 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14625 PyObject
*resultobj
= 0;
14626 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14630 PyObject
*swig_obj
[1] ;
14632 if (!args
) SWIG_fail
;
14633 swig_obj
[0] = args
;
14634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14635 if (!SWIG_IsOK(res1
)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14638 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetColumnCount();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14652 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14653 PyObject
*resultobj
= 0;
14654 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14658 PyObject
*swig_obj
[1] ;
14660 if (!args
) SWIG_fail
;
14661 swig_obj
[0] = args
;
14662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14666 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsBegin();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14680 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14681 PyObject
*resultobj
= 0;
14682 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14686 PyObject
*swig_obj
[1] ;
14688 if (!args
) SWIG_fail
;
14689 swig_obj
[0] = args
;
14690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14694 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsEnd();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14708 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_IsColumnVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
= 0;
14710 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char * kwnames
[] = {
14720 (char *) "self",(char *) "column", NULL
14723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14728 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14729 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14730 if (!SWIG_IsOK(ecode2
)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14733 arg2
= static_cast< size_t >(val2
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)((wxVarHScrollHelper
const *)arg1
)->IsColumnVisible(arg2
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14749 SWIGINTERN PyObject
*VarHScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14752 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper
, SWIG_NewClientData(obj
));
14753 return SWIG_Py_Void();
14756 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
= 0;
14758 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 PyObject
* obj2
= 0 ;
14770 char * kwnames
[] = {
14771 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14779 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14780 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14781 if (!SWIG_IsOK(ecode2
)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14784 arg2
= static_cast< size_t >(val2
);
14785 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14786 if (!SWIG_IsOK(ecode3
)) {
14787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14789 arg3
= static_cast< size_t >(val3
);
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 (arg1
)->SetRowColumnCount(arg2
,arg3
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= SWIG_Py_Void();
14803 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
= 0;
14805 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14806 bool arg2
= (bool) true ;
14807 bool arg3
= (bool) true ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 PyObject
* obj2
= 0 ;
14817 char * kwnames
[] = {
14818 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14823 if (!SWIG_IsOK(res1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14826 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14828 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14829 if (!SWIG_IsOK(ecode2
)) {
14830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14832 arg2
= static_cast< bool >(val2
);
14835 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14836 if (!SWIG_IsOK(ecode3
)) {
14837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14839 arg3
= static_cast< bool >(val3
);
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 (arg1
)->EnablePhysicalScrolling(arg2
,arg3
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_Py_Void();
14854 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
= 0;
14856 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14857 wxPosition
*arg2
= 0 ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 char * kwnames
[] = {
14866 (char *) "self",(char *) "pos", NULL
14869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14871 if (!SWIG_IsOK(res1
)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14874 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
14876 if (!SWIG_IsOK(res2
)) {
14877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14882 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (bool)(arg1
)->ScrollToRowColumn((wxPosition
const &)*arg2
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14898 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
= 0;
14900 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14901 wxPosition
*arg2
= 0 ;
14906 PyObject
* obj0
= 0 ;
14907 PyObject
* obj1
= 0 ;
14908 char * kwnames
[] = {
14909 (char *) "self",(char *) "pos", NULL
14912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14914 if (!SWIG_IsOK(res1
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14917 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
14919 if (!SWIG_IsOK(res2
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14925 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 (arg1
)->RefreshRowColumn((wxPosition
const &)*arg2
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_Py_Void();
14939 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
= 0;
14941 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14942 wxPosition
*arg2
= 0 ;
14943 wxPosition
*arg3
= 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 PyObject
* obj2
= 0 ;
14953 char * kwnames
[] = {
14954 (char *) "self",(char *) "from",(char *) "to", NULL
14957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14959 if (!SWIG_IsOK(res1
)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14962 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
14964 if (!SWIG_IsOK(res2
)) {
14965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
14968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
14970 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
14971 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPosition
, 0 | 0);
14972 if (!SWIG_IsOK(res3
)) {
14973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
14976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
14978 arg3
= reinterpret_cast< wxPosition
* >(argp3
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->RefreshRowsColumns((wxPosition
const &)*arg2
,(wxPosition
const &)*arg3
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_Py_Void();
14992 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
= 0;
14994 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14995 wxPoint
*arg2
= 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char * kwnames
[] = {
15003 (char *) "self",(char *) "pos", NULL
15006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15011 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= ((wxVarHVScrollHelper
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15029 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15030 PyObject
*resultobj
= 0;
15031 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15035 PyObject
*swig_obj
[1] ;
15037 if (!args
) SWIG_fail
;
15038 swig_obj
[0] = args
;
15039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15043 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)(arg1
)->ScrollLayout();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15059 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15060 PyObject
*resultobj
= 0;
15061 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15065 PyObject
*swig_obj
[1] ;
15067 if (!args
) SWIG_fail
;
15068 swig_obj
[0] = args
;
15069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15073 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetRowColumnCount();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15087 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15088 PyObject
*resultobj
= 0;
15089 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15093 PyObject
*swig_obj
[1] ;
15095 if (!args
) SWIG_fail
;
15096 swig_obj
[0] = args
;
15097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15098 if (!SWIG_IsOK(res1
)) {
15099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15101 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleBegin();
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15115 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 PyObject
*resultobj
= 0;
15117 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15121 PyObject
*swig_obj
[1] ;
15123 if (!args
) SWIG_fail
;
15124 swig_obj
[0] = args
;
15125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15129 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleEnd();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15143 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= 0;
15145 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15146 wxPosition
*arg2
= 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char * kwnames
[] = {
15155 (char *) "self",(char *) "pos", NULL
15158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15160 if (!SWIG_IsOK(res1
)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15163 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15165 if (!SWIG_IsOK(res2
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15171 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (bool)((wxVarHVScrollHelper
const *)arg1
)->IsVisible((wxPosition
const &)*arg2
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15187 SWIGINTERN PyObject
*VarHVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15190 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper
, SWIG_NewClientData(obj
));
15191 return SWIG_Py_Void();
15194 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
= 0;
15196 wxWindow
*arg1
= (wxWindow
*) 0 ;
15197 int arg2
= (int) wxID_ANY
;
15198 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15199 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15200 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15201 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15202 long arg5
= (long) 0 ;
15203 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15204 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15205 wxPyVScrolledWindow
*result
= 0 ;
15214 bool temp6
= false ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 PyObject
* obj2
= 0 ;
15218 PyObject
* obj3
= 0 ;
15219 PyObject
* obj4
= 0 ;
15220 PyObject
* obj5
= 0 ;
15221 char * kwnames
[] = {
15222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15233 if (!SWIG_IsOK(ecode2
)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15236 arg2
= static_cast< int >(val2
);
15241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15251 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15252 if (!SWIG_IsOK(ecode5
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15255 arg5
= static_cast< long >(val5
);
15259 arg6
= wxString_in_helper(obj5
);
15260 if (arg6
== NULL
) SWIG_fail
;
15265 if (!wxPyCheckForApp()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15286 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15287 PyObject
*resultobj
= 0;
15288 wxPyVScrolledWindow
*result
= 0 ;
15290 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
15292 if (!wxPyCheckForApp()) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15305 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
= 0;
15307 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15308 PyObject
*arg2
= (PyObject
*) 0 ;
15309 PyObject
*arg3
= (PyObject
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 PyObject
* obj1
= 0 ;
15314 PyObject
* obj2
= 0 ;
15315 char * kwnames
[] = {
15316 (char *) "self",(char *) "self",(char *) "_class", NULL
15319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15324 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= SWIG_Py_Void();
15340 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
= 0;
15342 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15343 wxWindow
*arg2
= (wxWindow
*) 0 ;
15344 int arg3
= (int) wxID_ANY
;
15345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15349 long arg6
= (long) 0 ;
15350 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15363 bool temp7
= false ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 PyObject
* obj4
= 0 ;
15369 PyObject
* obj5
= 0 ;
15370 PyObject
* obj6
= 0 ;
15371 char * kwnames
[] = {
15372 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15377 if (!SWIG_IsOK(res1
)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15380 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15382 if (!SWIG_IsOK(res2
)) {
15383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15385 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15388 if (!SWIG_IsOK(ecode3
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15391 arg3
= static_cast< int >(val3
);
15396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15406 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15407 if (!SWIG_IsOK(ecode6
)) {
15408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15410 arg6
= static_cast< long >(val6
);
15414 arg7
= wxString_in_helper(obj6
);
15415 if (arg7
== NULL
) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15442 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
= 0;
15444 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 PyObject
* obj2
= 0 ;
15457 char * kwnames
[] = {
15458 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15463 if (!SWIG_IsOK(res1
)) {
15464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15466 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15467 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15468 if (!SWIG_IsOK(ecode2
)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15471 arg2
= static_cast< size_t >(val2
);
15472 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15473 if (!SWIG_IsOK(ecode3
)) {
15474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15476 arg3
= static_cast< size_t >(val3
);
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_From_int(static_cast< int >(result
));
15490 SWIGINTERN PyObject
*_wrap_VScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15491 PyObject
*resultobj
= 0;
15492 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15496 PyObject
*swig_obj
[1] ;
15498 if (!args
) SWIG_fail
;
15499 swig_obj
[0] = args
;
15500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15501 if (!SWIG_IsOK(res1
)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15504 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_From_int(static_cast< int >(result
));
15518 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
= 0;
15520 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15521 wxPoint
*arg2
= 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 char * kwnames
[] = {
15529 (char *) "self",(char *) "pt", NULL
15532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15537 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_From_int(static_cast< int >(result
));
15555 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15558 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
15559 return SWIG_Py_Void();
15562 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15563 return SWIG_Python_InitShadowInstance(args
);
15566 SWIGINTERN PyObject
*_wrap_new_HScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
= 0;
15568 wxWindow
*arg1
= (wxWindow
*) 0 ;
15569 int arg2
= (int) wxID_ANY
;
15570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15574 long arg5
= (long) 0 ;
15575 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15577 wxPyHScrolledWindow
*result
= 0 ;
15586 bool temp6
= false ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 PyObject
* obj2
= 0 ;
15590 PyObject
* obj3
= 0 ;
15591 PyObject
* obj4
= 0 ;
15592 PyObject
* obj5
= 0 ;
15593 char * kwnames
[] = {
15594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15605 if (!SWIG_IsOK(ecode2
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15608 arg2
= static_cast< int >(val2
);
15613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15623 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15624 if (!SWIG_IsOK(ecode5
)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15627 arg5
= static_cast< long >(val5
);
15631 arg6
= wxString_in_helper(obj5
);
15632 if (arg6
== NULL
) SWIG_fail
;
15637 if (!wxPyCheckForApp()) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15658 SWIGINTERN PyObject
*_wrap_new_PreHScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15659 PyObject
*resultobj
= 0;
15660 wxPyHScrolledWindow
*result
= 0 ;
15662 if (!SWIG_Python_UnpackTuple(args
,"new_PreHScrolledWindow",0,0,0)) SWIG_fail
;
15664 if (!wxPyCheckForApp()) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15677 SWIGINTERN PyObject
*_wrap_HScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
= 0;
15679 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15680 PyObject
*arg2
= (PyObject
*) 0 ;
15681 PyObject
*arg3
= (PyObject
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 PyObject
* obj1
= 0 ;
15686 PyObject
* obj2
= 0 ;
15687 char * kwnames
[] = {
15688 (char *) "self",(char *) "self",(char *) "_class", NULL
15691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15693 if (!SWIG_IsOK(res1
)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15696 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_Py_Void();
15712 SWIGINTERN PyObject
*_wrap_HScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= 0;
15714 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15715 wxWindow
*arg2
= (wxWindow
*) 0 ;
15716 int arg3
= (int) wxID_ANY
;
15717 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15718 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15719 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15720 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15721 long arg6
= (long) 0 ;
15722 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15723 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15735 bool temp7
= false ;
15736 PyObject
* obj0
= 0 ;
15737 PyObject
* obj1
= 0 ;
15738 PyObject
* obj2
= 0 ;
15739 PyObject
* obj3
= 0 ;
15740 PyObject
* obj4
= 0 ;
15741 PyObject
* obj5
= 0 ;
15742 PyObject
* obj6
= 0 ;
15743 char * kwnames
[] = {
15744 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15749 if (!SWIG_IsOK(res1
)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15752 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15753 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15754 if (!SWIG_IsOK(res2
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15757 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15760 if (!SWIG_IsOK(ecode3
)) {
15761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15763 arg3
= static_cast< int >(val3
);
15768 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15774 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15778 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15779 if (!SWIG_IsOK(ecode6
)) {
15780 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15782 arg6
= static_cast< long >(val6
);
15786 arg7
= wxString_in_helper(obj6
);
15787 if (arg7
== NULL
) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15814 SWIGINTERN PyObject
*_wrap_HScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
= 0;
15816 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15817 wxPoint
*arg2
= 0 ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 char * kwnames
[] = {
15825 (char *) "self",(char *) "pt", NULL
15828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15830 if (!SWIG_IsOK(res1
)) {
15831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15833 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_From_int(static_cast< int >(result
));
15851 SWIGINTERN PyObject
*_wrap_HScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
= 0;
15853 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15863 PyObject
* obj0
= 0 ;
15864 PyObject
* obj1
= 0 ;
15865 PyObject
* obj2
= 0 ;
15866 char * kwnames
[] = {
15867 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
15870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15872 if (!SWIG_IsOK(res1
)) {
15873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15875 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15876 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15877 if (!SWIG_IsOK(ecode2
)) {
15878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
15880 arg2
= static_cast< size_t >(val2
);
15881 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15882 if (!SWIG_IsOK(ecode3
)) {
15883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
15885 arg3
= static_cast< size_t >(val3
);
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= SWIG_From_int(static_cast< int >(result
));
15899 SWIGINTERN PyObject
*_wrap_HScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15900 PyObject
*resultobj
= 0;
15901 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15905 PyObject
*swig_obj
[1] ;
15907 if (!args
) SWIG_fail
;
15908 swig_obj
[0] = args
;
15909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15910 if (!SWIG_IsOK(res1
)) {
15911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15913 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->EstimateTotalWidth();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_From_int(static_cast< int >(result
));
15927 SWIGINTERN PyObject
*HScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_NewClientData(obj
));
15931 return SWIG_Py_Void();
15934 SWIGINTERN PyObject
*HScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15935 return SWIG_Python_InitShadowInstance(args
);
15938 SWIGINTERN PyObject
*_wrap_new_HVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
= 0;
15940 wxWindow
*arg1
= (wxWindow
*) 0 ;
15941 int arg2
= (int) wxID_ANY
;
15942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15946 long arg5
= (long) 0 ;
15947 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15948 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15949 wxPyHVScrolledWindow
*result
= 0 ;
15958 bool temp6
= false ;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 PyObject
* obj2
= 0 ;
15962 PyObject
* obj3
= 0 ;
15963 PyObject
* obj4
= 0 ;
15964 PyObject
* obj5
= 0 ;
15965 char * kwnames
[] = {
15966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15971 if (!SWIG_IsOK(res1
)) {
15972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15977 if (!SWIG_IsOK(ecode2
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15980 arg2
= static_cast< int >(val2
);
15985 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15991 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15995 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15996 if (!SWIG_IsOK(ecode5
)) {
15997 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15999 arg5
= static_cast< long >(val5
);
16003 arg6
= wxString_in_helper(obj5
);
16004 if (arg6
== NULL
) SWIG_fail
;
16009 if (!wxPyCheckForApp()) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
16030 SWIGINTERN PyObject
*_wrap_new_PreHVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16031 PyObject
*resultobj
= 0;
16032 wxPyHVScrolledWindow
*result
= 0 ;
16034 if (!SWIG_Python_UnpackTuple(args
,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail
;
16036 if (!wxPyCheckForApp()) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
16049 SWIGINTERN PyObject
*_wrap_HVScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16051 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16052 PyObject
*arg2
= (PyObject
*) 0 ;
16053 PyObject
*arg3
= (PyObject
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 PyObject
* obj2
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "self",(char *) "self",(char *) "_class", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16065 if (!SWIG_IsOK(res1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16068 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_Py_Void();
16084 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
= 0;
16086 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16087 wxWindow
*arg2
= (wxWindow
*) 0 ;
16088 int arg3
= (int) wxID_ANY
;
16089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16093 long arg6
= (long) 0 ;
16094 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
16095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16107 bool temp7
= false ;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 PyObject
* obj2
= 0 ;
16111 PyObject
* obj3
= 0 ;
16112 PyObject
* obj4
= 0 ;
16113 PyObject
* obj5
= 0 ;
16114 PyObject
* obj6
= 0 ;
16115 char * kwnames
[] = {
16116 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16121 if (!SWIG_IsOK(res1
)) {
16122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16124 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16126 if (!SWIG_IsOK(res2
)) {
16127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16132 if (!SWIG_IsOK(ecode3
)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16135 arg3
= static_cast< int >(val3
);
16140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16150 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16151 if (!SWIG_IsOK(ecode6
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16154 arg6
= static_cast< long >(val6
);
16158 arg7
= wxString_in_helper(obj6
);
16159 if (arg7
== NULL
) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16186 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
= 0;
16188 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 PyObject
* obj2
= 0 ;
16201 char * kwnames
[] = {
16202 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16210 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16211 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16212 if (!SWIG_IsOK(ecode2
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16215 arg2
= static_cast< size_t >(val2
);
16216 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16217 if (!SWIG_IsOK(ecode3
)) {
16218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16220 arg3
= static_cast< size_t >(val3
);
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= SWIG_From_int(static_cast< int >(result
));
16234 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16235 PyObject
*resultobj
= 0;
16236 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16240 PyObject
*swig_obj
[1] ;
16242 if (!args
) SWIG_fail
;
16243 swig_obj
[0] = args
;
16244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16245 if (!SWIG_IsOK(res1
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16248 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_From_int(static_cast< int >(result
));
16262 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 PyObject
* obj2
= 0 ;
16277 char * kwnames
[] = {
16278 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16286 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16287 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16288 if (!SWIG_IsOK(ecode2
)) {
16289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16291 arg2
= static_cast< size_t >(val2
);
16292 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16293 if (!SWIG_IsOK(ecode3
)) {
16294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16296 arg3
= static_cast< size_t >(val3
);
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= SWIG_From_int(static_cast< int >(result
));
16310 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16311 PyObject
*resultobj
= 0;
16312 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16316 PyObject
*swig_obj
[1] ;
16318 if (!args
) SWIG_fail
;
16319 swig_obj
[0] = args
;
16320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16321 if (!SWIG_IsOK(res1
)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16324 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= SWIG_From_int(static_cast< int >(result
));
16338 SWIGINTERN PyObject
*HVScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_NewClientData(obj
));
16342 return SWIG_Py_Void();
16345 SWIGINTERN PyObject
*HVScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16346 return SWIG_Python_InitShadowInstance(args
);
16349 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
16350 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
16355 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
16356 PyObject
*pyobj
= 0;
16360 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16362 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16369 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
= 0;
16371 wxWindow
*arg1
= (wxWindow
*) 0 ;
16372 int arg2
= (int) wxID_ANY
;
16373 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16374 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16375 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16376 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16377 long arg5
= (long) 0 ;
16378 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
16379 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16380 wxPyVListBox
*result
= 0 ;
16389 bool temp6
= false ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 PyObject
* obj2
= 0 ;
16393 PyObject
* obj3
= 0 ;
16394 PyObject
* obj4
= 0 ;
16395 PyObject
* obj5
= 0 ;
16396 char * kwnames
[] = {
16397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16402 if (!SWIG_IsOK(res1
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16408 if (!SWIG_IsOK(ecode2
)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16411 arg2
= static_cast< int >(val2
);
16416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16426 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16427 if (!SWIG_IsOK(ecode5
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16430 arg5
= static_cast< long >(val5
);
16434 arg6
= wxString_in_helper(obj5
);
16435 if (arg6
== NULL
) SWIG_fail
;
16440 if (!wxPyCheckForApp()) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
16461 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16462 PyObject
*resultobj
= 0;
16463 wxPyVListBox
*result
= 0 ;
16465 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
16467 if (!wxPyCheckForApp()) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (wxPyVListBox
*)new wxPyVListBox();
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
16480 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
= 0;
16482 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16483 PyObject
*arg2
= (PyObject
*) 0 ;
16484 PyObject
*arg3
= (PyObject
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 PyObject
* obj2
= 0 ;
16490 char * kwnames
[] = {
16491 (char *) "self",(char *) "self",(char *) "_class", NULL
16494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16496 if (!SWIG_IsOK(res1
)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16499 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_Py_Void();
16515 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
= 0;
16517 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16518 wxWindow
*arg2
= (wxWindow
*) 0 ;
16519 int arg3
= (int) wxID_ANY
;
16520 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16521 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16522 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16523 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16524 long arg6
= (long) 0 ;
16525 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
16526 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16538 bool temp7
= false ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 PyObject
* obj3
= 0 ;
16543 PyObject
* obj4
= 0 ;
16544 PyObject
* obj5
= 0 ;
16545 PyObject
* obj6
= 0 ;
16546 char * kwnames
[] = {
16547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16552 if (!SWIG_IsOK(res1
)) {
16553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16555 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16556 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16557 if (!SWIG_IsOK(res2
)) {
16558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16560 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16563 if (!SWIG_IsOK(ecode3
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16566 arg3
= static_cast< int >(val3
);
16571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16581 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16582 if (!SWIG_IsOK(ecode6
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16585 arg6
= static_cast< long >(val6
);
16589 arg7
= wxString_in_helper(obj6
);
16590 if (arg7
== NULL
) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16617 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16623 PyObject
*swig_obj
[1] ;
16625 if (!args
) SWIG_fail
;
16626 swig_obj
[0] = args
;
16627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16628 if (!SWIG_IsOK(res1
)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16631 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16645 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16646 PyObject
*resultobj
= 0;
16647 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16651 PyObject
*swig_obj
[1] ;
16653 if (!args
) SWIG_fail
;
16654 swig_obj
[0] = args
;
16655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16656 if (!SWIG_IsOK(res1
)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16659 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16675 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16676 PyObject
*resultobj
= 0;
16677 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16681 PyObject
*swig_obj
[1] ;
16683 if (!args
) SWIG_fail
;
16684 swig_obj
[0] = args
;
16685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16686 if (!SWIG_IsOK(res1
)) {
16687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16689 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_From_int(static_cast< int >(result
));
16703 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
= 0;
16705 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char * kwnames
[] = {
16715 (char *) "self",(char *) "item", NULL
16718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16720 if (!SWIG_IsOK(res1
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16723 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16724 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16725 if (!SWIG_IsOK(ecode2
)) {
16726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16728 arg2
= static_cast< size_t >(val2
);
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16744 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
= 0;
16746 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char * kwnames
[] = {
16756 (char *) "self",(char *) "item", NULL
16759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16761 if (!SWIG_IsOK(res1
)) {
16762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16764 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16765 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16766 if (!SWIG_IsOK(ecode2
)) {
16767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16769 arg2
= static_cast< size_t >(val2
);
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16785 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16786 PyObject
*resultobj
= 0;
16787 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16791 PyObject
*swig_obj
[1] ;
16793 if (!args
) SWIG_fail
;
16794 swig_obj
[0] = args
;
16795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16799 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16813 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16814 PyObject
*resultobj
= 0;
16815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16816 PyObject
*result
= 0 ;
16819 PyObject
*swig_obj
[1] ;
16821 if (!args
) SWIG_fail
;
16822 swig_obj
[0] = args
;
16823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16824 if (!SWIG_IsOK(res1
)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16827 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
;
16841 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16844 unsigned long arg2
;
16845 PyObject
*result
= 0 ;
16848 unsigned long val2
;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 char * kwnames
[] = {
16853 (char *) "self",(char *) "cookie", NULL
16856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16858 if (!SWIG_IsOK(res1
)) {
16859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16861 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16862 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16863 if (!SWIG_IsOK(ecode2
)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
16866 arg2
= static_cast< unsigned long >(val2
);
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= result
;
16880 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16881 PyObject
*resultobj
= 0;
16882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16886 PyObject
*swig_obj
[1] ;
16888 if (!args
) SWIG_fail
;
16889 swig_obj
[0] = args
;
16890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16894 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16908 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16909 PyObject
*resultobj
= 0;
16910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16911 wxColour
*result
= 0 ;
16914 PyObject
*swig_obj
[1] ;
16916 if (!args
) SWIG_fail
;
16917 swig_obj
[0] = args
;
16918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16922 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
16927 result
= (wxColour
*) &_result_ref
;
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
16939 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= 0;
16941 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 PyObject
* obj1
= 0 ;
16949 char * kwnames
[] = {
16950 (char *) "self",(char *) "count", NULL
16953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16955 if (!SWIG_IsOK(res1
)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16958 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16959 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16960 if (!SWIG_IsOK(ecode2
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
16963 arg2
= static_cast< size_t >(val2
);
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 (arg1
)->SetItemCount(arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_Py_Void();
16977 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16978 PyObject
*resultobj
= 0;
16979 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16982 PyObject
*swig_obj
[1] ;
16984 if (!args
) SWIG_fail
;
16985 swig_obj
[0] = args
;
16986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16987 if (!SWIG_IsOK(res1
)) {
16988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16990 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= SWIG_Py_Void();
17004 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char * kwnames
[] = {
17015 (char *) "self",(char *) "selection", NULL
17018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17020 if (!SWIG_IsOK(res1
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17023 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17025 if (!SWIG_IsOK(ecode2
)) {
17026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17028 arg2
= static_cast< int >(val2
);
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 (arg1
)->SetSelection(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_Py_Void();
17042 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
= 0;
17044 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17046 bool arg3
= (bool) true ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 PyObject
* obj2
= 0 ;
17057 char * kwnames
[] = {
17058 (char *) "self",(char *) "item",(char *) "select", NULL
17061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17063 if (!SWIG_IsOK(res1
)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17066 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17067 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17068 if (!SWIG_IsOK(ecode2
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17071 arg2
= static_cast< size_t >(val2
);
17073 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17074 if (!SWIG_IsOK(ecode3
)) {
17075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17077 arg3
= static_cast< bool >(val3
);
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (bool)(arg1
)->Select(arg2
,arg3
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17094 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
= 0;
17096 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 PyObject
* obj2
= 0 ;
17109 char * kwnames
[] = {
17110 (char *) "self",(char *) "from",(char *) "to", NULL
17113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17115 if (!SWIG_IsOK(res1
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17118 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17119 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17120 if (!SWIG_IsOK(ecode2
)) {
17121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17123 arg2
= static_cast< size_t >(val2
);
17124 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
17125 if (!SWIG_IsOK(ecode3
)) {
17126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17128 arg3
= static_cast< size_t >(val3
);
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17144 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
= 0;
17146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 PyObject
* obj1
= 0 ;
17154 char * kwnames
[] = {
17155 (char *) "self",(char *) "item", NULL
17158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17160 if (!SWIG_IsOK(res1
)) {
17161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17163 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17164 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17165 if (!SWIG_IsOK(ecode2
)) {
17166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17168 arg2
= static_cast< size_t >(val2
);
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 (arg1
)->Toggle(arg2
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= SWIG_Py_Void();
17182 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17183 PyObject
*resultobj
= 0;
17184 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17188 PyObject
*swig_obj
[1] ;
17190 if (!args
) SWIG_fail
;
17191 swig_obj
[0] = args
;
17192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17193 if (!SWIG_IsOK(res1
)) {
17194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17196 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (bool)(arg1
)->SelectAll();
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17212 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17213 PyObject
*resultobj
= 0;
17214 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17218 PyObject
*swig_obj
[1] ;
17220 if (!args
) SWIG_fail
;
17221 swig_obj
[0] = args
;
17222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17223 if (!SWIG_IsOK(res1
)) {
17224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17226 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (bool)(arg1
)->DeselectAll();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
= 0;
17244 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17245 wxPoint
*arg2
= 0 ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char * kwnames
[] = {
17252 (char *) "self",(char *) "pt", NULL
17255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17257 if (!SWIG_IsOK(res1
)) {
17258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17260 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_Py_Void();
17278 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
= 0;
17280 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 PyObject
* obj2
= 0 ;
17292 char * kwnames
[] = {
17293 (char *) "self",(char *) "x",(char *) "y", NULL
17296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17298 if (!SWIG_IsOK(res1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17303 if (!SWIG_IsOK(ecode2
)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17306 arg2
= static_cast< int >(val2
);
17307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17308 if (!SWIG_IsOK(ecode3
)) {
17309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17311 arg3
= static_cast< int >(val3
);
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->SetMargins(arg2
,arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= SWIG_Py_Void();
17325 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
= 0;
17327 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17328 wxColour
*arg2
= 0 ;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char * kwnames
[] = {
17335 (char *) "self",(char *) "col", NULL
17338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17340 if (!SWIG_IsOK(res1
)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17343 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= SWIG_Py_Void();
17361 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17362 PyObject
*resultobj
= 0;
17363 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17366 PyObject
*swig_obj
[1] ;
17368 if (!args
) SWIG_fail
;
17369 swig_obj
[0] = args
;
17370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17371 if (!SWIG_IsOK(res1
)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17374 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 (arg1
)->RefreshSelected();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_Py_Void();
17388 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 PyObject
* obj2
= 0 ;
17404 PyObject
* obj3
= 0 ;
17405 char * kwnames
[] = {
17406 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17411 if (!SWIG_IsOK(res1
)) {
17412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17414 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17416 if (!SWIG_IsOK(res2
)) {
17417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17422 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17425 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17427 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17428 if (!SWIG_IsOK(ecode4
)) {
17429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17431 arg4
= static_cast< size_t >(val4
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_Py_Void();
17445 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
= 0;
17447 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 PyObject
* obj2
= 0 ;
17461 PyObject
* obj3
= 0 ;
17462 char * kwnames
[] = {
17463 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17468 if (!SWIG_IsOK(res1
)) {
17469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17471 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17473 if (!SWIG_IsOK(res2
)) {
17474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17479 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17482 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17484 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17485 if (!SWIG_IsOK(ecode4
)) {
17486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17488 arg4
= static_cast< size_t >(val4
);
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= SWIG_Py_Void();
17502 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
17506 return SWIG_Py_Void();
17509 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17510 return SWIG_Python_InitShadowInstance(args
);
17513 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
= 0;
17515 wxWindow
*arg1
= (wxWindow
*) 0 ;
17516 int arg2
= (int) wxID_ANY
;
17517 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17518 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17519 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17520 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17521 long arg5
= (long) 0 ;
17522 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
17523 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17524 wxPyHtmlListBox
*result
= 0 ;
17533 bool temp6
= false ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 PyObject
* obj2
= 0 ;
17537 PyObject
* obj3
= 0 ;
17538 PyObject
* obj4
= 0 ;
17539 PyObject
* obj5
= 0 ;
17540 char * kwnames
[] = {
17541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17546 if (!SWIG_IsOK(res1
)) {
17547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17552 if (!SWIG_IsOK(ecode2
)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17555 arg2
= static_cast< int >(val2
);
17560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17570 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17571 if (!SWIG_IsOK(ecode5
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17574 arg5
= static_cast< long >(val5
);
17578 arg6
= wxString_in_helper(obj5
);
17579 if (arg6
== NULL
) SWIG_fail
;
17584 if (!wxPyCheckForApp()) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
17605 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 PyObject
*resultobj
= 0;
17607 wxPyHtmlListBox
*result
= 0 ;
17609 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
17611 if (!wxPyCheckForApp()) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
17624 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
= 0;
17626 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17627 PyObject
*arg2
= (PyObject
*) 0 ;
17628 PyObject
*arg3
= (PyObject
*) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 PyObject
* obj2
= 0 ;
17634 char * kwnames
[] = {
17635 (char *) "self",(char *) "self",(char *) "_class", NULL
17638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17640 if (!SWIG_IsOK(res1
)) {
17641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17643 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_Py_Void();
17659 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
= 0;
17661 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17662 wxWindow
*arg2
= (wxWindow
*) 0 ;
17663 int arg3
= (int) wxID_ANY
;
17664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17668 long arg6
= (long) 0 ;
17669 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
17670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17682 bool temp7
= false ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 PyObject
* obj2
= 0 ;
17686 PyObject
* obj3
= 0 ;
17687 PyObject
* obj4
= 0 ;
17688 PyObject
* obj5
= 0 ;
17689 PyObject
* obj6
= 0 ;
17690 char * kwnames
[] = {
17691 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17696 if (!SWIG_IsOK(res1
)) {
17697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17699 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17701 if (!SWIG_IsOK(res2
)) {
17702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17707 if (!SWIG_IsOK(ecode3
)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17710 arg3
= static_cast< int >(val3
);
17715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17725 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17726 if (!SWIG_IsOK(ecode6
)) {
17727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17729 arg6
= static_cast< long >(val6
);
17733 arg7
= wxString_in_helper(obj6
);
17734 if (arg7
== NULL
) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17761 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
= 0;
17763 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 PyObject
* obj1
= 0 ;
17771 char * kwnames
[] = {
17772 (char *) "self",(char *) "count", NULL
17775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17777 if (!SWIG_IsOK(res1
)) {
17778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17780 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17781 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17782 if (!SWIG_IsOK(ecode2
)) {
17783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17785 arg2
= static_cast< size_t >(val2
);
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->SetItemCount(arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_Py_Void();
17799 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17800 PyObject
*resultobj
= 0;
17801 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17802 wxFileSystem
*result
= 0 ;
17805 PyObject
*swig_obj
[1] ;
17807 if (!args
) SWIG_fail
;
17808 swig_obj
[0] = args
;
17809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17810 if (!SWIG_IsOK(res1
)) {
17811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17813 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
17818 result
= (wxFileSystem
*) &_result_ref
;
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
17830 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
= 0;
17832 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17834 wxHtmlLinkInfo
*arg3
= 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 char * kwnames
[] = {
17845 (char *) "self",(char *) "n",(char *) "link", NULL
17848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17850 if (!SWIG_IsOK(res1
)) {
17851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17853 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17854 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17855 if (!SWIG_IsOK(ecode2
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
17858 arg2
= static_cast< size_t >(val2
);
17859 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
17860 if (!SWIG_IsOK(res3
)) {
17861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17866 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_Py_Void();
17880 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
17884 return SWIG_Py_Void();
17887 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17888 return SWIG_Python_InitShadowInstance(args
);
17891 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
17892 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
17897 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
17898 PyObject
*pyobj
= 0;
17902 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
17904 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
17911 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
= 0;
17913 wxWindow
*arg1
= (wxWindow
*) 0 ;
17914 int arg2
= (int) -1 ;
17915 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17916 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17917 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17918 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17919 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
17920 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
17921 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
17922 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17923 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17924 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
17925 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17926 wxSimpleHtmlListBox
*result
= 0 ;
17933 bool temp5
= false ;
17938 bool temp8
= false ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 PyObject
* obj3
= 0 ;
17943 PyObject
* obj4
= 0 ;
17944 PyObject
* obj5
= 0 ;
17945 PyObject
* obj6
= 0 ;
17946 PyObject
* obj7
= 0 ;
17947 char * kwnames
[] = {
17948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
17951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17956 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17959 if (!SWIG_IsOK(ecode2
)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
17962 arg2
= static_cast< int >(val2
);
17967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17973 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17978 if (! PySequence_Check(obj4
)) {
17979 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17982 arg5
= new wxArrayString
;
17984 int i
, len
=PySequence_Length(obj4
);
17985 for (i
=0; i
<len
; i
++) {
17986 PyObject
* item
= PySequence_GetItem(obj4
, i
);
17987 wxString
* s
= wxString_in_helper(item
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17996 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17997 if (!SWIG_IsOK(ecode6
)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18000 arg6
= static_cast< long >(val6
);
18003 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18004 if (!SWIG_IsOK(res7
)) {
18005 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18010 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18014 arg8
= wxString_in_helper(obj7
);
18015 if (arg8
== NULL
) SWIG_fail
;
18020 if (!wxPyCheckForApp()) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
18028 if (temp5
) delete arg5
;
18037 if (temp5
) delete arg5
;
18047 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18048 PyObject
*resultobj
= 0;
18049 wxSimpleHtmlListBox
*result
= 0 ;
18051 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
18053 if (!wxPyCheckForApp()) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
18066 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
= 0;
18068 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
18069 wxWindow
*arg2
= (wxWindow
*) 0 ;
18070 int arg3
= (int) -1 ;
18071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18075 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
18076 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
18077 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
18078 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18079 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18080 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18081 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18091 bool temp6
= false ;
18096 bool temp9
= false ;
18097 PyObject
* obj0
= 0 ;
18098 PyObject
* obj1
= 0 ;
18099 PyObject
* obj2
= 0 ;
18100 PyObject
* obj3
= 0 ;
18101 PyObject
* obj4
= 0 ;
18102 PyObject
* obj5
= 0 ;
18103 PyObject
* obj6
= 0 ;
18104 PyObject
* obj7
= 0 ;
18105 PyObject
* obj8
= 0 ;
18106 char * kwnames
[] = {
18107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
18112 if (!SWIG_IsOK(res1
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18115 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
18116 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18117 if (!SWIG_IsOK(res2
)) {
18118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18120 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18123 if (!SWIG_IsOK(ecode3
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18126 arg3
= static_cast< int >(val3
);
18131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18142 if (! PySequence_Check(obj5
)) {
18143 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18146 arg6
= new wxArrayString
;
18148 int i
, len
=PySequence_Length(obj5
);
18149 for (i
=0; i
<len
; i
++) {
18150 PyObject
* item
= PySequence_GetItem(obj5
, i
);
18151 wxString
* s
= wxString_in_helper(item
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18160 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18161 if (!SWIG_IsOK(ecode7
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18164 arg7
= static_cast< long >(val7
);
18167 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18168 if (!SWIG_IsOK(res8
)) {
18169 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18174 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18178 arg9
= wxString_in_helper(obj8
);
18179 if (arg9
== NULL
) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18193 if (temp6
) delete arg6
;
18202 if (temp6
) delete arg6
;
18212 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18215 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
18216 return SWIG_Py_Void();
18219 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18220 return SWIG_Python_InitShadowInstance(args
);
18223 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18224 PyObject
*resultobj
= 0;
18225 wxPyTaskBarIcon
*result
= 0 ;
18227 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
18229 if (!wxPyCheckForApp()) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
18242 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18243 PyObject
*resultobj
= 0;
18244 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18247 PyObject
*swig_obj
[1] ;
18249 if (!args
) SWIG_fail
;
18250 swig_obj
[0] = args
;
18251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18255 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_Py_Void();
18270 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
= 0;
18272 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18273 PyObject
*arg2
= (PyObject
*) 0 ;
18274 PyObject
*arg3
= (PyObject
*) 0 ;
18275 int arg4
= (int) 0 ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 PyObject
* obj2
= 0 ;
18283 PyObject
* obj3
= 0 ;
18284 char * kwnames
[] = {
18285 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18293 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18298 if (!SWIG_IsOK(ecode4
)) {
18299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18301 arg4
= static_cast< int >(val4
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_Py_Void();
18316 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18321 PyObject
*swig_obj
[1] ;
18323 if (!args
) SWIG_fail
;
18324 swig_obj
[0] = args
;
18325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18326 if (!SWIG_IsOK(res1
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18329 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 wxPyTaskBarIcon_Destroy(arg1
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_Py_Void();
18343 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18344 PyObject
*resultobj
= 0;
18345 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18349 PyObject
*swig_obj
[1] ;
18351 if (!args
) SWIG_fail
;
18352 swig_obj
[0] = args
;
18353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18354 if (!SWIG_IsOK(res1
)) {
18355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18357 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18373 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18374 PyObject
*resultobj
= 0;
18375 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18379 PyObject
*swig_obj
[1] ;
18381 if (!args
) SWIG_fail
;
18382 swig_obj
[0] = args
;
18383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18384 if (!SWIG_IsOK(res1
)) {
18385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18387 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18403 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
= 0;
18405 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18407 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18408 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18414 bool temp3
= false ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 PyObject
* obj2
= 0 ;
18418 char * kwnames
[] = {
18419 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18424 if (!SWIG_IsOK(res1
)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18427 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18429 if (!SWIG_IsOK(res2
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18435 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18438 arg3
= wxString_in_helper(obj2
);
18439 if (arg3
== NULL
) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18466 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18467 PyObject
*resultobj
= 0;
18468 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18472 PyObject
*swig_obj
[1] ;
18474 if (!args
) SWIG_fail
;
18475 swig_obj
[0] = args
;
18476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18480 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (bool)(arg1
)->RemoveIcon();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18496 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
= 0;
18498 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18499 wxMenu
*arg2
= (wxMenu
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "menu", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18516 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
18518 if (!SWIG_IsOK(res2
)) {
18519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18521 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (bool)(arg1
)->PopupMenu(arg2
);
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18537 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18540 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
18541 return SWIG_Py_Void();
18544 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18545 return SWIG_Python_InitShadowInstance(args
);
18548 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
= 0;
18551 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
18552 wxTaskBarIconEvent
*result
= 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 char * kwnames
[] = {
18560 (char *) "evtType",(char *) "tbIcon", NULL
18563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18565 if (!SWIG_IsOK(ecode1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18568 arg1
= static_cast< wxEventType
>(val1
);
18569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
18570 if (!SWIG_IsOK(res2
)) {
18571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18573 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
18587 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18590 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
18591 return SWIG_Py_Void();
18594 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18595 return SWIG_Python_InitShadowInstance(args
);
18598 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
18599 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
18604 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
18605 PyObject
*pyobj
= 0;
18609 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18611 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18618 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
18619 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
18624 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
18625 PyObject
*pyobj
= 0;
18629 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18631 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18638 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
18639 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
18644 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
18645 PyObject
*pyobj
= 0;
18649 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18651 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18658 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
18659 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
18664 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
18665 PyObject
*pyobj
= 0;
18669 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18671 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18678 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
18679 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
18684 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
18685 PyObject
*pyobj
= 0;
18689 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18691 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18698 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
18699 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
18704 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
18705 PyObject
*pyobj
= 0;
18709 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18711 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18718 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18719 PyObject
*resultobj
= 0;
18720 wxColourData
*result
= 0 ;
18722 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (wxColourData
*)new wxColourData();
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
18736 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18737 PyObject
*resultobj
= 0;
18738 wxColourData
*arg1
= (wxColourData
*) 0 ;
18741 PyObject
*swig_obj
[1] ;
18743 if (!args
) SWIG_fail
;
18744 swig_obj
[0] = args
;
18745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
18746 if (!SWIG_IsOK(res1
)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18749 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_Py_Void();
18764 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18765 PyObject
*resultobj
= 0;
18766 wxColourData
*arg1
= (wxColourData
*) 0 ;
18770 PyObject
*swig_obj
[1] ;
18772 if (!args
) SWIG_fail
;
18773 swig_obj
[0] = args
;
18774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18775 if (!SWIG_IsOK(res1
)) {
18776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18778 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (bool)(arg1
)->GetChooseFull();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18794 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18795 PyObject
*resultobj
= 0;
18796 wxColourData
*arg1
= (wxColourData
*) 0 ;
18800 PyObject
*swig_obj
[1] ;
18802 if (!args
) SWIG_fail
;
18803 swig_obj
[0] = args
;
18804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18805 if (!SWIG_IsOK(res1
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18808 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (arg1
)->GetColour();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18822 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
= 0;
18824 wxColourData
*arg1
= (wxColourData
*) 0 ;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 char * kwnames
[] = {
18834 (char *) "self",(char *) "i", NULL
18837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18839 if (!SWIG_IsOK(res1
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18842 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18844 if (!SWIG_IsOK(ecode2
)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
18847 arg2
= static_cast< int >(val2
);
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (arg1
)->GetCustomColour(arg2
);
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18861 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
= 0;
18863 wxColourData
*arg1
= (wxColourData
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 char * kwnames
[] = {
18872 (char *) "self",(char *) "flag", NULL
18875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18877 if (!SWIG_IsOK(res1
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18880 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18882 if (!SWIG_IsOK(ecode2
)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
18885 arg2
= static_cast< int >(val2
);
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 (arg1
)->SetChooseFull(arg2
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= SWIG_Py_Void();
18899 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
= 0;
18901 wxColourData
*arg1
= (wxColourData
*) 0 ;
18902 wxColour
*arg2
= 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "colour", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18917 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 (arg1
)->SetColour((wxColour
const &)*arg2
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= SWIG_Py_Void();
18935 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
= 0;
18937 wxColourData
*arg1
= (wxColourData
*) 0 ;
18939 wxColour
*arg3
= 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 PyObject
* obj2
= 0 ;
18948 char * kwnames
[] = {
18949 (char *) "self",(char *) "i",(char *) "colour", NULL
18952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18954 if (!SWIG_IsOK(res1
)) {
18955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18957 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18959 if (!SWIG_IsOK(ecode2
)) {
18960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
18962 arg2
= static_cast< int >(val2
);
18965 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= SWIG_Py_Void();
18980 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18983 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
18984 return SWIG_Py_Void();
18987 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18988 return SWIG_Python_InitShadowInstance(args
);
18991 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
= 0;
18993 wxWindow
*arg1
= (wxWindow
*) 0 ;
18994 wxColourData
*arg2
= (wxColourData
*) NULL
;
18995 wxColourDialog
*result
= 0 ;
19000 PyObject
* obj0
= 0 ;
19001 PyObject
* obj1
= 0 ;
19002 char * kwnames
[] = {
19003 (char *) "parent",(char *) "data", NULL
19006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19008 if (!SWIG_IsOK(res1
)) {
19009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19014 if (!SWIG_IsOK(res2
)) {
19015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19017 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
19020 if (!wxPyCheckForApp()) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
19033 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19034 PyObject
*resultobj
= 0;
19035 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
19036 wxColourData
*result
= 0 ;
19039 PyObject
*swig_obj
[1] ;
19041 if (!args
) SWIG_fail
;
19042 swig_obj
[0] = args
;
19043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
19044 if (!SWIG_IsOK(res1
)) {
19045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19047 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 wxColourData
&_result_ref
= (arg1
)->GetColourData();
19052 result
= (wxColourData
*) &_result_ref
;
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
19064 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19067 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
19068 return SWIG_Py_Void();
19071 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19072 return SWIG_Python_InitShadowInstance(args
);
19075 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
19078 wxColour
const &arg2_defvalue
= wxNullColour
;
19079 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19080 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19081 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19086 bool temp3
= false ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 PyObject
* obj2
= 0 ;
19090 char * kwnames
[] = {
19091 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19097 if (!SWIG_IsOK(res1
)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19110 arg3
= wxString_in_helper(obj2
);
19111 if (arg3
== NULL
) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19136 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxWindow
*arg1
= (wxWindow
*) 0 ;
19139 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
19140 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19143 long arg4
= (long) wxDD_DEFAULT_STYLE
;
19144 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19145 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19146 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19147 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19148 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
19149 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19150 wxDirDialog
*result
= 0 ;
19153 bool temp2
= false ;
19154 bool temp3
= false ;
19159 bool temp7
= false ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 PyObject
* obj2
= 0 ;
19163 PyObject
* obj3
= 0 ;
19164 PyObject
* obj4
= 0 ;
19165 PyObject
* obj5
= 0 ;
19166 PyObject
* obj6
= 0 ;
19167 char * kwnames
[] = {
19168 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19176 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19179 arg2
= wxString_in_helper(obj1
);
19180 if (arg2
== NULL
) SWIG_fail
;
19186 arg3
= wxString_in_helper(obj2
);
19187 if (arg3
== NULL
) SWIG_fail
;
19192 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19193 if (!SWIG_IsOK(ecode4
)) {
19194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19196 arg4
= static_cast< long >(val4
);
19201 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19207 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19212 arg7
= wxString_in_helper(obj6
);
19213 if (arg7
== NULL
) SWIG_fail
;
19218 if (!wxPyCheckForApp()) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
19255 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19256 PyObject
*resultobj
= 0;
19257 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19261 PyObject
*swig_obj
[1] ;
19263 if (!args
) SWIG_fail
;
19264 swig_obj
[0] = args
;
19265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19266 if (!SWIG_IsOK(res1
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19269 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (arg1
)->GetPath();
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19289 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19290 PyObject
*resultobj
= 0;
19291 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19295 PyObject
*swig_obj
[1] ;
19297 if (!args
) SWIG_fail
;
19298 swig_obj
[0] = args
;
19299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19303 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (arg1
)->GetMessage();
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19323 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
= 0;
19325 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19326 wxString
*arg2
= 0 ;
19329 bool temp2
= false ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 char * kwnames
[] = {
19333 (char *) "self",(char *) "message", NULL
19336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19338 if (!SWIG_IsOK(res1
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19341 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19343 arg2
= wxString_in_helper(obj1
);
19344 if (arg2
== NULL
) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 (arg1
)->SetMessage((wxString
const &)*arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_Py_Void();
19368 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19371 wxString
*arg2
= 0 ;
19374 bool temp2
= false ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 char * kwnames
[] = {
19378 (char *) "self",(char *) "path", NULL
19381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19383 if (!SWIG_IsOK(res1
)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19386 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19388 arg2
= wxString_in_helper(obj1
);
19389 if (arg2
== NULL
) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->SetPath((wxString
const &)*arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_Py_Void();
19413 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19416 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
19417 return SWIG_Py_Void();
19420 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19421 return SWIG_Python_InitShadowInstance(args
);
19424 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
= 0;
19426 wxWindow
*arg1
= (wxWindow
*) 0 ;
19427 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
19428 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19429 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19430 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19431 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19432 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19433 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
19434 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19435 long arg6
= (long) wxFD_DEFAULT_STYLE
;
19436 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
19437 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
19438 wxFileDialog
*result
= 0 ;
19441 bool temp2
= false ;
19442 bool temp3
= false ;
19443 bool temp4
= false ;
19444 bool temp5
= false ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 PyObject
* obj2
= 0 ;
19451 PyObject
* obj3
= 0 ;
19452 PyObject
* obj4
= 0 ;
19453 PyObject
* obj5
= 0 ;
19454 PyObject
* obj6
= 0 ;
19455 char * kwnames
[] = {
19456 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19461 if (!SWIG_IsOK(res1
)) {
19462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19464 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19467 arg2
= wxString_in_helper(obj1
);
19468 if (arg2
== NULL
) SWIG_fail
;
19474 arg3
= wxString_in_helper(obj2
);
19475 if (arg3
== NULL
) SWIG_fail
;
19481 arg4
= wxString_in_helper(obj3
);
19482 if (arg4
== NULL
) SWIG_fail
;
19488 arg5
= wxString_in_helper(obj4
);
19489 if (arg5
== NULL
) SWIG_fail
;
19494 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19495 if (!SWIG_IsOK(ecode6
)) {
19496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19498 arg6
= static_cast< long >(val6
);
19503 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
19507 if (!wxPyCheckForApp()) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
19552 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
= 0;
19554 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19555 wxString
*arg2
= 0 ;
19558 bool temp2
= false ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "self",(char *) "message", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19567 if (!SWIG_IsOK(res1
)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19570 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19572 arg2
= wxString_in_helper(obj1
);
19573 if (arg2
== NULL
) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->SetMessage((wxString
const &)*arg2
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_Py_Void();
19597 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
= 0;
19599 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19600 wxString
*arg2
= 0 ;
19603 bool temp2
= false ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char * kwnames
[] = {
19607 (char *) "self",(char *) "path", NULL
19610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19615 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19617 arg2
= wxString_in_helper(obj1
);
19618 if (arg2
== NULL
) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 (arg1
)->SetPath((wxString
const &)*arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= SWIG_Py_Void();
19642 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= 0;
19644 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19645 wxString
*arg2
= 0 ;
19648 bool temp2
= false ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "self",(char *) "dir", NULL
19655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19657 if (!SWIG_IsOK(res1
)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19660 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19662 arg2
= wxString_in_helper(obj1
);
19663 if (arg2
== NULL
) SWIG_fail
;
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 (arg1
)->SetDirectory((wxString
const &)*arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_Py_Void();
19687 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
= 0;
19689 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19690 wxString
*arg2
= 0 ;
19693 bool temp2
= false ;
19694 PyObject
* obj0
= 0 ;
19695 PyObject
* obj1
= 0 ;
19696 char * kwnames
[] = {
19697 (char *) "self",(char *) "name", NULL
19700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19702 if (!SWIG_IsOK(res1
)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19705 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19707 arg2
= wxString_in_helper(obj1
);
19708 if (arg2
== NULL
) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 (arg1
)->SetFilename((wxString
const &)*arg2
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= SWIG_Py_Void();
19732 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
= 0;
19734 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19735 wxString
*arg2
= 0 ;
19738 bool temp2
= false ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char * kwnames
[] = {
19742 (char *) "self",(char *) "wildCard", NULL
19745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19747 if (!SWIG_IsOK(res1
)) {
19748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19750 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19752 arg2
= wxString_in_helper(obj1
);
19753 if (arg2
== NULL
) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 (arg1
)->SetWildcard((wxString
const &)*arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= SWIG_Py_Void();
19777 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
= 0;
19779 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 char * kwnames
[] = {
19788 (char *) "self",(char *) "filterIndex", NULL
19791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19793 if (!SWIG_IsOK(res1
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19796 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19798 if (!SWIG_IsOK(ecode2
)) {
19799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19801 arg2
= static_cast< int >(val2
);
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 (arg1
)->SetFilterIndex(arg2
);
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= SWIG_Py_Void();
19815 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19816 PyObject
*resultobj
= 0;
19817 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19821 PyObject
*swig_obj
[1] ;
19823 if (!args
) SWIG_fail
;
19824 swig_obj
[0] = args
;
19825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19826 if (!SWIG_IsOK(res1
)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19829 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19849 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19850 PyObject
*resultobj
= 0;
19851 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19855 PyObject
*swig_obj
[1] ;
19857 if (!args
) SWIG_fail
;
19858 swig_obj
[0] = args
;
19859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19860 if (!SWIG_IsOK(res1
)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19863 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= ((wxFileDialog
const *)arg1
)->GetPath();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19883 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19884 PyObject
*resultobj
= 0;
19885 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19889 PyObject
*swig_obj
[1] ;
19891 if (!args
) SWIG_fail
;
19892 swig_obj
[0] = args
;
19893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19894 if (!SWIG_IsOK(res1
)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19897 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19917 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19918 PyObject
*resultobj
= 0;
19919 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19923 PyObject
*swig_obj
[1] ;
19925 if (!args
) SWIG_fail
;
19926 swig_obj
[0] = args
;
19927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19928 if (!SWIG_IsOK(res1
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19931 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19951 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19952 PyObject
*resultobj
= 0;
19953 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19957 PyObject
*swig_obj
[1] ;
19959 if (!args
) SWIG_fail
;
19960 swig_obj
[0] = args
;
19961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19962 if (!SWIG_IsOK(res1
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19965 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19985 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19986 PyObject
*resultobj
= 0;
19987 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19991 PyObject
*swig_obj
[1] ;
19993 if (!args
) SWIG_fail
;
19994 swig_obj
[0] = args
;
19995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19996 if (!SWIG_IsOK(res1
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19999 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= SWIG_From_int(static_cast< int >(result
));
20013 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20014 PyObject
*resultobj
= 0;
20015 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20016 PyObject
*result
= 0 ;
20019 PyObject
*swig_obj
[1] ;
20021 if (!args
) SWIG_fail
;
20022 swig_obj
[0] = args
;
20023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20024 if (!SWIG_IsOK(res1
)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20027 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= result
;
20041 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20042 PyObject
*resultobj
= 0;
20043 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20044 PyObject
*result
= 0 ;
20047 PyObject
*swig_obj
[1] ;
20049 if (!args
) SWIG_fail
;
20050 swig_obj
[0] = args
;
20051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20055 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
;
20069 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20072 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
20073 return SWIG_Py_Void();
20076 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20077 return SWIG_Python_InitShadowInstance(args
);
20080 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
= 0;
20082 wxWindow
*arg1
= (wxWindow
*) 0 ;
20083 wxString
*arg2
= 0 ;
20084 wxString
*arg3
= 0 ;
20085 int arg4
= (int) 0 ;
20086 wxString
*arg5
= (wxString
*) NULL
;
20087 long arg6
= (long) wxCHOICEDLG_STYLE
;
20088 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20089 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20090 wxMultiChoiceDialog
*result
= 0 ;
20093 bool temp2
= false ;
20094 bool temp3
= false ;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 PyObject
* obj2
= 0 ;
20101 PyObject
* obj3
= 0 ;
20102 PyObject
* obj4
= 0 ;
20103 PyObject
* obj5
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20115 arg2
= wxString_in_helper(obj1
);
20116 if (arg2
== NULL
) SWIG_fail
;
20120 arg3
= wxString_in_helper(obj2
);
20121 if (arg3
== NULL
) SWIG_fail
;
20126 arg4
= PyList_Size(obj3
);
20127 arg5
= wxString_LIST_helper(obj3
);
20128 if (arg5
== NULL
) SWIG_fail
;
20132 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20133 if (!SWIG_IsOK(ecode6
)) {
20134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20136 arg6
= static_cast< long >(val6
);
20141 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20145 if (!wxPyCheckForApp()) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20161 if (arg5
) delete [] arg5
;
20174 if (arg5
) delete [] arg5
;
20180 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
= 0;
20182 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20183 wxArrayInt
*arg2
= 0 ;
20186 bool temp2
= false ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char * kwnames
[] = {
20190 (char *) "self",(char *) "selections", NULL
20193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20195 if (!SWIG_IsOK(res1
)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20198 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20200 if (! PySequence_Check(obj1
)) {
20201 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20204 arg2
= new wxArrayInt
;
20206 int i
, len
=PySequence_Length(obj1
);
20207 for (i
=0; i
<len
; i
++) {
20208 PyObject
* item
= PySequence_GetItem(obj1
, i
);
20209 PyObject
* number
= PyNumber_Int(item
);
20211 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20214 arg2
->Add(PyInt_AS_LONG(number
));
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= SWIG_Py_Void();
20227 if (temp2
) delete arg2
;
20232 if (temp2
) delete arg2
;
20238 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20239 PyObject
*resultobj
= 0;
20240 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20241 PyObject
*result
= 0 ;
20244 PyObject
*swig_obj
[1] ;
20246 if (!args
) SWIG_fail
;
20247 swig_obj
[0] = args
;
20248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20249 if (!SWIG_IsOK(res1
)) {
20250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20252 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= result
;
20266 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20269 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
20270 return SWIG_Py_Void();
20273 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20274 return SWIG_Python_InitShadowInstance(args
);
20277 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= 0;
20279 wxWindow
*arg1
= (wxWindow
*) 0 ;
20280 wxString
*arg2
= 0 ;
20281 wxString
*arg3
= 0 ;
20283 wxString
*arg5
= (wxString
*) 0 ;
20284 long arg6
= (long) wxCHOICEDLG_STYLE
;
20285 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20286 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20287 wxSingleChoiceDialog
*result
= 0 ;
20290 bool temp2
= false ;
20291 bool temp3
= false ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 PyObject
* obj2
= 0 ;
20298 PyObject
* obj3
= 0 ;
20299 PyObject
* obj4
= 0 ;
20300 PyObject
* obj5
= 0 ;
20301 char * kwnames
[] = {
20302 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20307 if (!SWIG_IsOK(res1
)) {
20308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20310 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20312 arg2
= wxString_in_helper(obj1
);
20313 if (arg2
== NULL
) SWIG_fail
;
20317 arg3
= wxString_in_helper(obj2
);
20318 if (arg3
== NULL
) SWIG_fail
;
20322 arg4
= PyList_Size(obj3
);
20323 arg5
= wxString_LIST_helper(obj3
);
20324 if (arg5
== NULL
) SWIG_fail
;
20327 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20328 if (!SWIG_IsOK(ecode6
)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20331 arg6
= static_cast< long >(val6
);
20336 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20340 if (!wxPyCheckForApp()) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20356 if (arg5
) delete [] arg5
;
20369 if (arg5
) delete [] arg5
;
20375 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20376 PyObject
*resultobj
= 0;
20377 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20381 PyObject
*swig_obj
[1] ;
20383 if (!args
) SWIG_fail
;
20384 swig_obj
[0] = args
;
20385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20386 if (!SWIG_IsOK(res1
)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20389 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= (int)(arg1
)->GetSelection();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_From_int(static_cast< int >(result
));
20403 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 PyObject
*resultobj
= 0;
20405 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20409 PyObject
*swig_obj
[1] ;
20411 if (!args
) SWIG_fail
;
20412 swig_obj
[0] = args
;
20413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20417 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (arg1
)->GetStringSelection();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20437 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
= 0;
20439 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 char * kwnames
[] = {
20448 (char *) "self",(char *) "sel", NULL
20451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20453 if (!SWIG_IsOK(res1
)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20456 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20458 if (!SWIG_IsOK(ecode2
)) {
20459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20461 arg2
= static_cast< int >(val2
);
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 (arg1
)->SetSelection(arg2
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_Py_Void();
20475 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20478 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
20479 return SWIG_Py_Void();
20482 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20483 return SWIG_Python_InitShadowInstance(args
);
20486 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
= 0;
20488 wxWindow
*arg1
= (wxWindow
*) 0 ;
20489 wxString
*arg2
= 0 ;
20490 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
20491 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20492 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20493 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20494 long arg5
= (long) wxTextEntryDialogStyle
;
20495 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20496 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20497 wxTextEntryDialog
*result
= 0 ;
20500 bool temp2
= false ;
20501 bool temp3
= false ;
20502 bool temp4
= false ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 PyObject
* obj2
= 0 ;
20509 PyObject
* obj3
= 0 ;
20510 PyObject
* obj4
= 0 ;
20511 PyObject
* obj5
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20523 arg2
= wxString_in_helper(obj1
);
20524 if (arg2
== NULL
) SWIG_fail
;
20529 arg3
= wxString_in_helper(obj2
);
20530 if (arg3
== NULL
) SWIG_fail
;
20536 arg4
= wxString_in_helper(obj3
);
20537 if (arg4
== NULL
) SWIG_fail
;
20542 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20543 if (!SWIG_IsOK(ecode5
)) {
20544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20546 arg5
= static_cast< long >(val5
);
20551 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20555 if (!wxPyCheckForApp()) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
20592 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20593 PyObject
*resultobj
= 0;
20594 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20598 PyObject
*swig_obj
[1] ;
20600 if (!args
) SWIG_fail
;
20601 swig_obj
[0] = args
;
20602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20603 if (!SWIG_IsOK(res1
)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20606 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (arg1
)->GetValue();
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20626 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20627 PyObject
*resultobj
= 0;
20628 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20629 wxString
*arg2
= 0 ;
20632 bool temp2
= false ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 char * kwnames
[] = {
20636 (char *) "self",(char *) "value", NULL
20639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20641 if (!SWIG_IsOK(res1
)) {
20642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20644 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20646 arg2
= wxString_in_helper(obj1
);
20647 if (arg2
== NULL
) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 (arg1
)->SetValue((wxString
const &)*arg2
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_Py_Void();
20671 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20674 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
20675 return SWIG_Py_Void();
20678 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20679 return SWIG_Python_InitShadowInstance(args
);
20682 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
20683 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
20688 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
20689 PyObject
*pyobj
= 0;
20693 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20695 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20702 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxWindow
*arg1
= (wxWindow
*) 0 ;
20705 wxString
*arg2
= 0 ;
20706 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
20707 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20708 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20709 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20710 long arg5
= (long) wxTextEntryDialogStyle
;
20711 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20712 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20713 wxPasswordEntryDialog
*result
= 0 ;
20716 bool temp2
= false ;
20717 bool temp3
= false ;
20718 bool temp4
= false ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 PyObject
* obj2
= 0 ;
20725 PyObject
* obj3
= 0 ;
20726 PyObject
* obj4
= 0 ;
20727 PyObject
* obj5
= 0 ;
20728 char * kwnames
[] = {
20729 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20739 arg2
= wxString_in_helper(obj1
);
20740 if (arg2
== NULL
) SWIG_fail
;
20745 arg3
= wxString_in_helper(obj2
);
20746 if (arg3
== NULL
) SWIG_fail
;
20752 arg4
= wxString_in_helper(obj3
);
20753 if (arg4
== NULL
) SWIG_fail
;
20758 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20759 if (!SWIG_IsOK(ecode5
)) {
20760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20762 arg5
= static_cast< long >(val5
);
20767 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
20807 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20810 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
20811 return SWIG_Py_Void();
20814 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20815 return SWIG_Python_InitShadowInstance(args
);
20818 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
= 0;
20820 wxWindow
*arg1
= (wxWindow
*) 0 ;
20821 wxString
*arg2
= 0 ;
20822 wxString
*arg3
= 0 ;
20823 wxString
*arg4
= 0 ;
20827 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20828 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20829 wxNumberEntryDialog
*result
= 0 ;
20832 bool temp2
= false ;
20833 bool temp3
= false ;
20834 bool temp4
= false ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 PyObject
* obj2
= 0 ;
20845 PyObject
* obj3
= 0 ;
20846 PyObject
* obj4
= 0 ;
20847 PyObject
* obj5
= 0 ;
20848 PyObject
* obj6
= 0 ;
20849 PyObject
* obj7
= 0 ;
20850 char * kwnames
[] = {
20851 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
20854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20861 arg2
= wxString_in_helper(obj1
);
20862 if (arg2
== NULL
) SWIG_fail
;
20866 arg3
= wxString_in_helper(obj2
);
20867 if (arg3
== NULL
) SWIG_fail
;
20871 arg4
= wxString_in_helper(obj3
);
20872 if (arg4
== NULL
) SWIG_fail
;
20875 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20876 if (!SWIG_IsOK(ecode5
)) {
20877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
20879 arg5
= static_cast< long >(val5
);
20880 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20881 if (!SWIG_IsOK(ecode6
)) {
20882 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
20884 arg6
= static_cast< long >(val6
);
20885 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20886 if (!SWIG_IsOK(ecode7
)) {
20887 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
20889 arg7
= static_cast< long >(val7
);
20893 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20897 if (!wxPyCheckForApp()) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
20934 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20935 PyObject
*resultobj
= 0;
20936 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
20940 PyObject
*swig_obj
[1] ;
20942 if (!args
) SWIG_fail
;
20943 swig_obj
[0] = args
;
20944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
20945 if (!SWIG_IsOK(res1
)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
20948 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (long)(arg1
)->GetValue();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_From_long(static_cast< long >(result
));
20962 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20965 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
20966 return SWIG_Py_Void();
20969 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20970 return SWIG_Python_InitShadowInstance(args
);
20973 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20974 PyObject
*resultobj
= 0;
20975 wxFontData
*result
= 0 ;
20977 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (wxFontData
*)new wxFontData();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
20991 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20992 PyObject
*resultobj
= 0;
20993 wxFontData
*arg1
= (wxFontData
*) 0 ;
20996 PyObject
*swig_obj
[1] ;
20998 if (!args
) SWIG_fail
;
20999 swig_obj
[0] = args
;
21000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
21001 if (!SWIG_IsOK(res1
)) {
21002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21004 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= SWIG_Py_Void();
21019 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
= 0;
21021 wxFontData
*arg1
= (wxFontData
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 char * kwnames
[] = {
21030 (char *) "self",(char *) "enable", NULL
21033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21035 if (!SWIG_IsOK(res1
)) {
21036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21038 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21039 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21040 if (!SWIG_IsOK(ecode2
)) {
21041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21043 arg2
= static_cast< bool >(val2
);
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->EnableEffects(arg2
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_Py_Void();
21057 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21058 PyObject
*resultobj
= 0;
21059 wxFontData
*arg1
= (wxFontData
*) 0 ;
21063 PyObject
*swig_obj
[1] ;
21065 if (!args
) SWIG_fail
;
21066 swig_obj
[0] = args
;
21067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21068 if (!SWIG_IsOK(res1
)) {
21069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21071 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (bool)(arg1
)->GetAllowSymbols();
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21087 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21088 PyObject
*resultobj
= 0;
21089 wxFontData
*arg1
= (wxFontData
*) 0 ;
21093 PyObject
*swig_obj
[1] ;
21095 if (!args
) SWIG_fail
;
21096 swig_obj
[0] = args
;
21097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21101 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (arg1
)->GetColour();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21115 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21116 PyObject
*resultobj
= 0;
21117 wxFontData
*arg1
= (wxFontData
*) 0 ;
21121 PyObject
*swig_obj
[1] ;
21123 if (!args
) SWIG_fail
;
21124 swig_obj
[0] = args
;
21125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21126 if (!SWIG_IsOK(res1
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21129 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (arg1
)->GetChosenFont();
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21143 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21144 PyObject
*resultobj
= 0;
21145 wxFontData
*arg1
= (wxFontData
*) 0 ;
21149 PyObject
*swig_obj
[1] ;
21151 if (!args
) SWIG_fail
;
21152 swig_obj
[0] = args
;
21153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21154 if (!SWIG_IsOK(res1
)) {
21155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21157 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (bool)(arg1
)->GetEnableEffects();
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21173 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21174 PyObject
*resultobj
= 0;
21175 wxFontData
*arg1
= (wxFontData
*) 0 ;
21179 PyObject
*swig_obj
[1] ;
21181 if (!args
) SWIG_fail
;
21182 swig_obj
[0] = args
;
21183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21184 if (!SWIG_IsOK(res1
)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21187 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (arg1
)->GetInitialFont();
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21201 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21202 PyObject
*resultobj
= 0;
21203 wxFontData
*arg1
= (wxFontData
*) 0 ;
21207 PyObject
*swig_obj
[1] ;
21209 if (!args
) SWIG_fail
;
21210 swig_obj
[0] = args
;
21211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21212 if (!SWIG_IsOK(res1
)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21215 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (bool)(arg1
)->GetShowHelp();
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21231 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
= 0;
21233 wxFontData
*arg1
= (wxFontData
*) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char * kwnames
[] = {
21242 (char *) "self",(char *) "allowSymbols", NULL
21245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21247 if (!SWIG_IsOK(res1
)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21250 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21251 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21252 if (!SWIG_IsOK(ecode2
)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21255 arg2
= static_cast< bool >(val2
);
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 (arg1
)->SetAllowSymbols(arg2
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_Py_Void();
21269 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
= 0;
21271 wxFontData
*arg1
= (wxFontData
*) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char * kwnames
[] = {
21280 (char *) "self",(char *) "font", NULL
21283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21288 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21290 if (!SWIG_IsOK(res2
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21296 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_Py_Void();
21310 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
= 0;
21312 wxFontData
*arg1
= (wxFontData
*) 0 ;
21313 wxColour
*arg2
= 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char * kwnames
[] = {
21320 (char *) "self",(char *) "colour", NULL
21323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21325 if (!SWIG_IsOK(res1
)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21328 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 (arg1
)->SetColour((wxColour
const &)*arg2
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_Py_Void();
21346 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
= 0;
21348 wxFontData
*arg1
= (wxFontData
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char * kwnames
[] = {
21357 (char *) "self",(char *) "font", NULL
21360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21365 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21367 if (!SWIG_IsOK(res2
)) {
21368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21373 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_Py_Void();
21387 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
= 0;
21389 wxFontData
*arg1
= (wxFontData
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 char * kwnames
[] = {
21402 (char *) "self",(char *) "min",(char *) "max", NULL
21405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21407 if (!SWIG_IsOK(res1
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21410 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21412 if (!SWIG_IsOK(ecode2
)) {
21413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21415 arg2
= static_cast< int >(val2
);
21416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21417 if (!SWIG_IsOK(ecode3
)) {
21418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21420 arg3
= static_cast< int >(val3
);
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 (arg1
)->SetRange(arg2
,arg3
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_Py_Void();
21434 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
= 0;
21436 wxFontData
*arg1
= (wxFontData
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char * kwnames
[] = {
21445 (char *) "self",(char *) "showHelp", NULL
21448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21453 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21455 if (!SWIG_IsOK(ecode2
)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21458 arg2
= static_cast< bool >(val2
);
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 (arg1
)->SetShowHelp(arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_Py_Void();
21472 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21475 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
21476 return SWIG_Py_Void();
21479 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21480 return SWIG_Python_InitShadowInstance(args
);
21483 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
= 0;
21485 wxWindow
*arg1
= (wxWindow
*) 0 ;
21486 wxFontData
*arg2
= 0 ;
21487 wxFontDialog
*result
= 0 ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 char * kwnames
[] = {
21495 (char *) "parent",(char *) "data", NULL
21498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21500 if (!SWIG_IsOK(res1
)) {
21501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
21505 if (!SWIG_IsOK(res2
)) {
21506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21511 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
21513 if (!wxPyCheckForApp()) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
21526 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21527 PyObject
*resultobj
= 0;
21528 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
21529 wxFontData
*result
= 0 ;
21532 PyObject
*swig_obj
[1] ;
21534 if (!args
) SWIG_fail
;
21535 swig_obj
[0] = args
;
21536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
21537 if (!SWIG_IsOK(res1
)) {
21538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21540 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 wxFontData
&_result_ref
= (arg1
)->GetFontData();
21545 result
= (wxFontData
*) &_result_ref
;
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
21557 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21560 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
21561 return SWIG_Py_Void();
21564 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21565 return SWIG_Python_InitShadowInstance(args
);
21568 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
= 0;
21570 wxWindow
*arg1
= (wxWindow
*) NULL
;
21571 wxFont
const &arg2_defvalue
= wxNullFont
;
21572 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
21573 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21574 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21580 bool temp3
= false ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 char * kwnames
[] = {
21585 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21591 if (!SWIG_IsOK(res1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21594 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21598 if (!SWIG_IsOK(res2
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21604 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21608 arg3
= wxString_in_helper(obj2
);
21609 if (arg3
== NULL
) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21634 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= 0;
21636 wxWindow
*arg1
= (wxWindow
*) 0 ;
21637 wxString
*arg2
= 0 ;
21638 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
21639 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21640 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
21641 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21642 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21643 wxMessageDialog
*result
= 0 ;
21646 bool temp2
= false ;
21647 bool temp3
= false ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 PyObject
* obj2
= 0 ;
21654 PyObject
* obj3
= 0 ;
21655 PyObject
* obj4
= 0 ;
21656 char * kwnames
[] = {
21657 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21662 if (!SWIG_IsOK(res1
)) {
21663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21665 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21667 arg2
= wxString_in_helper(obj1
);
21668 if (arg2
== NULL
) SWIG_fail
;
21673 arg3
= wxString_in_helper(obj2
);
21674 if (arg3
== NULL
) SWIG_fail
;
21679 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
21680 if (!SWIG_IsOK(ecode4
)) {
21681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21683 arg4
= static_cast< long >(val4
);
21688 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21692 if (!wxPyCheckForApp()) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
21721 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21724 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
21725 return SWIG_Py_Void();
21728 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21729 return SWIG_Python_InitShadowInstance(args
);
21732 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
= 0;
21734 wxString
*arg1
= 0 ;
21735 wxString
*arg2
= 0 ;
21736 int arg3
= (int) 100 ;
21737 wxWindow
*arg4
= (wxWindow
*) NULL
;
21738 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
21739 wxProgressDialog
*result
= 0 ;
21740 bool temp1
= false ;
21741 bool temp2
= false ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 PyObject
* obj2
= 0 ;
21751 PyObject
* obj3
= 0 ;
21752 PyObject
* obj4
= 0 ;
21753 char * kwnames
[] = {
21754 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21759 arg1
= wxString_in_helper(obj0
);
21760 if (arg1
== NULL
) SWIG_fail
;
21764 arg2
= wxString_in_helper(obj1
);
21765 if (arg2
== NULL
) SWIG_fail
;
21769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21770 if (!SWIG_IsOK(ecode3
)) {
21771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21773 arg3
= static_cast< int >(val3
);
21776 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21777 if (!SWIG_IsOK(res4
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21780 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
21783 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21784 if (!SWIG_IsOK(ecode5
)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21787 arg5
= static_cast< int >(val5
);
21790 if (!wxPyCheckForApp()) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
21819 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
21823 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21824 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21825 bool *arg4
= (bool *) 0 ;
21831 bool temp3
= false ;
21833 int res4
= SWIG_TMPOBJ
;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 PyObject
* obj2
= 0 ;
21837 char * kwnames
[] = {
21838 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
21844 if (!SWIG_IsOK(res1
)) {
21845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21847 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
21848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21849 if (!SWIG_IsOK(ecode2
)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
21852 arg2
= static_cast< int >(val2
);
21855 arg3
= wxString_in_helper(obj2
);
21856 if (arg3
== NULL
) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21869 if (SWIG_IsTmpObj(res4
)) {
21870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
21872 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
21889 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= 0;
21891 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
21892 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21893 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21894 bool *arg3
= (bool *) 0 ;
21898 bool temp2
= false ;
21900 int res3
= SWIG_TMPOBJ
;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char * kwnames
[] = {
21904 (char *) "self",(char *) "newmsg", NULL
21908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
21910 if (!SWIG_IsOK(res1
)) {
21911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21913 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
21916 arg2
= wxString_in_helper(obj1
);
21917 if (arg2
== NULL
) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21930 if (SWIG_IsTmpObj(res3
)) {
21931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
21933 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
21950 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21951 PyObject
*resultobj
= 0;
21952 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
21955 PyObject
*swig_obj
[1] ;
21957 if (!args
) SWIG_fail
;
21958 swig_obj
[0] = args
;
21959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
21960 if (!SWIG_IsOK(res1
)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21963 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= SWIG_Py_Void();
21977 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21980 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
21981 return SWIG_Py_Void();
21984 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 return SWIG_Python_InitShadowInstance(args
);
21988 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
= 0;
21990 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21991 int arg2
= (int) 0 ;
21992 wxFindDialogEvent
*result
= 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "commandType",(char *) "id", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22006 if (!SWIG_IsOK(ecode1
)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22009 arg1
= static_cast< wxEventType
>(val1
);
22012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22013 if (!SWIG_IsOK(ecode2
)) {
22014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22016 arg2
= static_cast< int >(val2
);
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
22031 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22037 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22045 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (int)(arg1
)->GetFlags();
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_From_int(static_cast< int >(result
));
22059 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22060 PyObject
*resultobj
= 0;
22061 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22062 wxString
*result
= 0 ;
22065 PyObject
*swig_obj
[1] ;
22067 if (!args
) SWIG_fail
;
22068 swig_obj
[0] = args
;
22069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22070 if (!SWIG_IsOK(res1
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22073 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 wxString
const &_result_ref
= (arg1
)->GetFindString();
22078 result
= (wxString
*) &_result_ref
;
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22087 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22096 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22097 PyObject
*resultobj
= 0;
22098 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22099 wxString
*result
= 0 ;
22102 PyObject
*swig_obj
[1] ;
22104 if (!args
) SWIG_fail
;
22105 swig_obj
[0] = args
;
22106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22107 if (!SWIG_IsOK(res1
)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22110 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22115 result
= (wxString
*) &_result_ref
;
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22133 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 PyObject
*resultobj
= 0;
22135 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22136 wxFindReplaceDialog
*result
= 0 ;
22139 PyObject
*swig_obj
[1] ;
22141 if (!args
) SWIG_fail
;
22142 swig_obj
[0] = args
;
22143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22144 if (!SWIG_IsOK(res1
)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22147 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22161 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
= 0;
22163 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 char * kwnames
[] = {
22172 (char *) "self",(char *) "flags", NULL
22175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22177 if (!SWIG_IsOK(res1
)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22180 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22182 if (!SWIG_IsOK(ecode2
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22185 arg2
= static_cast< int >(val2
);
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 (arg1
)->SetFlags(arg2
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_Py_Void();
22199 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
= 0;
22201 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22202 wxString
*arg2
= 0 ;
22205 bool temp2
= false ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char * kwnames
[] = {
22209 (char *) "self",(char *) "str", NULL
22212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22214 if (!SWIG_IsOK(res1
)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22217 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22219 arg2
= wxString_in_helper(obj1
);
22220 if (arg2
== NULL
) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 (arg1
)->SetFindString((wxString
const &)*arg2
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 resultobj
= SWIG_Py_Void();
22244 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
= 0;
22246 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22247 wxString
*arg2
= 0 ;
22250 bool temp2
= false ;
22251 PyObject
* obj0
= 0 ;
22252 PyObject
* obj1
= 0 ;
22253 char * kwnames
[] = {
22254 (char *) "self",(char *) "str", NULL
22257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22259 if (!SWIG_IsOK(res1
)) {
22260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22262 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22264 arg2
= wxString_in_helper(obj1
);
22265 if (arg2
== NULL
) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_Py_Void();
22289 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22292 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
22293 return SWIG_Py_Void();
22296 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22297 return SWIG_Python_InitShadowInstance(args
);
22300 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
= 0;
22302 int arg1
= (int) 0 ;
22303 wxFindReplaceData
*result
= 0 ;
22306 PyObject
* obj0
= 0 ;
22307 char * kwnames
[] = {
22308 (char *) "flags", NULL
22311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
22313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22314 if (!SWIG_IsOK(ecode1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22317 arg1
= static_cast< int >(val1
);
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
22332 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 PyObject
*resultobj
= 0;
22334 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22337 PyObject
*swig_obj
[1] ;
22339 if (!args
) SWIG_fail
;
22340 swig_obj
[0] = args
;
22341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
22342 if (!SWIG_IsOK(res1
)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22345 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22360 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22361 PyObject
*resultobj
= 0;
22362 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22363 wxString
*result
= 0 ;
22366 PyObject
*swig_obj
[1] ;
22368 if (!args
) SWIG_fail
;
22369 swig_obj
[0] = args
;
22370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22371 if (!SWIG_IsOK(res1
)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22374 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 wxString
const &_result_ref
= (arg1
)->GetFindString();
22379 result
= (wxString
*) &_result_ref
;
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22388 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22397 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22398 PyObject
*resultobj
= 0;
22399 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22400 wxString
*result
= 0 ;
22403 PyObject
*swig_obj
[1] ;
22405 if (!args
) SWIG_fail
;
22406 swig_obj
[0] = args
;
22407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22408 if (!SWIG_IsOK(res1
)) {
22409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22411 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22416 result
= (wxString
*) &_result_ref
;
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22434 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22440 PyObject
*swig_obj
[1] ;
22442 if (!args
) SWIG_fail
;
22443 swig_obj
[0] = args
;
22444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22448 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (int)(arg1
)->GetFlags();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_From_int(static_cast< int >(result
));
22462 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
= 0;
22464 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 char * kwnames
[] = {
22473 (char *) "self",(char *) "flags", NULL
22476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22478 if (!SWIG_IsOK(res1
)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22481 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22483 if (!SWIG_IsOK(ecode2
)) {
22484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22486 arg2
= static_cast< int >(val2
);
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 (arg1
)->SetFlags(arg2
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_Py_Void();
22500 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
= 0;
22502 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22503 wxString
*arg2
= 0 ;
22506 bool temp2
= false ;
22507 PyObject
* obj0
= 0 ;
22508 PyObject
* obj1
= 0 ;
22509 char * kwnames
[] = {
22510 (char *) "self",(char *) "str", NULL
22513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22515 if (!SWIG_IsOK(res1
)) {
22516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22518 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22520 arg2
= wxString_in_helper(obj1
);
22521 if (arg2
== NULL
) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->SetFindString((wxString
const &)*arg2
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_Py_Void();
22545 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
= 0;
22547 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22548 wxString
*arg2
= 0 ;
22551 bool temp2
= false ;
22552 PyObject
* obj0
= 0 ;
22553 PyObject
* obj1
= 0 ;
22554 char * kwnames
[] = {
22555 (char *) "self",(char *) "str", NULL
22558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22560 if (!SWIG_IsOK(res1
)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22563 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22565 arg2
= wxString_in_helper(obj1
);
22566 if (arg2
== NULL
) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= SWIG_Py_Void();
22590 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22593 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
22594 return SWIG_Py_Void();
22597 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22598 return SWIG_Python_InitShadowInstance(args
);
22601 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
= 0;
22603 wxWindow
*arg1
= (wxWindow
*) 0 ;
22604 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22605 wxString
*arg3
= 0 ;
22606 int arg4
= (int) 0 ;
22607 wxFindReplaceDialog
*result
= 0 ;
22612 bool temp3
= false ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 PyObject
* obj2
= 0 ;
22618 PyObject
* obj3
= 0 ;
22619 char * kwnames
[] = {
22620 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22625 if (!SWIG_IsOK(res1
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22630 if (!SWIG_IsOK(res2
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22633 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22635 arg3
= wxString_in_helper(obj2
);
22636 if (arg3
== NULL
) SWIG_fail
;
22640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22641 if (!SWIG_IsOK(ecode4
)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22644 arg4
= static_cast< int >(val4
);
22647 if (!wxPyCheckForApp()) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
22668 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22669 PyObject
*resultobj
= 0;
22670 wxFindReplaceDialog
*result
= 0 ;
22672 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
22674 if (!wxPyCheckForApp()) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
22687 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
= 0;
22689 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22690 wxWindow
*arg2
= (wxWindow
*) 0 ;
22691 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
22692 wxString
*arg4
= 0 ;
22693 int arg5
= (int) 0 ;
22701 bool temp4
= false ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 PyObject
* obj3
= 0 ;
22708 PyObject
* obj4
= 0 ;
22709 char * kwnames
[] = {
22710 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22715 if (!SWIG_IsOK(res1
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22718 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22720 if (!SWIG_IsOK(res2
)) {
22721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22724 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22725 if (!SWIG_IsOK(res3
)) {
22726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22728 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
22730 arg4
= wxString_in_helper(obj3
);
22731 if (arg4
== NULL
) SWIG_fail
;
22735 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22736 if (!SWIG_IsOK(ecode5
)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22739 arg5
= static_cast< int >(val5
);
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22764 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22765 PyObject
*resultobj
= 0;
22766 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22767 wxFindReplaceData
*result
= 0 ;
22770 PyObject
*swig_obj
[1] ;
22772 if (!args
) SWIG_fail
;
22773 swig_obj
[0] = args
;
22774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22775 if (!SWIG_IsOK(res1
)) {
22776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22778 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (wxFindReplaceData
*)(arg1
)->GetData();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22792 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
= 0;
22794 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22795 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char * kwnames
[] = {
22803 (char *) "self",(char *) "data", NULL
22806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22811 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22813 if (!SWIG_IsOK(res2
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22816 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 (arg1
)->SetData(arg2
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_Py_Void();
22830 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22833 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
22834 return SWIG_Py_Void();
22837 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22838 return SWIG_Python_InitShadowInstance(args
);
22841 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
= 0;
22843 wxWindow
*arg1
= (wxWindow
*) 0 ;
22844 int arg2
= (int) (int)-1 ;
22845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22851 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
22852 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22854 wxMDIParentFrame
*result
= 0 ;
22859 bool temp3
= false ;
22864 bool temp7
= false ;
22865 PyObject
* obj0
= 0 ;
22866 PyObject
* obj1
= 0 ;
22867 PyObject
* obj2
= 0 ;
22868 PyObject
* obj3
= 0 ;
22869 PyObject
* obj4
= 0 ;
22870 PyObject
* obj5
= 0 ;
22871 PyObject
* obj6
= 0 ;
22872 char * kwnames
[] = {
22873 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
22881 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22884 if (!SWIG_IsOK(ecode2
)) {
22885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
22887 arg2
= static_cast< int >(val2
);
22891 arg3
= wxString_in_helper(obj2
);
22892 if (arg3
== NULL
) SWIG_fail
;
22899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22909 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22910 if (!SWIG_IsOK(ecode6
)) {
22911 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
22913 arg6
= static_cast< long >(val6
);
22917 arg7
= wxString_in_helper(obj6
);
22918 if (arg7
== NULL
) SWIG_fail
;
22923 if (!wxPyCheckForApp()) SWIG_fail
;
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
22952 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 PyObject
*resultobj
= 0;
22954 wxMDIParentFrame
*result
= 0 ;
22956 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
22958 if (!wxPyCheckForApp()) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
22971 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
= 0;
22973 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
22974 wxWindow
*arg2
= (wxWindow
*) 0 ;
22975 int arg3
= (int) (int)-1 ;
22976 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22977 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
22979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
22980 wxSize
const &arg6_defvalue
= wxDefaultSize
;
22981 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
22982 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
22983 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
22984 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22992 bool temp4
= false ;
22997 bool temp8
= false ;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 PyObject
* obj2
= 0 ;
23001 PyObject
* obj3
= 0 ;
23002 PyObject
* obj4
= 0 ;
23003 PyObject
* obj5
= 0 ;
23004 PyObject
* obj6
= 0 ;
23005 PyObject
* obj7
= 0 ;
23006 char * kwnames
[] = {
23007 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23015 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23017 if (!SWIG_IsOK(res2
)) {
23018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23023 if (!SWIG_IsOK(ecode3
)) {
23024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23026 arg3
= static_cast< int >(val3
);
23030 arg4
= wxString_in_helper(obj3
);
23031 if (arg4
== NULL
) SWIG_fail
;
23038 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23044 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23048 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23049 if (!SWIG_IsOK(ecode7
)) {
23050 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23052 arg7
= static_cast< long >(val7
);
23056 arg8
= wxString_in_helper(obj7
);
23057 if (arg8
== NULL
) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23092 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23093 PyObject
*resultobj
= 0;
23094 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23097 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23105 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 (arg1
)->ActivateNext();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_Py_Void();
23119 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 PyObject
*resultobj
= 0;
23121 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23124 PyObject
*swig_obj
[1] ;
23126 if (!args
) SWIG_fail
;
23127 swig_obj
[0] = args
;
23128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23129 if (!SWIG_IsOK(res1
)) {
23130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23132 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 (arg1
)->ActivatePrevious();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_Py_Void();
23146 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23147 PyObject
*resultobj
= 0;
23148 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23151 PyObject
*swig_obj
[1] ;
23153 if (!args
) SWIG_fail
;
23154 swig_obj
[0] = args
;
23155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23156 if (!SWIG_IsOK(res1
)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23159 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 (arg1
)->ArrangeIcons();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_Py_Void();
23173 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 PyObject
*resultobj
= 0;
23175 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23178 PyObject
*swig_obj
[1] ;
23180 if (!args
) SWIG_fail
;
23181 swig_obj
[0] = args
;
23182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23186 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_Py_Void();
23200 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23201 PyObject
*resultobj
= 0;
23202 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23203 wxMDIChildFrame
*result
= 0 ;
23206 PyObject
*swig_obj
[1] ;
23208 if (!args
) SWIG_fail
;
23209 swig_obj
[0] = args
;
23210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23214 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23230 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23231 PyObject
*resultobj
= 0;
23232 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23233 wxMDIClientWindow
*result
= 0 ;
23236 PyObject
*swig_obj
[1] ;
23238 if (!args
) SWIG_fail
;
23239 swig_obj
[0] = args
;
23240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23244 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23260 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23263 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 char * kwnames
[] = {
23271 (char *) "self",(char *) "orient", NULL
23274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23279 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23282 if (!SWIG_IsOK(ecode2
)) {
23283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23285 arg2
= static_cast< wxOrientation
>(val2
);
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->Tile(arg2
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_Py_Void();
23300 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23303 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
23304 return SWIG_Py_Void();
23307 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 return SWIG_Python_InitShadowInstance(args
);
23311 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
= 0;
23313 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23314 int arg2
= (int) (int)-1 ;
23315 wxString
const &arg3_defvalue
= wxPyEmptyString
;
23316 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23317 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23318 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23319 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23320 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23321 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23322 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23323 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23324 wxMDIChildFrame
*result
= 0 ;
23329 bool temp3
= false ;
23334 bool temp7
= false ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 PyObject
* obj2
= 0 ;
23338 PyObject
* obj3
= 0 ;
23339 PyObject
* obj4
= 0 ;
23340 PyObject
* obj5
= 0 ;
23341 PyObject
* obj6
= 0 ;
23342 char * kwnames
[] = {
23343 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23348 if (!SWIG_IsOK(res1
)) {
23349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23351 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23354 if (!SWIG_IsOK(ecode2
)) {
23355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23357 arg2
= static_cast< int >(val2
);
23361 arg3
= wxString_in_helper(obj2
);
23362 if (arg3
== NULL
) SWIG_fail
;
23369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23379 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23380 if (!SWIG_IsOK(ecode6
)) {
23381 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23383 arg6
= static_cast< long >(val6
);
23387 arg7
= wxString_in_helper(obj6
);
23388 if (arg7
== NULL
) SWIG_fail
;
23393 if (!wxPyCheckForApp()) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
23422 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23423 PyObject
*resultobj
= 0;
23424 wxMDIChildFrame
*result
= 0 ;
23426 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
23428 if (!wxPyCheckForApp()) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
23441 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
= 0;
23443 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23444 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23445 int arg3
= (int) (int)-1 ;
23446 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23447 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23448 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23449 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23450 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23451 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23452 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
23453 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23454 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23462 bool temp4
= false ;
23467 bool temp8
= false ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 PyObject
* obj2
= 0 ;
23471 PyObject
* obj3
= 0 ;
23472 PyObject
* obj4
= 0 ;
23473 PyObject
* obj5
= 0 ;
23474 PyObject
* obj6
= 0 ;
23475 PyObject
* obj7
= 0 ;
23476 char * kwnames
[] = {
23477 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23485 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23487 if (!SWIG_IsOK(res2
)) {
23488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23490 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23493 if (!SWIG_IsOK(ecode3
)) {
23494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23496 arg3
= static_cast< int >(val3
);
23500 arg4
= wxString_in_helper(obj3
);
23501 if (arg4
== NULL
) SWIG_fail
;
23508 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23514 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23518 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23519 if (!SWIG_IsOK(ecode7
)) {
23520 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23522 arg7
= static_cast< long >(val7
);
23526 arg8
= wxString_in_helper(obj7
);
23527 if (arg8
== NULL
) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23562 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23563 PyObject
*resultobj
= 0;
23564 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23567 PyObject
*swig_obj
[1] ;
23569 if (!args
) SWIG_fail
;
23570 swig_obj
[0] = args
;
23571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23572 if (!SWIG_IsOK(res1
)) {
23573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23575 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->Activate();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_Py_Void();
23589 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23592 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
23593 return SWIG_Py_Void();
23596 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23597 return SWIG_Python_InitShadowInstance(args
);
23600 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
= 0;
23602 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23603 long arg2
= (long) 0 ;
23604 wxMDIClientWindow
*result
= 0 ;
23609 PyObject
* obj0
= 0 ;
23610 PyObject
* obj1
= 0 ;
23611 char * kwnames
[] = {
23612 (char *) "parent",(char *) "style", NULL
23615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23617 if (!SWIG_IsOK(res1
)) {
23618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23620 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
23623 if (!SWIG_IsOK(ecode2
)) {
23624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23626 arg2
= static_cast< long >(val2
);
23629 if (!wxPyCheckForApp()) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
23642 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23643 PyObject
*resultobj
= 0;
23644 wxMDIClientWindow
*result
= 0 ;
23646 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
23648 if (!wxPyCheckForApp()) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
23661 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
= 0;
23663 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
23664 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23665 long arg3
= (long) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 PyObject
* obj2
= 0 ;
23676 char * kwnames
[] = {
23677 (char *) "self",(char *) "parent",(char *) "style", NULL
23680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
23682 if (!SWIG_IsOK(res1
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23685 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
23686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23687 if (!SWIG_IsOK(res2
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23690 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23692 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
23693 if (!SWIG_IsOK(ecode3
)) {
23694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23696 arg3
= static_cast< long >(val3
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (bool)(arg1
)->Create(arg2
,arg3
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23713 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23716 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
23717 return SWIG_Py_Void();
23720 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23721 return SWIG_Python_InitShadowInstance(args
);
23724 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
= 0;
23726 wxWindow
*arg1
= (wxWindow
*) 0 ;
23727 int arg2
= (int) (int)-1 ;
23728 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23729 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23730 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23731 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23732 long arg5
= (long) 0 ;
23733 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23734 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23735 wxPyWindow
*result
= 0 ;
23744 bool temp6
= false ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 PyObject
* obj2
= 0 ;
23748 PyObject
* obj3
= 0 ;
23749 PyObject
* obj4
= 0 ;
23750 PyObject
* obj5
= 0 ;
23751 char * kwnames
[] = {
23752 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23760 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23763 if (!SWIG_IsOK(ecode2
)) {
23764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23766 arg2
= static_cast< int >(val2
);
23771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23777 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23781 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23782 if (!SWIG_IsOK(ecode5
)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
23785 arg5
= static_cast< long >(val5
);
23789 arg6
= wxString_in_helper(obj5
);
23790 if (arg6
== NULL
) SWIG_fail
;
23795 if (!wxPyCheckForApp()) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
23816 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23817 PyObject
*resultobj
= 0;
23818 wxPyWindow
*result
= 0 ;
23820 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
23822 if (!wxPyCheckForApp()) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxPyWindow
*)new wxPyWindow();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
23835 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
= 0;
23837 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
23838 PyObject
*arg2
= (PyObject
*) 0 ;
23839 PyObject
*arg3
= (PyObject
*) 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 PyObject
* obj2
= 0 ;
23845 char * kwnames
[] = {
23846 (char *) "self",(char *) "self",(char *) "_class", NULL
23849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
23851 if (!SWIG_IsOK(res1
)) {
23852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23854 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_Py_Void();
23870 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
= 0;
23872 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
23873 wxDC
*arg2
= (wxDC
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 char * kwnames
[] = {
23882 (char *) "self",(char *) "dc", NULL
23885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
23887 if (!SWIG_IsOK(res1
)) {
23888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23890 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
23891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23892 if (!SWIG_IsOK(res2
)) {
23893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23895 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23911 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
= 0;
23913 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 PyObject
* obj2
= 0 ;
23931 PyObject
* obj3
= 0 ;
23932 PyObject
* obj4
= 0 ;
23933 char * kwnames
[] = {
23934 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
23939 if (!SWIG_IsOK(res1
)) {
23940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23942 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
23943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23944 if (!SWIG_IsOK(ecode2
)) {
23945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23947 arg2
= static_cast< int >(val2
);
23948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23949 if (!SWIG_IsOK(ecode3
)) {
23950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23952 arg3
= static_cast< int >(val3
);
23953 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23954 if (!SWIG_IsOK(ecode4
)) {
23955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23957 arg4
= static_cast< int >(val4
);
23958 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23959 if (!SWIG_IsOK(ecode5
)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23962 arg5
= static_cast< int >(val5
);
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_Py_Void();
23976 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23978 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
23983 int arg6
= (int) wxSIZE_AUTO
;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 PyObject
* obj3
= 0 ;
24000 PyObject
* obj4
= 0 ;
24001 PyObject
* obj5
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24011 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24013 if (!SWIG_IsOK(ecode2
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24016 arg2
= static_cast< int >(val2
);
24017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24018 if (!SWIG_IsOK(ecode3
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24021 arg3
= static_cast< int >(val3
);
24022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24023 if (!SWIG_IsOK(ecode4
)) {
24024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24026 arg4
= static_cast< int >(val4
);
24027 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24028 if (!SWIG_IsOK(ecode5
)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24031 arg5
= static_cast< int >(val5
);
24033 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24034 if (!SWIG_IsOK(ecode6
)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24037 arg6
= static_cast< int >(val6
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= SWIG_Py_Void();
24052 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
= 0;
24054 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 PyObject
* obj2
= 0 ;
24066 char * kwnames
[] = {
24067 (char *) "self",(char *) "width",(char *) "height", NULL
24070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24075 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24077 if (!SWIG_IsOK(ecode2
)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24080 arg2
= static_cast< int >(val2
);
24081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24082 if (!SWIG_IsOK(ecode3
)) {
24083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24085 arg3
= static_cast< int >(val3
);
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 (arg1
)->DoSetClientSize(arg2
,arg3
);
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= SWIG_Py_Void();
24099 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
= 0;
24101 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 PyObject
* obj2
= 0 ;
24113 char * kwnames
[] = {
24114 (char *) "self",(char *) "x",(char *) "y", NULL
24117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24119 if (!SWIG_IsOK(res1
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24122 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24124 if (!SWIG_IsOK(ecode2
)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24127 arg2
= static_cast< int >(val2
);
24128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24129 if (!SWIG_IsOK(ecode3
)) {
24130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24132 arg3
= static_cast< int >(val3
);
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= SWIG_Py_Void();
24146 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24147 PyObject
*resultobj
= 0;
24148 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24149 int *arg2
= (int *) 0 ;
24150 int *arg3
= (int *) 0 ;
24154 int res2
= SWIG_TMPOBJ
;
24156 int res3
= SWIG_TMPOBJ
;
24157 PyObject
*swig_obj
[1] ;
24161 if (!args
) SWIG_fail
;
24162 swig_obj
[0] = args
;
24163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24164 if (!SWIG_IsOK(res1
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24167 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= SWIG_Py_Void();
24175 if (SWIG_IsTmpObj(res2
)) {
24176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24178 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24181 if (SWIG_IsTmpObj(res3
)) {
24182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24184 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24193 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24196 int *arg2
= (int *) 0 ;
24197 int *arg3
= (int *) 0 ;
24201 int res2
= SWIG_TMPOBJ
;
24203 int res3
= SWIG_TMPOBJ
;
24204 PyObject
*swig_obj
[1] ;
24208 if (!args
) SWIG_fail
;
24209 swig_obj
[0] = args
;
24210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24214 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= SWIG_Py_Void();
24222 if (SWIG_IsTmpObj(res2
)) {
24223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24225 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24228 if (SWIG_IsTmpObj(res3
)) {
24229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24231 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24240 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24241 PyObject
*resultobj
= 0;
24242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24243 int *arg2
= (int *) 0 ;
24244 int *arg3
= (int *) 0 ;
24248 int res2
= SWIG_TMPOBJ
;
24250 int res3
= SWIG_TMPOBJ
;
24251 PyObject
*swig_obj
[1] ;
24255 if (!args
) SWIG_fail
;
24256 swig_obj
[0] = args
;
24257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24258 if (!SWIG_IsOK(res1
)) {
24259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24261 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_Py_Void();
24269 if (SWIG_IsTmpObj(res2
)) {
24270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24272 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24275 if (SWIG_IsTmpObj(res3
)) {
24276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24278 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24287 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24288 PyObject
*resultobj
= 0;
24289 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24293 PyObject
*swig_obj
[1] ;
24295 if (!args
) SWIG_fail
;
24296 swig_obj
[0] = args
;
24297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24298 if (!SWIG_IsOK(res1
)) {
24299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24301 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24315 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24316 PyObject
*resultobj
= 0;
24317 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24321 PyObject
*swig_obj
[1] ;
24323 if (!args
) SWIG_fail
;
24324 swig_obj
[0] = args
;
24325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24329 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24343 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24344 PyObject
*resultobj
= 0;
24345 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24346 SwigValueWrapper
<wxVisualAttributes
> result
;
24349 PyObject
*swig_obj
[1] ;
24351 if (!args
) SWIG_fail
;
24352 swig_obj
[0] = args
;
24353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24354 if (!SWIG_IsOK(res1
)) {
24355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24357 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (arg1
)->GetDefaultAttributes();
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
24371 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24372 PyObject
*resultobj
= 0;
24373 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24376 PyObject
*swig_obj
[1] ;
24378 if (!args
) SWIG_fail
;
24379 swig_obj
[0] = args
;
24380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24381 if (!SWIG_IsOK(res1
)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24384 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 (arg1
)->OnInternalIdle();
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_Py_Void();
24398 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24401 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
24402 return SWIG_Py_Void();
24405 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24406 return SWIG_Python_InitShadowInstance(args
);
24409 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
= 0;
24411 wxWindow
*arg1
= (wxWindow
*) 0 ;
24412 int arg2
= (int) (int)-1 ;
24413 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24414 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24415 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24416 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24417 long arg5
= (long) 0 ;
24418 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24419 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24420 wxPyPanel
*result
= 0 ;
24429 bool temp6
= false ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 PyObject
* obj2
= 0 ;
24433 PyObject
* obj3
= 0 ;
24434 PyObject
* obj4
= 0 ;
24435 PyObject
* obj5
= 0 ;
24436 char * kwnames
[] = {
24437 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24448 if (!SWIG_IsOK(ecode2
)) {
24449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24451 arg2
= static_cast< int >(val2
);
24456 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24462 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24466 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24467 if (!SWIG_IsOK(ecode5
)) {
24468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24470 arg5
= static_cast< long >(val5
);
24474 arg6
= wxString_in_helper(obj5
);
24475 if (arg6
== NULL
) SWIG_fail
;
24480 if (!wxPyCheckForApp()) SWIG_fail
;
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
24501 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24502 PyObject
*resultobj
= 0;
24503 wxPyPanel
*result
= 0 ;
24505 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
24507 if (!wxPyCheckForApp()) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (wxPyPanel
*)new wxPyPanel();
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
24520 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
= 0;
24522 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24523 PyObject
*arg2
= (PyObject
*) 0 ;
24524 PyObject
*arg3
= (PyObject
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 PyObject
* obj2
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "self",(char *) "self",(char *) "_class", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24539 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_Py_Void();
24555 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
= 0;
24557 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24558 wxDC
*arg2
= (wxDC
*) 0 ;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 char * kwnames
[] = {
24567 (char *) "self",(char *) "dc", NULL
24570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24572 if (!SWIG_IsOK(res1
)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24575 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24577 if (!SWIG_IsOK(res2
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24580 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24596 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
= 0;
24598 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 PyObject
* obj2
= 0 ;
24616 PyObject
* obj3
= 0 ;
24617 PyObject
* obj4
= 0 ;
24618 char * kwnames
[] = {
24619 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24624 if (!SWIG_IsOK(res1
)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24627 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24629 if (!SWIG_IsOK(ecode2
)) {
24630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24632 arg2
= static_cast< int >(val2
);
24633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24634 if (!SWIG_IsOK(ecode3
)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24637 arg3
= static_cast< int >(val3
);
24638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24639 if (!SWIG_IsOK(ecode4
)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24642 arg4
= static_cast< int >(val4
);
24643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24644 if (!SWIG_IsOK(ecode5
)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24647 arg5
= static_cast< int >(val5
);
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_Py_Void();
24661 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
= 0;
24663 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24668 int arg6
= (int) wxSIZE_AUTO
;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 PyObject
* obj2
= 0 ;
24684 PyObject
* obj3
= 0 ;
24685 PyObject
* obj4
= 0 ;
24686 PyObject
* obj5
= 0 ;
24687 char * kwnames
[] = {
24688 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24693 if (!SWIG_IsOK(res1
)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24696 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24698 if (!SWIG_IsOK(ecode2
)) {
24699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24701 arg2
= static_cast< int >(val2
);
24702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24703 if (!SWIG_IsOK(ecode3
)) {
24704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24706 arg3
= static_cast< int >(val3
);
24707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24708 if (!SWIG_IsOK(ecode4
)) {
24709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24711 arg4
= static_cast< int >(val4
);
24712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24713 if (!SWIG_IsOK(ecode5
)) {
24714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24716 arg5
= static_cast< int >(val5
);
24718 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24719 if (!SWIG_IsOK(ecode6
)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24722 arg6
= static_cast< int >(val6
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_Py_Void();
24737 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= 0;
24739 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 PyObject
* obj2
= 0 ;
24751 char * kwnames
[] = {
24752 (char *) "self",(char *) "width",(char *) "height", NULL
24755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24757 if (!SWIG_IsOK(res1
)) {
24758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24760 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24762 if (!SWIG_IsOK(ecode2
)) {
24763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24765 arg2
= static_cast< int >(val2
);
24766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24767 if (!SWIG_IsOK(ecode3
)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24770 arg3
= static_cast< int >(val3
);
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->DoSetClientSize(arg2
,arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_Py_Void();
24784 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
= 0;
24786 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 PyObject
* obj2
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "self",(char *) "x",(char *) "y", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24807 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24809 if (!SWIG_IsOK(ecode2
)) {
24810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24812 arg2
= static_cast< int >(val2
);
24813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24814 if (!SWIG_IsOK(ecode3
)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24817 arg3
= static_cast< int >(val3
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_Py_Void();
24831 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24832 PyObject
*resultobj
= 0;
24833 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24834 int *arg2
= (int *) 0 ;
24835 int *arg3
= (int *) 0 ;
24839 int res2
= SWIG_TMPOBJ
;
24841 int res3
= SWIG_TMPOBJ
;
24842 PyObject
*swig_obj
[1] ;
24846 if (!args
) SWIG_fail
;
24847 swig_obj
[0] = args
;
24848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24852 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= SWIG_Py_Void();
24860 if (SWIG_IsTmpObj(res2
)) {
24861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24863 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24866 if (SWIG_IsTmpObj(res3
)) {
24867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24869 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24878 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24879 PyObject
*resultobj
= 0;
24880 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24881 int *arg2
= (int *) 0 ;
24882 int *arg3
= (int *) 0 ;
24886 int res2
= SWIG_TMPOBJ
;
24888 int res3
= SWIG_TMPOBJ
;
24889 PyObject
*swig_obj
[1] ;
24893 if (!args
) SWIG_fail
;
24894 swig_obj
[0] = args
;
24895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24896 if (!SWIG_IsOK(res1
)) {
24897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24899 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_Py_Void();
24907 if (SWIG_IsTmpObj(res2
)) {
24908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24910 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24913 if (SWIG_IsTmpObj(res3
)) {
24914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24916 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24925 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24926 PyObject
*resultobj
= 0;
24927 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24928 int *arg2
= (int *) 0 ;
24929 int *arg3
= (int *) 0 ;
24933 int res2
= SWIG_TMPOBJ
;
24935 int res3
= SWIG_TMPOBJ
;
24936 PyObject
*swig_obj
[1] ;
24940 if (!args
) SWIG_fail
;
24941 swig_obj
[0] = args
;
24942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24946 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_Py_Void();
24954 if (SWIG_IsTmpObj(res2
)) {
24955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24957 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24960 if (SWIG_IsTmpObj(res3
)) {
24961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24963 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24972 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24973 PyObject
*resultobj
= 0;
24974 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24978 PyObject
*swig_obj
[1] ;
24980 if (!args
) SWIG_fail
;
24981 swig_obj
[0] = args
;
24982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24983 if (!SWIG_IsOK(res1
)) {
24984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24986 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25000 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25001 PyObject
*resultobj
= 0;
25002 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25006 PyObject
*swig_obj
[1] ;
25008 if (!args
) SWIG_fail
;
25009 swig_obj
[0] = args
;
25010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25011 if (!SWIG_IsOK(res1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25014 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25028 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25029 PyObject
*resultobj
= 0;
25030 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25031 SwigValueWrapper
<wxVisualAttributes
> result
;
25034 PyObject
*swig_obj
[1] ;
25036 if (!args
) SWIG_fail
;
25037 swig_obj
[0] = args
;
25038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25042 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (arg1
)->GetDefaultAttributes();
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25056 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25057 PyObject
*resultobj
= 0;
25058 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25061 PyObject
*swig_obj
[1] ;
25063 if (!args
) SWIG_fail
;
25064 swig_obj
[0] = args
;
25065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25066 if (!SWIG_IsOK(res1
)) {
25067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25069 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 (arg1
)->OnInternalIdle();
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= SWIG_Py_Void();
25083 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25086 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
25087 return SWIG_Py_Void();
25090 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25091 return SWIG_Python_InitShadowInstance(args
);
25094 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
= 0;
25096 wxWindow
*arg1
= (wxWindow
*) 0 ;
25097 int arg2
= (int) (int)-1 ;
25098 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25099 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25100 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25101 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25102 long arg5
= (long) 0 ;
25103 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25104 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25105 wxPyScrolledWindow
*result
= 0 ;
25114 bool temp6
= false ;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 PyObject
* obj2
= 0 ;
25118 PyObject
* obj3
= 0 ;
25119 PyObject
* obj4
= 0 ;
25120 PyObject
* obj5
= 0 ;
25121 char * kwnames
[] = {
25122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25127 if (!SWIG_IsOK(res1
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25133 if (!SWIG_IsOK(ecode2
)) {
25134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25136 arg2
= static_cast< int >(val2
);
25141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25151 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25152 if (!SWIG_IsOK(ecode5
)) {
25153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25155 arg5
= static_cast< long >(val5
);
25159 arg6
= wxString_in_helper(obj5
);
25160 if (arg6
== NULL
) SWIG_fail
;
25165 if (!wxPyCheckForApp()) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
25186 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 PyObject
*resultobj
= 0;
25188 wxPyScrolledWindow
*result
= 0 ;
25190 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
25192 if (!wxPyCheckForApp()) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
25205 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
= 0;
25207 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25208 PyObject
*arg2
= (PyObject
*) 0 ;
25209 PyObject
*arg3
= (PyObject
*) 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 PyObject
* obj2
= 0 ;
25215 char * kwnames
[] = {
25216 (char *) "self",(char *) "self",(char *) "_class", NULL
25219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25224 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_Py_Void();
25240 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
= 0;
25242 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25243 wxDC
*arg2
= (wxDC
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char * kwnames
[] = {
25252 (char *) "self",(char *) "dc", NULL
25255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25257 if (!SWIG_IsOK(res1
)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25260 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25262 if (!SWIG_IsOK(res2
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25265 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25281 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
= 0;
25283 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 PyObject
* obj2
= 0 ;
25301 PyObject
* obj3
= 0 ;
25302 PyObject
* obj4
= 0 ;
25303 char * kwnames
[] = {
25304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25312 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25314 if (!SWIG_IsOK(ecode2
)) {
25315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25317 arg2
= static_cast< int >(val2
);
25318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25319 if (!SWIG_IsOK(ecode3
)) {
25320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25322 arg3
= static_cast< int >(val3
);
25323 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25324 if (!SWIG_IsOK(ecode4
)) {
25325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25327 arg4
= static_cast< int >(val4
);
25328 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25329 if (!SWIG_IsOK(ecode5
)) {
25330 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25332 arg5
= static_cast< int >(val5
);
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_Py_Void();
25346 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
= 0;
25348 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25353 int arg6
= (int) wxSIZE_AUTO
;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 PyObject
* obj2
= 0 ;
25369 PyObject
* obj3
= 0 ;
25370 PyObject
* obj4
= 0 ;
25371 PyObject
* obj5
= 0 ;
25372 char * kwnames
[] = {
25373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25378 if (!SWIG_IsOK(res1
)) {
25379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25381 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25383 if (!SWIG_IsOK(ecode2
)) {
25384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25386 arg2
= static_cast< int >(val2
);
25387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25388 if (!SWIG_IsOK(ecode3
)) {
25389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25391 arg3
= static_cast< int >(val3
);
25392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25393 if (!SWIG_IsOK(ecode4
)) {
25394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25396 arg4
= static_cast< int >(val4
);
25397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25398 if (!SWIG_IsOK(ecode5
)) {
25399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25401 arg5
= static_cast< int >(val5
);
25403 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25404 if (!SWIG_IsOK(ecode6
)) {
25405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25407 arg6
= static_cast< int >(val6
);
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_Py_Void();
25422 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
= 0;
25424 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 PyObject
* obj2
= 0 ;
25436 char * kwnames
[] = {
25437 (char *) "self",(char *) "width",(char *) "height", NULL
25440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25445 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25447 if (!SWIG_IsOK(ecode2
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25450 arg2
= static_cast< int >(val2
);
25451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25452 if (!SWIG_IsOK(ecode3
)) {
25453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25455 arg3
= static_cast< int >(val3
);
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 (arg1
)->DoSetClientSize(arg2
,arg3
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= SWIG_Py_Void();
25469 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
= 0;
25471 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 PyObject
* obj2
= 0 ;
25483 char * kwnames
[] = {
25484 (char *) "self",(char *) "x",(char *) "y", NULL
25487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25492 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25494 if (!SWIG_IsOK(ecode2
)) {
25495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25497 arg2
= static_cast< int >(val2
);
25498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25499 if (!SWIG_IsOK(ecode3
)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25502 arg3
= static_cast< int >(val3
);
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_Py_Void();
25516 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 PyObject
*resultobj
= 0;
25518 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25519 int *arg2
= (int *) 0 ;
25520 int *arg3
= (int *) 0 ;
25524 int res2
= SWIG_TMPOBJ
;
25526 int res3
= SWIG_TMPOBJ
;
25527 PyObject
*swig_obj
[1] ;
25531 if (!args
) SWIG_fail
;
25532 swig_obj
[0] = args
;
25533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25537 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= SWIG_Py_Void();
25545 if (SWIG_IsTmpObj(res2
)) {
25546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25548 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25551 if (SWIG_IsTmpObj(res3
)) {
25552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25554 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25563 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25564 PyObject
*resultobj
= 0;
25565 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25566 int *arg2
= (int *) 0 ;
25567 int *arg3
= (int *) 0 ;
25571 int res2
= SWIG_TMPOBJ
;
25573 int res3
= SWIG_TMPOBJ
;
25574 PyObject
*swig_obj
[1] ;
25578 if (!args
) SWIG_fail
;
25579 swig_obj
[0] = args
;
25580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25581 if (!SWIG_IsOK(res1
)) {
25582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25584 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= SWIG_Py_Void();
25592 if (SWIG_IsTmpObj(res2
)) {
25593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25595 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25598 if (SWIG_IsTmpObj(res3
)) {
25599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25601 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25610 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25611 PyObject
*resultobj
= 0;
25612 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25613 int *arg2
= (int *) 0 ;
25614 int *arg3
= (int *) 0 ;
25618 int res2
= SWIG_TMPOBJ
;
25620 int res3
= SWIG_TMPOBJ
;
25621 PyObject
*swig_obj
[1] ;
25625 if (!args
) SWIG_fail
;
25626 swig_obj
[0] = args
;
25627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25628 if (!SWIG_IsOK(res1
)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25631 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= SWIG_Py_Void();
25639 if (SWIG_IsTmpObj(res2
)) {
25640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25642 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25645 if (SWIG_IsTmpObj(res3
)) {
25646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25648 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25657 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25658 PyObject
*resultobj
= 0;
25659 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25663 PyObject
*swig_obj
[1] ;
25665 if (!args
) SWIG_fail
;
25666 swig_obj
[0] = args
;
25667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25668 if (!SWIG_IsOK(res1
)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25671 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25685 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 PyObject
*resultobj
= 0;
25687 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25691 PyObject
*swig_obj
[1] ;
25693 if (!args
) SWIG_fail
;
25694 swig_obj
[0] = args
;
25695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25696 if (!SWIG_IsOK(res1
)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25699 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25713 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25714 PyObject
*resultobj
= 0;
25715 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25716 SwigValueWrapper
<wxVisualAttributes
> result
;
25719 PyObject
*swig_obj
[1] ;
25721 if (!args
) SWIG_fail
;
25722 swig_obj
[0] = args
;
25723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25727 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (arg1
)->GetDefaultAttributes();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25741 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25742 PyObject
*resultobj
= 0;
25743 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25746 PyObject
*swig_obj
[1] ;
25748 if (!args
) SWIG_fail
;
25749 swig_obj
[0] = args
;
25750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25754 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 (arg1
)->OnInternalIdle();
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 resultobj
= SWIG_Py_Void();
25768 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
25772 return SWIG_Py_Void();
25775 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25776 return SWIG_Python_InitShadowInstance(args
);
25779 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
25780 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
25785 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
25786 PyObject
*pyobj
= 0;
25790 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
25792 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
25799 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
25800 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
25805 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
25806 PyObject
*pyobj
= 0;
25810 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
25812 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
25819 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25820 PyObject
*resultobj
= 0;
25821 wxPrintData
*result
= 0 ;
25823 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (wxPrintData
*)new wxPrintData();
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
25837 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25838 PyObject
*resultobj
= 0;
25839 wxPrintData
*arg1
= 0 ;
25840 wxPrintData
*result
= 0 ;
25844 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25852 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
25866 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
25870 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
25873 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
25876 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
25880 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
25885 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25886 PyObject
*resultobj
= 0;
25887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25890 PyObject
*swig_obj
[1] ;
25892 if (!args
) SWIG_fail
;
25893 swig_obj
[0] = args
;
25894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25898 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_Py_Void();
25913 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25914 PyObject
*resultobj
= 0;
25915 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25919 PyObject
*swig_obj
[1] ;
25921 if (!args
) SWIG_fail
;
25922 swig_obj
[0] = args
;
25923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25924 if (!SWIG_IsOK(res1
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
25927 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 result
= (int)(arg1
)->GetNoCopies();
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= SWIG_From_int(static_cast< int >(result
));
25941 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25942 PyObject
*resultobj
= 0;
25943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25947 PyObject
*swig_obj
[1] ;
25949 if (!args
) SWIG_fail
;
25950 swig_obj
[0] = args
;
25951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
25955 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (bool)(arg1
)->GetCollate();
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25971 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25972 PyObject
*resultobj
= 0;
25973 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25977 PyObject
*swig_obj
[1] ;
25979 if (!args
) SWIG_fail
;
25980 swig_obj
[0] = args
;
25981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25982 if (!SWIG_IsOK(res1
)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
25985 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= (int)(arg1
)->GetOrientation();
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_From_int(static_cast< int >(result
));
25999 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26000 PyObject
*resultobj
= 0;
26001 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26005 PyObject
*swig_obj
[1] ;
26007 if (!args
) SWIG_fail
;
26008 swig_obj
[0] = args
;
26009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26010 if (!SWIG_IsOK(res1
)) {
26011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26013 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26029 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26030 PyObject
*resultobj
= 0;
26031 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26035 PyObject
*swig_obj
[1] ;
26037 if (!args
) SWIG_fail
;
26038 swig_obj
[0] = args
;
26039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26040 if (!SWIG_IsOK(res1
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26043 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (bool)(arg1
)->IsOk();
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26059 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26060 PyObject
*resultobj
= 0;
26061 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26062 wxString
*result
= 0 ;
26065 PyObject
*swig_obj
[1] ;
26067 if (!args
) SWIG_fail
;
26068 swig_obj
[0] = args
;
26069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26073 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
26078 result
= (wxString
*) &_result_ref
;
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26087 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26096 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26097 PyObject
*resultobj
= 0;
26098 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26102 PyObject
*swig_obj
[1] ;
26104 if (!args
) SWIG_fail
;
26105 swig_obj
[0] = args
;
26106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26107 if (!SWIG_IsOK(res1
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26110 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (bool)(arg1
)->GetColour();
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26126 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26127 PyObject
*resultobj
= 0;
26128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26129 wxDuplexMode result
;
26132 PyObject
*swig_obj
[1] ;
26134 if (!args
) SWIG_fail
;
26135 swig_obj
[0] = args
;
26136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26137 if (!SWIG_IsOK(res1
)) {
26138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26140 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= SWIG_From_int(static_cast< int >(result
));
26154 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26155 PyObject
*resultobj
= 0;
26156 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26157 wxPaperSize result
;
26160 PyObject
*swig_obj
[1] ;
26162 if (!args
) SWIG_fail
;
26163 swig_obj
[0] = args
;
26164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26165 if (!SWIG_IsOK(res1
)) {
26166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26168 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (wxPaperSize
)(arg1
)->GetPaperId();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= SWIG_From_int(static_cast< int >(result
));
26182 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26183 PyObject
*resultobj
= 0;
26184 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26185 wxSize
*result
= 0 ;
26188 PyObject
*swig_obj
[1] ;
26190 if (!args
) SWIG_fail
;
26191 swig_obj
[0] = args
;
26192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26193 if (!SWIG_IsOK(res1
)) {
26194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26196 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
26201 result
= (wxSize
*) &_result_ref
;
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26213 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26214 PyObject
*resultobj
= 0;
26215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26219 PyObject
*swig_obj
[1] ;
26221 if (!args
) SWIG_fail
;
26222 swig_obj
[0] = args
;
26223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26227 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= (int)(arg1
)->GetQuality();
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_From_int(static_cast< int >(result
));
26241 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26242 PyObject
*resultobj
= 0;
26243 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26247 PyObject
*swig_obj
[1] ;
26249 if (!args
) SWIG_fail
;
26250 swig_obj
[0] = args
;
26251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26252 if (!SWIG_IsOK(res1
)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26255 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (wxPrintBin
)(arg1
)->GetBin();
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_From_int(static_cast< int >(result
));
26269 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26270 PyObject
*resultobj
= 0;
26271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26272 wxPrintMode result
;
26275 PyObject
*swig_obj
[1] ;
26277 if (!args
) SWIG_fail
;
26278 swig_obj
[0] = args
;
26279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26280 if (!SWIG_IsOK(res1
)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26283 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_From_int(static_cast< int >(result
));
26297 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 PyObject
*resultobj
= 0;
26299 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26303 PyObject
*swig_obj
[1] ;
26305 if (!args
) SWIG_fail
;
26306 swig_obj
[0] = args
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26311 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_From_int(static_cast< int >(result
));
26325 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
= 0;
26327 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 char * kwnames
[] = {
26336 (char *) "self",(char *) "v", NULL
26339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26344 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26346 if (!SWIG_IsOK(ecode2
)) {
26347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26349 arg2
= static_cast< int >(val2
);
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 (arg1
)->SetNoCopies(arg2
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_Py_Void();
26363 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
= 0;
26365 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char * kwnames
[] = {
26374 (char *) "self",(char *) "flag", NULL
26377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26379 if (!SWIG_IsOK(res1
)) {
26380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26382 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26383 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26384 if (!SWIG_IsOK(ecode2
)) {
26385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26387 arg2
= static_cast< bool >(val2
);
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 (arg1
)->SetCollate(arg2
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= SWIG_Py_Void();
26401 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
= 0;
26403 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char * kwnames
[] = {
26412 (char *) "self",(char *) "orient", NULL
26415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26417 if (!SWIG_IsOK(res1
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26420 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26422 if (!SWIG_IsOK(ecode2
)) {
26423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26425 arg2
= static_cast< int >(val2
);
26427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26428 (arg1
)->SetOrientation(arg2
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 resultobj
= SWIG_Py_Void();
26439 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
= 0;
26441 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 PyObject
* obj1
= 0 ;
26449 char * kwnames
[] = {
26450 (char *) "self",(char *) "reversed", NULL
26453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26455 if (!SWIG_IsOK(res1
)) {
26456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26458 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26459 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26460 if (!SWIG_IsOK(ecode2
)) {
26461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26463 arg2
= static_cast< bool >(val2
);
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 (arg1
)->SetOrientationReversed(arg2
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 resultobj
= SWIG_Py_Void();
26477 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
= 0;
26479 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26480 wxString
*arg2
= 0 ;
26483 bool temp2
= false ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 char * kwnames
[] = {
26487 (char *) "self",(char *) "name", NULL
26490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26495 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26497 arg2
= wxString_in_helper(obj1
);
26498 if (arg2
== NULL
) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "colour", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26541 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26542 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26543 if (!SWIG_IsOK(ecode2
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26546 arg2
= static_cast< bool >(val2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetColour(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26563 wxDuplexMode arg2
;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char * kwnames
[] = {
26571 (char *) "self",(char *) "duplex", NULL
26574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26579 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26581 if (!SWIG_IsOK(ecode2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26584 arg2
= static_cast< wxDuplexMode
>(val2
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetDuplex(arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "sizeId", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26617 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26619 if (!SWIG_IsOK(ecode2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26622 arg2
= static_cast< wxPaperSize
>(val2
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetPaperId(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
= 0;
26638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 char * kwnames
[] = {
26646 (char *) "self",(char *) "sz", NULL
26649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26651 if (!SWIG_IsOK(res1
)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26654 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26657 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= SWIG_Py_Void();
26672 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
= 0;
26674 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26680 PyObject
* obj0
= 0 ;
26681 PyObject
* obj1
= 0 ;
26682 char * kwnames
[] = {
26683 (char *) "self",(char *) "quality", NULL
26686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26688 if (!SWIG_IsOK(res1
)) {
26689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26691 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26693 if (!SWIG_IsOK(ecode2
)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26696 arg2
= static_cast< int >(val2
);
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->SetQuality(arg2
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_Py_Void();
26710 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
= 0;
26712 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26718 PyObject
* obj0
= 0 ;
26719 PyObject
* obj1
= 0 ;
26720 char * kwnames
[] = {
26721 (char *) "self",(char *) "bin", NULL
26724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26726 if (!SWIG_IsOK(res1
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26729 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26731 if (!SWIG_IsOK(ecode2
)) {
26732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26734 arg2
= static_cast< wxPrintBin
>(val2
);
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 (arg1
)->SetBin(arg2
);
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_Py_Void();
26748 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
= 0;
26750 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 char * kwnames
[] = {
26759 (char *) "self",(char *) "printMode", NULL
26762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26764 if (!SWIG_IsOK(res1
)) {
26765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26767 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26769 if (!SWIG_IsOK(ecode2
)) {
26770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26772 arg2
= static_cast< wxPrintMode
>(val2
);
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 (arg1
)->SetPrintMode(arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_Py_Void();
26786 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
= 0;
26788 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 char * kwnames
[] = {
26797 (char *) "self",(char *) "media", NULL
26800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
26805 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26807 if (!SWIG_IsOK(ecode2
)) {
26808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
26810 arg2
= static_cast< int >(val2
);
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 (arg1
)->SetMedia(arg2
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= SWIG_Py_Void();
26824 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26825 PyObject
*resultobj
= 0;
26826 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26830 PyObject
*swig_obj
[1] ;
26832 if (!args
) SWIG_fail
;
26833 swig_obj
[0] = args
;
26834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26838 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= ((wxPrintData
const *)arg1
)->GetFilename();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26858 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
= 0;
26860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26861 wxString
*arg2
= 0 ;
26864 bool temp2
= false ;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 char * kwnames
[] = {
26868 (char *) "self",(char *) "filename", NULL
26871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26873 if (!SWIG_IsOK(res1
)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
26876 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26878 arg2
= wxString_in_helper(obj1
);
26879 if (arg2
== NULL
) SWIG_fail
;
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 (arg1
)->SetFilename((wxString
const &)*arg2
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= SWIG_Py_Void();
26903 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26904 PyObject
*resultobj
= 0;
26905 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26906 PyObject
*result
= 0 ;
26909 PyObject
*swig_obj
[1] ;
26911 if (!args
) SWIG_fail
;
26912 swig_obj
[0] = args
;
26913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26914 if (!SWIG_IsOK(res1
)) {
26915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26917 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= result
;
26931 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
= 0;
26933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26934 PyObject
*arg2
= (PyObject
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char * kwnames
[] = {
26940 (char *) "self",(char *) "data", NULL
26943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26945 if (!SWIG_IsOK(res1
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26948 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 wxPrintData_SetPrivData(arg1
,arg2
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= SWIG_Py_Void();
26963 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26966 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
26967 return SWIG_Py_Void();
26970 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26971 return SWIG_Python_InitShadowInstance(args
);
26974 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26975 PyObject
*resultobj
= 0;
26976 wxPageSetupDialogData
*result
= 0 ;
26978 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
26992 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26993 PyObject
*resultobj
= 0;
26994 wxPageSetupDialogData
*arg1
= 0 ;
26995 wxPageSetupDialogData
*result
= 0 ;
26999 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27007 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27021 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27022 PyObject
*resultobj
= 0;
27023 wxPrintData
*arg1
= 0 ;
27024 wxPageSetupDialogData
*result
= 0 ;
27028 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27036 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27050 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
27054 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
27057 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
27062 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
27063 _v
= SWIG_CheckState(res
);
27065 if (!_v
) goto check_2
;
27066 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
27071 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
27075 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
27080 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27081 PyObject
*resultobj
= 0;
27082 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27085 PyObject
*swig_obj
[1] ;
27087 if (!args
) SWIG_fail
;
27088 swig_obj
[0] = args
;
27089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
27090 if (!SWIG_IsOK(res1
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27093 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= SWIG_Py_Void();
27108 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
= 0;
27110 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27116 PyObject
* obj0
= 0 ;
27117 PyObject
* obj1
= 0 ;
27118 char * kwnames
[] = {
27119 (char *) "self",(char *) "flag", NULL
27122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27124 if (!SWIG_IsOK(res1
)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27127 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27128 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27129 if (!SWIG_IsOK(ecode2
)) {
27130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27132 arg2
= static_cast< bool >(val2
);
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 (arg1
)->EnableHelp(arg2
);
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27139 resultobj
= SWIG_Py_Void();
27146 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
= 0;
27148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 char * kwnames
[] = {
27157 (char *) "self",(char *) "flag", NULL
27160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27165 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27166 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27167 if (!SWIG_IsOK(ecode2
)) {
27168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27170 arg2
= static_cast< bool >(val2
);
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 (arg1
)->EnableMargins(arg2
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_Py_Void();
27184 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
= 0;
27186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "flag", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27203 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27204 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27205 if (!SWIG_IsOK(ecode2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27208 arg2
= static_cast< bool >(val2
);
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 (arg1
)->EnableOrientation(arg2
);
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_Py_Void();
27222 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
= 0;
27224 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 PyObject
* obj1
= 0 ;
27232 char * kwnames
[] = {
27233 (char *) "self",(char *) "flag", NULL
27236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27241 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27243 if (!SWIG_IsOK(ecode2
)) {
27244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27246 arg2
= static_cast< bool >(val2
);
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 (arg1
)->EnablePaper(arg2
);
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_Py_Void();
27260 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
= 0;
27262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 PyObject
* obj1
= 0 ;
27270 char * kwnames
[] = {
27271 (char *) "self",(char *) "flag", NULL
27274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27276 if (!SWIG_IsOK(res1
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27279 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27280 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27281 if (!SWIG_IsOK(ecode2
)) {
27282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27284 arg2
= static_cast< bool >(val2
);
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 (arg1
)->EnablePrinter(arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= SWIG_Py_Void();
27298 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27299 PyObject
*resultobj
= 0;
27300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27304 PyObject
*swig_obj
[1] ;
27306 if (!args
) SWIG_fail
;
27307 swig_obj
[0] = args
;
27308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27309 if (!SWIG_IsOK(res1
)) {
27310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27312 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 result
= (bool)(arg1
)->GetDefaultMinMargins();
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27328 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 PyObject
*resultobj
= 0;
27330 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27334 PyObject
*swig_obj
[1] ;
27336 if (!args
) SWIG_fail
;
27337 swig_obj
[0] = args
;
27338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27342 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (bool)(arg1
)->GetEnableMargins();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27358 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27359 PyObject
*resultobj
= 0;
27360 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27364 PyObject
*swig_obj
[1] ;
27366 if (!args
) SWIG_fail
;
27367 swig_obj
[0] = args
;
27368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27369 if (!SWIG_IsOK(res1
)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27372 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= (bool)(arg1
)->GetEnableOrientation();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27388 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27389 PyObject
*resultobj
= 0;
27390 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27394 PyObject
*swig_obj
[1] ;
27396 if (!args
) SWIG_fail
;
27397 swig_obj
[0] = args
;
27398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27399 if (!SWIG_IsOK(res1
)) {
27400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27402 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 result
= (bool)(arg1
)->GetEnablePaper();
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27418 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27419 PyObject
*resultobj
= 0;
27420 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27424 PyObject
*swig_obj
[1] ;
27426 if (!args
) SWIG_fail
;
27427 swig_obj
[0] = args
;
27428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27429 if (!SWIG_IsOK(res1
)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27432 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= (bool)(arg1
)->GetEnablePrinter();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27448 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27449 PyObject
*resultobj
= 0;
27450 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27454 PyObject
*swig_obj
[1] ;
27456 if (!args
) SWIG_fail
;
27457 swig_obj
[0] = args
;
27458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 result
= (bool)(arg1
)->GetEnableHelp();
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27478 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27479 PyObject
*resultobj
= 0;
27480 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27484 PyObject
*swig_obj
[1] ;
27486 if (!args
) SWIG_fail
;
27487 swig_obj
[0] = args
;
27488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27489 if (!SWIG_IsOK(res1
)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27492 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 result
= (bool)(arg1
)->GetDefaultInfo();
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27508 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27509 PyObject
*resultobj
= 0;
27510 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27514 PyObject
*swig_obj
[1] ;
27516 if (!args
) SWIG_fail
;
27517 swig_obj
[0] = args
;
27518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27519 if (!SWIG_IsOK(res1
)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27522 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (arg1
)->GetMarginTopLeft();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27536 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27537 PyObject
*resultobj
= 0;
27538 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27542 PyObject
*swig_obj
[1] ;
27544 if (!args
) SWIG_fail
;
27545 swig_obj
[0] = args
;
27546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27547 if (!SWIG_IsOK(res1
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27550 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 result
= (arg1
)->GetMarginBottomRight();
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27564 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27565 PyObject
*resultobj
= 0;
27566 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27570 PyObject
*swig_obj
[1] ;
27572 if (!args
) SWIG_fail
;
27573 swig_obj
[0] = args
;
27574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27575 if (!SWIG_IsOK(res1
)) {
27576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27578 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= (arg1
)->GetMinMarginTopLeft();
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27592 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27593 PyObject
*resultobj
= 0;
27594 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27598 PyObject
*swig_obj
[1] ;
27600 if (!args
) SWIG_fail
;
27601 swig_obj
[0] = args
;
27602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27603 if (!SWIG_IsOK(res1
)) {
27604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27606 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 result
= (arg1
)->GetMinMarginBottomRight();
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27620 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27621 PyObject
*resultobj
= 0;
27622 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27623 wxPaperSize result
;
27626 PyObject
*swig_obj
[1] ;
27628 if (!args
) SWIG_fail
;
27629 swig_obj
[0] = args
;
27630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27631 if (!SWIG_IsOK(res1
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27634 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (wxPaperSize
)(arg1
)->GetPaperId();
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_From_int(static_cast< int >(result
));
27648 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27649 PyObject
*resultobj
= 0;
27650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27654 PyObject
*swig_obj
[1] ;
27656 if (!args
) SWIG_fail
;
27657 swig_obj
[0] = args
;
27658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27659 if (!SWIG_IsOK(res1
)) {
27660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27662 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (arg1
)->GetPaperSize();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
27676 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27677 PyObject
*resultobj
= 0;
27678 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27679 wxPrintData
*result
= 0 ;
27682 PyObject
*swig_obj
[1] ;
27684 if (!args
) SWIG_fail
;
27685 swig_obj
[0] = args
;
27686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27687 if (!SWIG_IsOK(res1
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27690 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27695 result
= (wxPrintData
*) &_result_ref
;
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27707 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27708 PyObject
*resultobj
= 0;
27709 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27713 PyObject
*swig_obj
[1] ;
27715 if (!args
) SWIG_fail
;
27716 swig_obj
[0] = args
;
27717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27718 if (!SWIG_IsOK(res1
)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27721 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 result
= (bool)(arg1
)->IsOk();
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27737 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
= 0;
27739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 char * kwnames
[] = {
27748 (char *) "self",(char *) "flag", NULL
27751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27753 if (!SWIG_IsOK(res1
)) {
27754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27756 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27758 if (!SWIG_IsOK(ecode2
)) {
27759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27761 arg2
= static_cast< bool >(val2
);
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 (arg1
)->SetDefaultInfo(arg2
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_Py_Void();
27775 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
= 0;
27777 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 PyObject
* obj1
= 0 ;
27785 char * kwnames
[] = {
27786 (char *) "self",(char *) "flag", NULL
27789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27794 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27796 if (!SWIG_IsOK(ecode2
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
27799 arg2
= static_cast< bool >(val2
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->SetDefaultMinMargins(arg2
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_Py_Void();
27813 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
= 0;
27815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27816 wxPoint
*arg2
= 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 char * kwnames
[] = {
27823 (char *) "self",(char *) "pt", NULL
27826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27831 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
27839 wxPyEndAllowThreads(__tstate
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27842 resultobj
= SWIG_Py_Void();
27849 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
= 0;
27851 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27852 wxPoint
*arg2
= 0 ;
27856 PyObject
* obj0
= 0 ;
27857 PyObject
* obj1
= 0 ;
27858 char * kwnames
[] = {
27859 (char *) "self",(char *) "pt", NULL
27862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27867 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= SWIG_Py_Void();
27885 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
= 0;
27887 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27888 wxPoint
*arg2
= 0 ;
27892 PyObject
* obj0
= 0 ;
27893 PyObject
* obj1
= 0 ;
27894 char * kwnames
[] = {
27895 (char *) "self",(char *) "pt", NULL
27898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27903 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= SWIG_Py_Void();
27921 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
= 0;
27923 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27924 wxPoint
*arg2
= 0 ;
27928 PyObject
* obj0
= 0 ;
27929 PyObject
* obj1
= 0 ;
27930 char * kwnames
[] = {
27931 (char *) "self",(char *) "pt", NULL
27934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27936 if (!SWIG_IsOK(res1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27939 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_Py_Void();
27957 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 char * kwnames
[] = {
27968 (char *) "self",(char *) "id", NULL
27971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27976 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27978 if (!SWIG_IsOK(ecode2
)) {
27979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
27981 arg2
= static_cast< wxPaperSize
>(val2
);
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 (arg1
)->SetPaperId(arg2
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= SWIG_Py_Void();
27995 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
= 0;
27997 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 char * kwnames
[] = {
28005 (char *) "self",(char *) "size", NULL
28008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28010 if (!SWIG_IsOK(res1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28013 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_Py_Void();
28031 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
= 0;
28033 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28034 wxPrintData
*arg2
= 0 ;
28039 PyObject
* obj0
= 0 ;
28040 PyObject
* obj1
= 0 ;
28041 char * kwnames
[] = {
28042 (char *) "self",(char *) "printData", NULL
28045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28047 if (!SWIG_IsOK(res1
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28050 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28052 if (!SWIG_IsOK(res2
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28058 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= SWIG_Py_Void();
28072 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 PyObject
*resultobj
= 0;
28074 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28077 PyObject
*swig_obj
[1] ;
28079 if (!args
) SWIG_fail
;
28080 swig_obj
[0] = args
;
28081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28082 if (!SWIG_IsOK(res1
)) {
28083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28085 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 (arg1
)->CalculateIdFromPaperSize();
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= SWIG_Py_Void();
28099 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28100 PyObject
*resultobj
= 0;
28101 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28104 PyObject
*swig_obj
[1] ;
28106 if (!args
) SWIG_fail
;
28107 swig_obj
[0] = args
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28112 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->CalculatePaperSizeFromId();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= SWIG_Py_Void();
28126 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28129 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
28130 return SWIG_Py_Void();
28133 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28134 return SWIG_Python_InitShadowInstance(args
);
28137 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
= 0;
28139 wxWindow
*arg1
= (wxWindow
*) 0 ;
28140 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
28141 wxPageSetupDialog
*result
= 0 ;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj1
= 0 ;
28148 char * kwnames
[] = {
28149 (char *) "parent",(char *) "data", NULL
28152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28154 if (!SWIG_IsOK(res1
)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28160 if (!SWIG_IsOK(res2
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28163 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28166 if (!wxPyCheckForApp()) SWIG_fail
;
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
28179 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28180 PyObject
*resultobj
= 0;
28181 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28184 PyObject
*swig_obj
[1] ;
28186 if (!args
) SWIG_fail
;
28187 swig_obj
[0] = args
;
28188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28192 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= SWIG_Py_Void();
28207 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28208 PyObject
*resultobj
= 0;
28209 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28210 wxPageSetupDialogData
*result
= 0 ;
28213 PyObject
*swig_obj
[1] ;
28215 if (!args
) SWIG_fail
;
28216 swig_obj
[0] = args
;
28217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28221 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
28226 result
= (wxPageSetupDialogData
*) &_result_ref
;
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28238 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 PyObject
*resultobj
= 0;
28240 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28241 wxPageSetupDialogData
*result
= 0 ;
28244 PyObject
*swig_obj
[1] ;
28246 if (!args
) SWIG_fail
;
28247 swig_obj
[0] = args
;
28248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28249 if (!SWIG_IsOK(res1
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28252 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28256 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
28257 result
= (wxPageSetupDialogData
*) &_result_ref
;
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28269 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28270 PyObject
*resultobj
= 0;
28271 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28275 PyObject
*swig_obj
[1] ;
28277 if (!args
) SWIG_fail
;
28278 swig_obj
[0] = args
;
28279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28280 if (!SWIG_IsOK(res1
)) {
28281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28283 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= (int)(arg1
)->ShowModal();
28287 wxPyEndAllowThreads(__tstate
);
28288 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= SWIG_From_int(static_cast< int >(result
));
28297 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28300 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
28301 return SWIG_Py_Void();
28304 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28305 return SWIG_Python_InitShadowInstance(args
);
28308 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
28309 PyObject
*resultobj
= 0;
28310 wxPrintDialogData
*result
= 0 ;
28312 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (wxPrintDialogData
*)new wxPrintDialogData();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28326 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28327 PyObject
*resultobj
= 0;
28328 wxPrintData
*arg1
= 0 ;
28329 wxPrintDialogData
*result
= 0 ;
28333 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28335 if (!SWIG_IsOK(res1
)) {
28336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28341 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28355 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28356 PyObject
*resultobj
= 0;
28357 wxPrintDialogData
*arg1
= 0 ;
28358 wxPrintDialogData
*result
= 0 ;
28362 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28370 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28373 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28384 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
28388 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
28391 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
28396 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
28397 _v
= SWIG_CheckState(res
);
28399 if (!_v
) goto check_2
;
28400 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
28405 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
28409 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
28414 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28415 PyObject
*resultobj
= 0;
28416 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28419 PyObject
*swig_obj
[1] ;
28421 if (!args
) SWIG_fail
;
28422 swig_obj
[0] = args
;
28423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28427 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_Py_Void();
28442 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28443 PyObject
*resultobj
= 0;
28444 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28448 PyObject
*swig_obj
[1] ;
28450 if (!args
) SWIG_fail
;
28451 swig_obj
[0] = args
;
28452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28456 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= SWIG_From_int(static_cast< int >(result
));
28470 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28471 PyObject
*resultobj
= 0;
28472 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28476 PyObject
*swig_obj
[1] ;
28478 if (!args
) SWIG_fail
;
28479 swig_obj
[0] = args
;
28480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28481 if (!SWIG_IsOK(res1
)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28484 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_From_int(static_cast< int >(result
));
28498 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28499 PyObject
*resultobj
= 0;
28500 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28504 PyObject
*swig_obj
[1] ;
28506 if (!args
) SWIG_fail
;
28507 swig_obj
[0] = args
;
28508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28509 if (!SWIG_IsOK(res1
)) {
28510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28512 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= SWIG_From_int(static_cast< int >(result
));
28526 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28527 PyObject
*resultobj
= 0;
28528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28532 PyObject
*swig_obj
[1] ;
28534 if (!args
) SWIG_fail
;
28535 swig_obj
[0] = args
;
28536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28537 if (!SWIG_IsOK(res1
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28540 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= SWIG_From_int(static_cast< int >(result
));
28554 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28555 PyObject
*resultobj
= 0;
28556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28560 PyObject
*swig_obj
[1] ;
28562 if (!args
) SWIG_fail
;
28563 swig_obj
[0] = args
;
28564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28568 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_From_int(static_cast< int >(result
));
28582 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 PyObject
*resultobj
= 0;
28584 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28588 PyObject
*swig_obj
[1] ;
28590 if (!args
) SWIG_fail
;
28591 swig_obj
[0] = args
;
28592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28593 if (!SWIG_IsOK(res1
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28596 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28612 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28613 PyObject
*resultobj
= 0;
28614 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28618 PyObject
*swig_obj
[1] ;
28620 if (!args
) SWIG_fail
;
28621 swig_obj
[0] = args
;
28622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28623 if (!SWIG_IsOK(res1
)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28626 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28642 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28643 PyObject
*resultobj
= 0;
28644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28648 PyObject
*swig_obj
[1] ;
28650 if (!args
) SWIG_fail
;
28651 swig_obj
[0] = args
;
28652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28653 if (!SWIG_IsOK(res1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28656 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28672 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28673 PyObject
*resultobj
= 0;
28674 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28678 PyObject
*swig_obj
[1] ;
28680 if (!args
) SWIG_fail
;
28681 swig_obj
[0] = args
;
28682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28683 if (!SWIG_IsOK(res1
)) {
28684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28686 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28702 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
= 0;
28704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28710 PyObject
* obj0
= 0 ;
28711 PyObject
* obj1
= 0 ;
28712 char * kwnames
[] = {
28713 (char *) "self",(char *) "v", NULL
28716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28718 if (!SWIG_IsOK(res1
)) {
28719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28721 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28723 if (!SWIG_IsOK(ecode2
)) {
28724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28726 arg2
= static_cast< int >(val2
);
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->SetFromPage(arg2
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_Py_Void();
28740 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
= 0;
28742 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 char * kwnames
[] = {
28751 (char *) "self",(char *) "v", NULL
28754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28759 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28761 if (!SWIG_IsOK(ecode2
)) {
28762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28764 arg2
= static_cast< int >(val2
);
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 (arg1
)->SetToPage(arg2
);
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= SWIG_Py_Void();
28778 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
= 0;
28780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 char * kwnames
[] = {
28789 (char *) "self",(char *) "v", NULL
28792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28797 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28799 if (!SWIG_IsOK(ecode2
)) {
28800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
28802 arg2
= static_cast< int >(val2
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->SetMinPage(arg2
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_Py_Void();
28816 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= 0;
28818 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28824 PyObject
* obj0
= 0 ;
28825 PyObject
* obj1
= 0 ;
28826 char * kwnames
[] = {
28827 (char *) "self",(char *) "v", NULL
28830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28832 if (!SWIG_IsOK(res1
)) {
28833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28835 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28837 if (!SWIG_IsOK(ecode2
)) {
28838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
28840 arg2
= static_cast< int >(val2
);
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 (arg1
)->SetMaxPage(arg2
);
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= SWIG_Py_Void();
28854 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
= 0;
28856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28862 PyObject
* obj0
= 0 ;
28863 PyObject
* obj1
= 0 ;
28864 char * kwnames
[] = {
28865 (char *) "self",(char *) "v", NULL
28868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28870 if (!SWIG_IsOK(res1
)) {
28871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28873 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28875 if (!SWIG_IsOK(ecode2
)) {
28876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
28878 arg2
= static_cast< int >(val2
);
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 (arg1
)->SetNoCopies(arg2
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_Py_Void();
28892 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
= 0;
28894 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 char * kwnames
[] = {
28903 (char *) "self",(char *) "flag", NULL
28906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28908 if (!SWIG_IsOK(res1
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28911 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28912 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28913 if (!SWIG_IsOK(ecode2
)) {
28914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
28916 arg2
= static_cast< bool >(val2
);
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 (arg1
)->SetAllPages(arg2
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_Py_Void();
28930 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
= 0;
28932 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 char * kwnames
[] = {
28941 (char *) "self",(char *) "flag", NULL
28944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28946 if (!SWIG_IsOK(res1
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28949 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28951 if (!SWIG_IsOK(ecode2
)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
28954 arg2
= static_cast< bool >(val2
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 (arg1
)->SetSelection(arg2
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_Py_Void();
28968 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
= 0;
28970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 char * kwnames
[] = {
28979 (char *) "self",(char *) "flag", NULL
28982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28984 if (!SWIG_IsOK(res1
)) {
28985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28987 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28989 if (!SWIG_IsOK(ecode2
)) {
28990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
28992 arg2
= static_cast< bool >(val2
);
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 (arg1
)->SetCollate(arg2
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_Py_Void();
29006 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
= 0;
29008 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29014 PyObject
* obj0
= 0 ;
29015 PyObject
* obj1
= 0 ;
29016 char * kwnames
[] = {
29017 (char *) "self",(char *) "flag", NULL
29020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29022 if (!SWIG_IsOK(res1
)) {
29023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29025 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29027 if (!SWIG_IsOK(ecode2
)) {
29028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29030 arg2
= static_cast< bool >(val2
);
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 (arg1
)->SetPrintToFile(arg2
);
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= SWIG_Py_Void();
29044 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
= 0;
29046 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 char * kwnames
[] = {
29055 (char *) "self",(char *) "flag", NULL
29058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29060 if (!SWIG_IsOK(res1
)) {
29061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29063 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29064 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29065 if (!SWIG_IsOK(ecode2
)) {
29066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29068 arg2
= static_cast< bool >(val2
);
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 (arg1
)->EnablePrintToFile(arg2
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= SWIG_Py_Void();
29082 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
= 0;
29084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29090 PyObject
* obj0
= 0 ;
29091 PyObject
* obj1
= 0 ;
29092 char * kwnames
[] = {
29093 (char *) "self",(char *) "flag", NULL
29096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29101 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29102 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29103 if (!SWIG_IsOK(ecode2
)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29106 arg2
= static_cast< bool >(val2
);
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 (arg1
)->EnableSelection(arg2
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 resultobj
= SWIG_Py_Void();
29120 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
= 0;
29122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 char * kwnames
[] = {
29131 (char *) "self",(char *) "flag", NULL
29134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29136 if (!SWIG_IsOK(res1
)) {
29137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29139 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29140 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29141 if (!SWIG_IsOK(ecode2
)) {
29142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29144 arg2
= static_cast< bool >(val2
);
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 (arg1
)->EnablePageNumbers(arg2
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= SWIG_Py_Void();
29158 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
= 0;
29160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 char * kwnames
[] = {
29169 (char *) "self",(char *) "flag", NULL
29172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29174 if (!SWIG_IsOK(res1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29177 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29178 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29179 if (!SWIG_IsOK(ecode2
)) {
29180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29182 arg2
= static_cast< bool >(val2
);
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 (arg1
)->EnableHelp(arg2
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_Py_Void();
29196 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29197 PyObject
*resultobj
= 0;
29198 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29202 PyObject
*swig_obj
[1] ;
29204 if (!args
) SWIG_fail
;
29205 swig_obj
[0] = args
;
29206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29207 if (!SWIG_IsOK(res1
)) {
29208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29210 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29226 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29227 PyObject
*resultobj
= 0;
29228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29232 PyObject
*swig_obj
[1] ;
29234 if (!args
) SWIG_fail
;
29235 swig_obj
[0] = args
;
29236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29237 if (!SWIG_IsOK(res1
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29240 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29256 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29257 PyObject
*resultobj
= 0;
29258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29262 PyObject
*swig_obj
[1] ;
29264 if (!args
) SWIG_fail
;
29265 swig_obj
[0] = args
;
29266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29267 if (!SWIG_IsOK(res1
)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29270 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29286 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29287 PyObject
*resultobj
= 0;
29288 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29292 PyObject
*swig_obj
[1] ;
29294 if (!args
) SWIG_fail
;
29295 swig_obj
[0] = args
;
29296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29297 if (!SWIG_IsOK(res1
)) {
29298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29300 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29316 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29317 PyObject
*resultobj
= 0;
29318 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 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_wxPrintDialogData
, 0 | 0 );
29327 if (!SWIG_IsOK(res1
)) {
29328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29330 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29346 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29347 PyObject
*resultobj
= 0;
29348 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29349 wxPrintData
*result
= 0 ;
29352 PyObject
*swig_obj
[1] ;
29354 if (!args
) SWIG_fail
;
29355 swig_obj
[0] = args
;
29356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29357 if (!SWIG_IsOK(res1
)) {
29358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29360 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29365 result
= (wxPrintData
*) &_result_ref
;
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29377 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29380 wxPrintData
*arg2
= 0 ;
29385 PyObject
* obj0
= 0 ;
29386 PyObject
* obj1
= 0 ;
29387 char * kwnames
[] = {
29388 (char *) "self",(char *) "printData", NULL
29391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29393 if (!SWIG_IsOK(res1
)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29396 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
29398 if (!SWIG_IsOK(res2
)) {
29399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29404 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29411 resultobj
= SWIG_Py_Void();
29418 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
29422 return SWIG_Py_Void();
29425 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29426 return SWIG_Python_InitShadowInstance(args
);
29429 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
= 0;
29431 wxWindow
*arg1
= (wxWindow
*) 0 ;
29432 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
29433 wxPrintDialog
*result
= 0 ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 char * kwnames
[] = {
29441 (char *) "parent",(char *) "data", NULL
29444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29446 if (!SWIG_IsOK(res1
)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29452 if (!SWIG_IsOK(res2
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29455 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
29458 if (!wxPyCheckForApp()) SWIG_fail
;
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
29471 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29472 PyObject
*resultobj
= 0;
29473 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29476 PyObject
*swig_obj
[1] ;
29478 if (!args
) SWIG_fail
;
29479 swig_obj
[0] = args
;
29480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
29481 if (!SWIG_IsOK(res1
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29484 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_Py_Void();
29499 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29500 PyObject
*resultobj
= 0;
29501 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29505 PyObject
*swig_obj
[1] ;
29507 if (!args
) SWIG_fail
;
29508 swig_obj
[0] = args
;
29509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29510 if (!SWIG_IsOK(res1
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29513 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (int)(arg1
)->ShowModal();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_From_int(static_cast< int >(result
));
29527 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29528 PyObject
*resultobj
= 0;
29529 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29530 wxPrintDialogData
*result
= 0 ;
29533 PyObject
*swig_obj
[1] ;
29535 if (!args
) SWIG_fail
;
29536 swig_obj
[0] = args
;
29537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29541 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29546 result
= (wxPrintDialogData
*) &_result_ref
;
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29558 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29559 PyObject
*resultobj
= 0;
29560 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29561 wxPrintData
*result
= 0 ;
29564 PyObject
*swig_obj
[1] ;
29566 if (!args
) SWIG_fail
;
29567 swig_obj
[0] = args
;
29568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29572 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29577 result
= (wxPrintData
*) &_result_ref
;
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29589 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29590 PyObject
*resultobj
= 0;
29591 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29595 PyObject
*swig_obj
[1] ;
29597 if (!args
) SWIG_fail
;
29598 swig_obj
[0] = args
;
29599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29600 if (!SWIG_IsOK(res1
)) {
29601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29603 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 result
= (wxDC
*)(arg1
)->GetPrintDC();
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
29619 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
29623 return SWIG_Py_Void();
29626 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29627 return SWIG_Python_InitShadowInstance(args
);
29630 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
= 0;
29632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
29633 wxPrinter
*result
= 0 ;
29636 PyObject
* obj0
= 0 ;
29637 char * kwnames
[] = {
29638 (char *) "data", NULL
29641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
29643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29647 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29650 if (!wxPyCheckForApp()) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (wxPrinter
*)new wxPrinter(arg1
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
29663 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29664 PyObject
*resultobj
= 0;
29665 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29668 PyObject
*swig_obj
[1] ;
29670 if (!args
) SWIG_fail
;
29671 swig_obj
[0] = args
;
29672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
29673 if (!SWIG_IsOK(res1
)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29676 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_Py_Void();
29691 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29693 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29694 wxWindow
*arg2
= (wxWindow
*) 0 ;
29695 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29696 wxWindow
*result
= 0 ;
29703 PyObject
* obj0
= 0 ;
29704 PyObject
* obj1
= 0 ;
29705 PyObject
* obj2
= 0 ;
29706 char * kwnames
[] = {
29707 (char *) "self",(char *) "parent",(char *) "printout", NULL
29710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29712 if (!SWIG_IsOK(res1
)) {
29713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29715 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29717 if (!SWIG_IsOK(res2
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29720 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29721 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29722 if (!SWIG_IsOK(res3
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29725 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= wxPyMake_wxObject(result
, 0);
29741 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
= 0;
29743 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29744 wxWindow
*arg2
= (wxWindow
*) 0 ;
29745 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29746 wxString
*arg4
= 0 ;
29753 bool temp4
= false ;
29754 PyObject
* obj0
= 0 ;
29755 PyObject
* obj1
= 0 ;
29756 PyObject
* obj2
= 0 ;
29757 PyObject
* obj3
= 0 ;
29758 char * kwnames
[] = {
29759 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29767 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29769 if (!SWIG_IsOK(res2
)) {
29770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29773 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29774 if (!SWIG_IsOK(res3
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29777 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29779 arg4
= wxString_in_helper(obj3
);
29780 if (arg4
== NULL
) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_Py_Void();
29804 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= 0;
29806 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29807 wxWindow
*arg2
= (wxWindow
*) 0 ;
29813 PyObject
* obj0
= 0 ;
29814 PyObject
* obj1
= 0 ;
29815 char * kwnames
[] = {
29816 (char *) "self",(char *) "parent", NULL
29819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29821 if (!SWIG_IsOK(res1
)) {
29822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
29824 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29826 if (!SWIG_IsOK(res2
)) {
29827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
29829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= (bool)(arg1
)->Setup(arg2
);
29833 wxPyEndAllowThreads(__tstate
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29845 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29846 PyObject
*resultobj
= 0;
29847 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29848 wxWindow
*arg2
= (wxWindow
*) 0 ;
29849 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29850 bool arg4
= (bool) true ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 PyObject
* obj3
= 0 ;
29864 char * kwnames
[] = {
29865 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
29868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29870 if (!SWIG_IsOK(res1
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
29873 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29875 if (!SWIG_IsOK(res2
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
29878 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29879 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29880 if (!SWIG_IsOK(res3
)) {
29881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29883 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29885 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29886 if (!SWIG_IsOK(ecode4
)) {
29887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
29889 arg4
= static_cast< bool >(val4
);
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29906 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
= 0;
29908 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29909 wxWindow
*arg2
= (wxWindow
*) 0 ;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 char * kwnames
[] = {
29918 (char *) "self",(char *) "parent", NULL
29921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29923 if (!SWIG_IsOK(res1
)) {
29924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
29926 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29928 if (!SWIG_IsOK(res2
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
29931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
29935 wxPyEndAllowThreads(__tstate
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29939 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29947 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29948 PyObject
*resultobj
= 0;
29949 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29950 wxPrintDialogData
*result
= 0 ;
29953 PyObject
*swig_obj
[1] ;
29955 if (!args
) SWIG_fail
;
29956 swig_obj
[0] = args
;
29957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
29961 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
29966 result
= (wxPrintDialogData
*) &_result_ref
;
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29978 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29979 PyObject
*resultobj
= 0;
29980 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29984 PyObject
*swig_obj
[1] ;
29986 if (!args
) SWIG_fail
;
29987 swig_obj
[0] = args
;
29988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
29992 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (bool)(arg1
)->GetAbort();
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30008 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30009 PyObject
*resultobj
= 0;
30010 wxPrinterError result
;
30012 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 result
= (wxPrinterError
)wxPrinter::GetLastError();
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= SWIG_From_int(static_cast< int >(result
));
30026 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
30030 return SWIG_Py_Void();
30033 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30034 return SWIG_Python_InitShadowInstance(args
);
30037 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
= 0;
30039 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
30040 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
30041 wxPyPrintout
*result
= 0 ;
30042 bool temp1
= false ;
30043 PyObject
* obj0
= 0 ;
30044 char * kwnames
[] = {
30045 (char *) "title", NULL
30048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
30051 arg1
= wxString_in_helper(obj0
);
30052 if (arg1
== NULL
) SWIG_fail
;
30057 if (!wxPyCheckForApp()) SWIG_fail
;
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
30078 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30079 PyObject
*resultobj
= 0;
30080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30083 PyObject
*swig_obj
[1] ;
30085 if (!args
) SWIG_fail
;
30086 swig_obj
[0] = args
;
30087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30091 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= SWIG_Py_Void();
30106 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
= 0;
30108 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30109 PyObject
*arg2
= (PyObject
*) 0 ;
30110 PyObject
*arg3
= (PyObject
*) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 PyObject
* obj2
= 0 ;
30116 char * kwnames
[] = {
30117 (char *) "self",(char *) "self",(char *) "_class", NULL
30120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30122 if (!SWIG_IsOK(res1
)) {
30123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30125 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= SWIG_Py_Void();
30141 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30142 PyObject
*resultobj
= 0;
30143 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30147 PyObject
*swig_obj
[1] ;
30149 if (!args
) SWIG_fail
;
30150 swig_obj
[0] = args
;
30151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30152 if (!SWIG_IsOK(res1
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30155 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30175 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30176 PyObject
*resultobj
= 0;
30177 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30181 PyObject
*swig_obj
[1] ;
30183 if (!args
) SWIG_fail
;
30184 swig_obj
[0] = args
;
30185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30189 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 result
= (wxDC
*)(arg1
)->GetDC();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30205 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
= 0;
30207 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30208 wxDC
*arg2
= (wxDC
*) 0 ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 char * kwnames
[] = {
30216 (char *) "self",(char *) "dc", NULL
30219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30224 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
30226 if (!SWIG_IsOK(res2
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30229 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 (arg1
)->SetDC(arg2
);
30233 wxPyEndAllowThreads(__tstate
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= SWIG_Py_Void();
30243 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30244 PyObject
*resultobj
= 0;
30245 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 char * kwnames
[] = {
30253 (char *) "self",(char *) "imageSize", NULL
30256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30261 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30264 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_Py_Void();
30279 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 char * kwnames
[] = {
30289 (char *) "self",(char *) "imageSize", NULL
30292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30297 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_Py_Void();
30315 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
= 0;
30317 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30319 wxPageSetupDialogData
*arg3
= 0 ;
30325 PyObject
* obj0
= 0 ;
30326 PyObject
* obj1
= 0 ;
30327 PyObject
* obj2
= 0 ;
30328 char * kwnames
[] = {
30329 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30334 if (!SWIG_IsOK(res1
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30337 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30340 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30342 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30343 if (!SWIG_IsOK(res3
)) {
30344 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30349 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 resultobj
= SWIG_Py_Void();
30363 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30364 PyObject
*resultobj
= 0;
30365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30368 PyObject
*swig_obj
[1] ;
30370 if (!args
) SWIG_fail
;
30371 swig_obj
[0] = args
;
30372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30373 if (!SWIG_IsOK(res1
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30376 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 (arg1
)->MapScreenSizeToPaper();
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= SWIG_Py_Void();
30390 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30391 PyObject
*resultobj
= 0;
30392 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30395 PyObject
*swig_obj
[1] ;
30397 if (!args
) SWIG_fail
;
30398 swig_obj
[0] = args
;
30399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30403 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 (arg1
)->MapScreenSizeToPage();
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= SWIG_Py_Void();
30417 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
= 0;
30419 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30420 wxPageSetupDialogData
*arg2
= 0 ;
30425 PyObject
* obj0
= 0 ;
30426 PyObject
* obj1
= 0 ;
30427 char * kwnames
[] = {
30428 (char *) "self",(char *) "pageSetupData", NULL
30431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30433 if (!SWIG_IsOK(res1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30436 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30438 if (!SWIG_IsOK(res2
)) {
30439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30444 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= SWIG_Py_Void();
30458 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30459 PyObject
*resultobj
= 0;
30460 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30463 PyObject
*swig_obj
[1] ;
30465 if (!args
) SWIG_fail
;
30466 swig_obj
[0] = args
;
30467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30468 if (!SWIG_IsOK(res1
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30471 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 (arg1
)->MapScreenSizeToDevice();
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_Py_Void();
30485 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30486 PyObject
*resultobj
= 0;
30487 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30491 PyObject
*swig_obj
[1] ;
30493 if (!args
) SWIG_fail
;
30494 swig_obj
[0] = args
;
30495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30499 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30506 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30513 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30514 PyObject
*resultobj
= 0;
30515 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30519 PyObject
*swig_obj
[1] ;
30521 if (!args
) SWIG_fail
;
30522 swig_obj
[0] = args
;
30523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30524 if (!SWIG_IsOK(res1
)) {
30525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30527 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30541 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
= 0;
30543 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30544 wxPageSetupDialogData
*arg2
= 0 ;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 char * kwnames
[] = {
30553 (char *) "self",(char *) "pageSetupData", NULL
30556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30561 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30563 if (!SWIG_IsOK(res2
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30569 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30583 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= 0;
30585 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 PyObject
* obj2
= 0 ;
30597 char * kwnames
[] = {
30598 (char *) "self",(char *) "x",(char *) "y", NULL
30601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30603 if (!SWIG_IsOK(res1
)) {
30604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30606 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30608 if (!SWIG_IsOK(ecode2
)) {
30609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30611 arg2
= static_cast< int >(val2
);
30612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30613 if (!SWIG_IsOK(ecode3
)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30616 arg3
= static_cast< int >(val3
);
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_Py_Void();
30630 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30631 PyObject
*resultobj
= 0;
30632 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 PyObject
* obj2
= 0 ;
30644 char * kwnames
[] = {
30645 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30650 if (!SWIG_IsOK(res1
)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30653 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30655 if (!SWIG_IsOK(ecode2
)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30658 arg2
= static_cast< int >(val2
);
30659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30660 if (!SWIG_IsOK(ecode3
)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30663 arg3
= static_cast< int >(val3
);
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= SWIG_Py_Void();
30677 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
= 0;
30679 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30688 PyObject
* obj0
= 0 ;
30689 PyObject
* obj1
= 0 ;
30690 PyObject
* obj2
= 0 ;
30691 char * kwnames
[] = {
30692 (char *) "self",(char *) "w",(char *) "h", NULL
30695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30697 if (!SWIG_IsOK(res1
)) {
30698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30700 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30702 if (!SWIG_IsOK(ecode2
)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30705 arg2
= static_cast< int >(val2
);
30706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30707 if (!SWIG_IsOK(ecode3
)) {
30708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30710 arg3
= static_cast< int >(val3
);
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 (arg1
)->SetPageSizePixels(arg2
,arg3
);
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_Py_Void();
30724 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30725 PyObject
*resultobj
= 0;
30726 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30727 int *arg2
= (int *) 0 ;
30728 int *arg3
= (int *) 0 ;
30732 int res2
= SWIG_TMPOBJ
;
30734 int res3
= SWIG_TMPOBJ
;
30735 PyObject
*swig_obj
[1] ;
30739 if (!args
) SWIG_fail
;
30740 swig_obj
[0] = args
;
30741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30745 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 (arg1
)->GetPageSizePixels(arg2
,arg3
);
30749 wxPyEndAllowThreads(__tstate
);
30750 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= SWIG_Py_Void();
30753 if (SWIG_IsTmpObj(res2
)) {
30754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30756 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30759 if (SWIG_IsTmpObj(res3
)) {
30760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30762 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30771 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
= 0;
30773 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30782 PyObject
* obj0
= 0 ;
30783 PyObject
* obj1
= 0 ;
30784 PyObject
* obj2
= 0 ;
30785 char * kwnames
[] = {
30786 (char *) "self",(char *) "w",(char *) "h", NULL
30789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30791 if (!SWIG_IsOK(res1
)) {
30792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30794 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30796 if (!SWIG_IsOK(ecode2
)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
30799 arg2
= static_cast< int >(val2
);
30800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30801 if (!SWIG_IsOK(ecode3
)) {
30802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
30804 arg3
= static_cast< int >(val3
);
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 (arg1
)->SetPageSizeMM(arg2
,arg3
);
30808 wxPyEndAllowThreads(__tstate
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= SWIG_Py_Void();
30818 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30819 PyObject
*resultobj
= 0;
30820 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30821 int *arg2
= (int *) 0 ;
30822 int *arg3
= (int *) 0 ;
30826 int res2
= SWIG_TMPOBJ
;
30828 int res3
= SWIG_TMPOBJ
;
30829 PyObject
*swig_obj
[1] ;
30833 if (!args
) SWIG_fail
;
30834 swig_obj
[0] = args
;
30835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30836 if (!SWIG_IsOK(res1
)) {
30837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30839 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 (arg1
)->GetPageSizeMM(arg2
,arg3
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30846 resultobj
= SWIG_Py_Void();
30847 if (SWIG_IsTmpObj(res2
)) {
30848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30850 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30853 if (SWIG_IsTmpObj(res3
)) {
30854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30856 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30865 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
= 0;
30867 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30876 PyObject
* obj0
= 0 ;
30877 PyObject
* obj1
= 0 ;
30878 PyObject
* obj2
= 0 ;
30879 char * kwnames
[] = {
30880 (char *) "self",(char *) "x",(char *) "y", NULL
30883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30885 if (!SWIG_IsOK(res1
)) {
30886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30888 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30890 if (!SWIG_IsOK(ecode2
)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
30893 arg2
= static_cast< int >(val2
);
30894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30895 if (!SWIG_IsOK(ecode3
)) {
30896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
30898 arg3
= static_cast< int >(val3
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 (arg1
)->SetPPIScreen(arg2
,arg3
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_Py_Void();
30912 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30913 PyObject
*resultobj
= 0;
30914 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30915 int *arg2
= (int *) 0 ;
30916 int *arg3
= (int *) 0 ;
30920 int res2
= SWIG_TMPOBJ
;
30922 int res3
= SWIG_TMPOBJ
;
30923 PyObject
*swig_obj
[1] ;
30927 if (!args
) SWIG_fail
;
30928 swig_obj
[0] = args
;
30929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30933 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 (arg1
)->GetPPIScreen(arg2
,arg3
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_Py_Void();
30941 if (SWIG_IsTmpObj(res2
)) {
30942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30944 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30947 if (SWIG_IsTmpObj(res3
)) {
30948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30959 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
= 0;
30961 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 PyObject
* obj2
= 0 ;
30973 char * kwnames
[] = {
30974 (char *) "self",(char *) "x",(char *) "y", NULL
30977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30979 if (!SWIG_IsOK(res1
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30982 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30984 if (!SWIG_IsOK(ecode2
)) {
30985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
30987 arg2
= static_cast< int >(val2
);
30988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30989 if (!SWIG_IsOK(ecode3
)) {
30990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
30992 arg3
= static_cast< int >(val3
);
30994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30995 (arg1
)->SetPPIPrinter(arg2
,arg3
);
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
30999 resultobj
= SWIG_Py_Void();
31006 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31007 PyObject
*resultobj
= 0;
31008 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31009 int *arg2
= (int *) 0 ;
31010 int *arg3
= (int *) 0 ;
31014 int res2
= SWIG_TMPOBJ
;
31016 int res3
= SWIG_TMPOBJ
;
31017 PyObject
*swig_obj
[1] ;
31021 if (!args
) SWIG_fail
;
31022 swig_obj
[0] = args
;
31023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31024 if (!SWIG_IsOK(res1
)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31027 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 (arg1
)->GetPPIPrinter(arg2
,arg3
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_Py_Void();
31035 if (SWIG_IsTmpObj(res2
)) {
31036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31038 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31041 if (SWIG_IsTmpObj(res3
)) {
31042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31044 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31053 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
= 0;
31055 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31060 PyObject
* obj0
= 0 ;
31061 PyObject
* obj1
= 0 ;
31062 char * kwnames
[] = {
31063 (char *) "self",(char *) "paperRectPixels", NULL
31066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31068 if (!SWIG_IsOK(res1
)) {
31069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31071 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31074 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 resultobj
= SWIG_Py_Void();
31089 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31090 PyObject
*resultobj
= 0;
31091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31095 PyObject
*swig_obj
[1] ;
31097 if (!args
) SWIG_fail
;
31098 swig_obj
[0] = args
;
31099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31100 if (!SWIG_IsOK(res1
)) {
31101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31103 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31117 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31118 PyObject
*resultobj
= 0;
31119 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31123 PyObject
*swig_obj
[1] ;
31125 if (!args
) SWIG_fail
;
31126 swig_obj
[0] = args
;
31127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31128 if (!SWIG_IsOK(res1
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31131 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (bool)(arg1
)->IsPreview();
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31147 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
= 0;
31149 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31155 PyObject
* obj0
= 0 ;
31156 PyObject
* obj1
= 0 ;
31157 char * kwnames
[] = {
31158 (char *) "self",(char *) "p", NULL
31161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31163 if (!SWIG_IsOK(res1
)) {
31164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31166 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31168 if (!SWIG_IsOK(ecode2
)) {
31169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31171 arg2
= static_cast< bool >(val2
);
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 (arg1
)->SetIsPreview(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 resultobj
= SWIG_Py_Void();
31185 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
= 0;
31187 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31197 PyObject
* obj0
= 0 ;
31198 PyObject
* obj1
= 0 ;
31199 PyObject
* obj2
= 0 ;
31200 char * kwnames
[] = {
31201 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31206 if (!SWIG_IsOK(res1
)) {
31207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31209 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31211 if (!SWIG_IsOK(ecode2
)) {
31212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31214 arg2
= static_cast< int >(val2
);
31215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31216 if (!SWIG_IsOK(ecode3
)) {
31217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31219 arg3
= static_cast< int >(val3
);
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31235 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31236 PyObject
*resultobj
= 0;
31237 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31240 PyObject
*swig_obj
[1] ;
31242 if (!args
) SWIG_fail
;
31243 swig_obj
[0] = args
;
31244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31245 if (!SWIG_IsOK(res1
)) {
31246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31248 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 (arg1
)->OnEndDocument();
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_Py_Void();
31262 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31263 PyObject
*resultobj
= 0;
31264 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31267 PyObject
*swig_obj
[1] ;
31269 if (!args
) SWIG_fail
;
31270 swig_obj
[0] = args
;
31271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31272 if (!SWIG_IsOK(res1
)) {
31273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31275 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31278 (arg1
)->OnBeginPrinting();
31279 wxPyEndAllowThreads(__tstate
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= SWIG_Py_Void();
31289 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31290 PyObject
*resultobj
= 0;
31291 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31294 PyObject
*swig_obj
[1] ;
31296 if (!args
) SWIG_fail
;
31297 swig_obj
[0] = args
;
31298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31299 if (!SWIG_IsOK(res1
)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31302 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 (arg1
)->OnEndPrinting();
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_Py_Void();
31316 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31317 PyObject
*resultobj
= 0;
31318 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31321 PyObject
*swig_obj
[1] ;
31323 if (!args
) SWIG_fail
;
31324 swig_obj
[0] = args
;
31325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31326 if (!SWIG_IsOK(res1
)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31329 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 (arg1
)->OnPreparePrinting();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_Py_Void();
31343 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 char * kwnames
[] = {
31355 (char *) "self",(char *) "page", NULL
31358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31360 if (!SWIG_IsOK(res1
)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31363 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31365 if (!SWIG_IsOK(ecode2
)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31368 arg2
= static_cast< int >(val2
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (bool)(arg1
)->HasPage(arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31384 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31385 PyObject
*resultobj
= 0;
31386 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31387 int *arg2
= (int *) 0 ;
31388 int *arg3
= (int *) 0 ;
31389 int *arg4
= (int *) 0 ;
31390 int *arg5
= (int *) 0 ;
31394 int res2
= SWIG_TMPOBJ
;
31396 int res3
= SWIG_TMPOBJ
;
31398 int res4
= SWIG_TMPOBJ
;
31400 int res5
= SWIG_TMPOBJ
;
31401 PyObject
*swig_obj
[1] ;
31407 if (!args
) SWIG_fail
;
31408 swig_obj
[0] = args
;
31409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31410 if (!SWIG_IsOK(res1
)) {
31411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31413 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= SWIG_Py_Void();
31421 if (SWIG_IsTmpObj(res2
)) {
31422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31424 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31427 if (SWIG_IsTmpObj(res3
)) {
31428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31430 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31433 if (SWIG_IsTmpObj(res4
)) {
31434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31436 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31439 if (SWIG_IsTmpObj(res5
)) {
31440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
31442 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
31451 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31454 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
31455 return SWIG_Py_Void();
31458 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31459 return SWIG_Python_InitShadowInstance(args
);
31462 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
= 0;
31464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31465 wxWindow
*arg2
= (wxWindow
*) 0 ;
31466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31470 long arg5
= (long) 0 ;
31471 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
31472 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31473 wxPreviewCanvas
*result
= 0 ;
31482 bool temp6
= false ;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 PyObject
* obj2
= 0 ;
31486 PyObject
* obj3
= 0 ;
31487 PyObject
* obj4
= 0 ;
31488 PyObject
* obj5
= 0 ;
31489 char * kwnames
[] = {
31490 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31495 if (!SWIG_IsOK(res1
)) {
31496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31498 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31500 if (!SWIG_IsOK(res2
)) {
31501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31503 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31513 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31517 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31518 if (!SWIG_IsOK(ecode5
)) {
31519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31521 arg5
= static_cast< long >(val5
);
31525 arg6
= wxString_in_helper(obj5
);
31526 if (arg6
== NULL
) SWIG_fail
;
31531 if (!wxPyCheckForApp()) SWIG_fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
31552 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31555 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
31556 return SWIG_Py_Void();
31559 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31560 return SWIG_Python_InitShadowInstance(args
);
31563 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31564 PyObject
*resultobj
= 0;
31565 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31566 wxFrame
*arg2
= (wxFrame
*) 0 ;
31567 wxString
*arg3
= 0 ;
31568 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31569 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31570 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31571 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31572 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31573 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31574 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31575 wxPreviewFrame
*result
= 0 ;
31579 bool temp3
= false ;
31584 bool temp7
= false ;
31585 PyObject
* obj0
= 0 ;
31586 PyObject
* obj1
= 0 ;
31587 PyObject
* obj2
= 0 ;
31588 PyObject
* obj3
= 0 ;
31589 PyObject
* obj4
= 0 ;
31590 PyObject
* obj5
= 0 ;
31591 PyObject
* obj6
= 0 ;
31592 char * kwnames
[] = {
31593 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31597 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31598 if (!SWIG_IsOK(res1
)) {
31599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31602 if (!SWIG_IsOK(res2
)) {
31603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31605 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31607 arg3
= wxString_in_helper(obj2
);
31608 if (arg3
== NULL
) SWIG_fail
;
31614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31624 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31625 if (!SWIG_IsOK(ecode6
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31628 arg6
= static_cast< long >(val6
);
31632 arg7
= wxString_in_helper(obj6
);
31633 if (arg7
== NULL
) SWIG_fail
;
31638 if (!wxPyCheckForApp()) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31667 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31668 PyObject
*resultobj
= 0;
31669 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31672 PyObject
*swig_obj
[1] ;
31674 if (!args
) SWIG_fail
;
31675 swig_obj
[0] = args
;
31676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31677 if (!SWIG_IsOK(res1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31680 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 (arg1
)->Initialize();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= SWIG_Py_Void();
31694 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31695 PyObject
*resultobj
= 0;
31696 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31699 PyObject
*swig_obj
[1] ;
31701 if (!args
) SWIG_fail
;
31702 swig_obj
[0] = args
;
31703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31704 if (!SWIG_IsOK(res1
)) {
31705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31707 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 (arg1
)->CreateControlBar();
31711 wxPyEndAllowThreads(__tstate
);
31712 if (PyErr_Occurred()) SWIG_fail
;
31714 resultobj
= SWIG_Py_Void();
31721 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31722 PyObject
*resultobj
= 0;
31723 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31726 PyObject
*swig_obj
[1] ;
31728 if (!args
) SWIG_fail
;
31729 swig_obj
[0] = args
;
31730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31731 if (!SWIG_IsOK(res1
)) {
31732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31734 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 (arg1
)->CreateCanvas();
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= SWIG_Py_Void();
31748 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31749 PyObject
*resultobj
= 0;
31750 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31751 wxPreviewControlBar
*result
= 0 ;
31754 PyObject
*swig_obj
[1] ;
31756 if (!args
) SWIG_fail
;
31757 swig_obj
[0] = args
;
31758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31759 if (!SWIG_IsOK(res1
)) {
31760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31762 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31776 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31779 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
31780 return SWIG_Py_Void();
31783 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31784 return SWIG_Python_InitShadowInstance(args
);
31787 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
= 0;
31789 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31791 wxWindow
*arg3
= (wxWindow
*) 0 ;
31792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31796 long arg6
= (long) wxTAB_TRAVERSAL
;
31797 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31798 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31799 wxPreviewControlBar
*result
= 0 ;
31810 bool temp7
= false ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 PyObject
* obj2
= 0 ;
31814 PyObject
* obj3
= 0 ;
31815 PyObject
* obj4
= 0 ;
31816 PyObject
* obj5
= 0 ;
31817 PyObject
* obj6
= 0 ;
31818 char * kwnames
[] = {
31819 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31824 if (!SWIG_IsOK(res1
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31827 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31829 if (!SWIG_IsOK(ecode2
)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31832 arg2
= static_cast< long >(val2
);
31833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31834 if (!SWIG_IsOK(res3
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31837 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31841 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31847 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31851 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31852 if (!SWIG_IsOK(ecode6
)) {
31853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31855 arg6
= static_cast< long >(val6
);
31859 arg7
= wxString_in_helper(obj6
);
31860 if (arg7
== NULL
) SWIG_fail
;
31865 if (!wxPyCheckForApp()) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31868 wxPyEndAllowThreads(__tstate
);
31869 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31886 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31887 PyObject
*resultobj
= 0;
31888 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
31892 PyObject
*swig_obj
[1] ;
31894 if (!args
) SWIG_fail
;
31895 swig_obj
[0] = args
;
31896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31897 if (!SWIG_IsOK(res1
)) {
31898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31900 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (int)(arg1
)->GetZoomControl();
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_From_int(static_cast< int >(result
));
31914 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
= 0;
31916 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
31922 PyObject
* obj0
= 0 ;
31923 PyObject
* obj1
= 0 ;
31924 char * kwnames
[] = {
31925 (char *) "self",(char *) "zoom", NULL
31928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31933 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
31934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31935 if (!SWIG_IsOK(ecode2
)) {
31936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31938 arg2
= static_cast< int >(val2
);
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 (arg1
)->SetZoomControl(arg2
);
31942 wxPyEndAllowThreads(__tstate
);
31943 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= SWIG_Py_Void();
31952 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31953 PyObject
*resultobj
= 0;
31954 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
31955 wxPrintPreview
*result
= 0 ;
31958 PyObject
*swig_obj
[1] ;
31960 if (!args
) SWIG_fail
;
31961 swig_obj
[0] = args
;
31962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31963 if (!SWIG_IsOK(res1
)) {
31964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31966 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31980 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31981 PyObject
*resultobj
= 0;
31982 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
31985 PyObject
*swig_obj
[1] ;
31987 if (!args
) SWIG_fail
;
31988 swig_obj
[0] = args
;
31989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31990 if (!SWIG_IsOK(res1
)) {
31991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31993 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_Py_Void();
32007 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32008 PyObject
*resultobj
= 0;
32009 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32012 PyObject
*swig_obj
[1] ;
32014 if (!args
) SWIG_fail
;
32015 swig_obj
[0] = args
;
32016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32017 if (!SWIG_IsOK(res1
)) {
32018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32020 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 (arg1
)->OnPrevious();
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_Py_Void();
32034 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32035 PyObject
*resultobj
= 0;
32036 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32039 PyObject
*swig_obj
[1] ;
32041 if (!args
) SWIG_fail
;
32042 swig_obj
[0] = args
;
32043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32044 if (!SWIG_IsOK(res1
)) {
32045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32047 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32054 resultobj
= SWIG_Py_Void();
32061 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32062 PyObject
*resultobj
= 0;
32063 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32066 PyObject
*swig_obj
[1] ;
32068 if (!args
) SWIG_fail
;
32069 swig_obj
[0] = args
;
32070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32071 if (!SWIG_IsOK(res1
)) {
32072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32074 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 wxPyEndAllowThreads(__tstate
);
32079 if (PyErr_Occurred()) SWIG_fail
;
32081 resultobj
= SWIG_Py_Void();
32088 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32089 PyObject
*resultobj
= 0;
32090 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32093 PyObject
*swig_obj
[1] ;
32095 if (!args
) SWIG_fail
;
32096 swig_obj
[0] = args
;
32097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32098 if (!SWIG_IsOK(res1
)) {
32099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32101 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32108 resultobj
= SWIG_Py_Void();
32115 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
32119 return SWIG_Py_Void();
32122 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32123 return SWIG_Python_InitShadowInstance(args
);
32126 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32127 PyObject
*resultobj
= 0;
32128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32129 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32130 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
32131 wxPrintPreview
*result
= 0 ;
32137 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32138 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32142 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32143 if (!SWIG_IsOK(res2
)) {
32144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32147 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32148 if (!SWIG_IsOK(res3
)) {
32149 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32151 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
32154 if (!wxPyCheckForApp()) SWIG_fail
;
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32167 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32168 PyObject
*resultobj
= 0;
32169 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32170 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32171 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
32172 wxPrintPreview
*result
= 0 ;
32178 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
32179 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32180 if (!SWIG_IsOK(res1
)) {
32181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32183 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32184 if (!SWIG_IsOK(res2
)) {
32185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32187 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
32188 if (!SWIG_IsOK(res3
)) {
32189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32191 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
32193 if (!wxPyCheckForApp()) SWIG_fail
;
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32206 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
32210 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
32212 if ((argc
>= 2) && (argc
<= 3)) {
32217 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
32218 _v
= SWIG_CheckState(res
);
32220 if (!_v
) goto check_1
;
32222 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
32227 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
32231 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
32236 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32237 PyObject
*resultobj
= 0;
32238 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32241 PyObject
*swig_obj
[1] ;
32243 if (!args
) SWIG_fail
;
32244 swig_obj
[0] = args
;
32245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
32246 if (!SWIG_IsOK(res1
)) {
32247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32249 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 resultobj
= SWIG_Py_Void();
32264 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32265 PyObject
*resultobj
= 0;
32266 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 char * kwnames
[] = {
32276 (char *) "self",(char *) "pageNum", NULL
32279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32281 if (!SWIG_IsOK(res1
)) {
32282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32284 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32286 if (!SWIG_IsOK(ecode2
)) {
32287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32289 arg2
= static_cast< int >(val2
);
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32305 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32306 PyObject
*resultobj
= 0;
32307 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32311 PyObject
*swig_obj
[1] ;
32313 if (!args
) SWIG_fail
;
32314 swig_obj
[0] = args
;
32315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32316 if (!SWIG_IsOK(res1
)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32319 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (int)(arg1
)->GetCurrentPage();
32323 wxPyEndAllowThreads(__tstate
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32326 resultobj
= SWIG_From_int(static_cast< int >(result
));
32333 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32334 PyObject
*resultobj
= 0;
32335 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32336 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32340 PyObject
* obj0
= 0 ;
32341 PyObject
* obj1
= 0 ;
32342 char * kwnames
[] = {
32343 (char *) "self",(char *) "printout", NULL
32346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32348 if (!SWIG_IsOK(res1
)) {
32349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32351 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32352 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32353 if (!SWIG_IsOK(res2
)) {
32354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32358 (arg1
)->SetPrintout(arg2
);
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32362 resultobj
= SWIG_Py_Void();
32369 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32370 PyObject
*resultobj
= 0;
32371 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32372 wxPyPrintout
*result
= 0 ;
32375 PyObject
*swig_obj
[1] ;
32377 if (!args
) SWIG_fail
;
32378 swig_obj
[0] = args
;
32379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32380 if (!SWIG_IsOK(res1
)) {
32381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32383 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32391 resultobj
= wxPyMake_wxObject(result
, 0);
32399 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32400 PyObject
*resultobj
= 0;
32401 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32402 wxPyPrintout
*result
= 0 ;
32405 PyObject
*swig_obj
[1] ;
32407 if (!args
) SWIG_fail
;
32408 swig_obj
[0] = args
;
32409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32410 if (!SWIG_IsOK(res1
)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32413 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
32417 wxPyEndAllowThreads(__tstate
);
32418 if (PyErr_Occurred()) SWIG_fail
;
32421 resultobj
= wxPyMake_wxObject(result
, 0);
32429 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
= 0;
32431 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32432 wxFrame
*arg2
= (wxFrame
*) 0 ;
32437 PyObject
* obj0
= 0 ;
32438 PyObject
* obj1
= 0 ;
32439 char * kwnames
[] = {
32440 (char *) "self",(char *) "frame", NULL
32443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32445 if (!SWIG_IsOK(res1
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32448 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
32450 if (!SWIG_IsOK(res2
)) {
32451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32453 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
32455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32456 (arg1
)->SetFrame(arg2
);
32457 wxPyEndAllowThreads(__tstate
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32460 resultobj
= SWIG_Py_Void();
32467 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32468 PyObject
*resultobj
= 0;
32469 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32470 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32475 PyObject
* obj0
= 0 ;
32476 PyObject
* obj1
= 0 ;
32477 char * kwnames
[] = {
32478 (char *) "self",(char *) "canvas", NULL
32481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32483 if (!SWIG_IsOK(res1
)) {
32484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32486 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32488 if (!SWIG_IsOK(res2
)) {
32489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32491 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 (arg1
)->SetCanvas(arg2
);
32495 wxPyEndAllowThreads(__tstate
);
32496 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= SWIG_Py_Void();
32505 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32506 PyObject
*resultobj
= 0;
32507 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32508 wxFrame
*result
= 0 ;
32511 PyObject
*swig_obj
[1] ;
32513 if (!args
) SWIG_fail
;
32514 swig_obj
[0] = args
;
32515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32519 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 result
= (wxFrame
*)(arg1
)->GetFrame();
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= wxPyMake_wxObject(result
, 0);
32535 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 PyObject
*resultobj
= 0;
32537 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32538 wxPreviewCanvas
*result
= 0 ;
32541 PyObject
*swig_obj
[1] ;
32543 if (!args
) SWIG_fail
;
32544 swig_obj
[0] = args
;
32545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32549 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32552 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32563 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
= 0;
32565 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32566 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32575 PyObject
* obj0
= 0 ;
32576 PyObject
* obj1
= 0 ;
32577 PyObject
* obj2
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32587 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32589 if (!SWIG_IsOK(res2
)) {
32590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32592 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32593 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32594 if (!SWIG_IsOK(res3
)) {
32595 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32600 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32616 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32617 PyObject
*resultobj
= 0;
32618 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32619 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32628 PyObject
* obj0
= 0 ;
32629 PyObject
* obj1
= 0 ;
32630 PyObject
* obj2
= 0 ;
32631 char * kwnames
[] = {
32632 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32637 if (!SWIG_IsOK(res1
)) {
32638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32640 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32642 if (!SWIG_IsOK(res2
)) {
32643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32645 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32646 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32647 if (!SWIG_IsOK(res3
)) {
32648 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32653 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32669 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32670 PyObject
*resultobj
= 0;
32671 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 PyObject
* obj1
= 0 ;
32680 char * kwnames
[] = {
32681 (char *) "self",(char *) "pageNum", NULL
32684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32686 if (!SWIG_IsOK(res1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32689 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32691 if (!SWIG_IsOK(ecode2
)) {
32692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32694 arg2
= static_cast< int >(val2
);
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (bool)(arg1
)->RenderPage(arg2
);
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32710 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32711 PyObject
*resultobj
= 0;
32712 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32713 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32718 PyObject
* obj0
= 0 ;
32719 PyObject
* obj1
= 0 ;
32720 char * kwnames
[] = {
32721 (char *) "self",(char *) "canvas", NULL
32724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32726 if (!SWIG_IsOK(res1
)) {
32727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32729 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32731 if (!SWIG_IsOK(res2
)) {
32732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32734 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 (arg1
)->AdjustScrollbars(arg2
);
32738 wxPyEndAllowThreads(__tstate
);
32739 if (PyErr_Occurred()) SWIG_fail
;
32741 resultobj
= SWIG_Py_Void();
32748 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32749 PyObject
*resultobj
= 0;
32750 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32751 wxPrintDialogData
*result
= 0 ;
32754 PyObject
*swig_obj
[1] ;
32756 if (!args
) SWIG_fail
;
32757 swig_obj
[0] = args
;
32758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32759 if (!SWIG_IsOK(res1
)) {
32760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32762 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32766 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
32767 result
= (wxPrintDialogData
*) &_result_ref
;
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32779 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
= 0;
32781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32787 PyObject
* obj0
= 0 ;
32788 PyObject
* obj1
= 0 ;
32789 char * kwnames
[] = {
32790 (char *) "self",(char *) "percent", NULL
32793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32798 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32800 if (!SWIG_IsOK(ecode2
)) {
32801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
32803 arg2
= static_cast< int >(val2
);
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 (arg1
)->SetZoom(arg2
);
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= SWIG_Py_Void();
32817 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32818 PyObject
*resultobj
= 0;
32819 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32823 PyObject
*swig_obj
[1] ;
32825 if (!args
) SWIG_fail
;
32826 swig_obj
[0] = args
;
32827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32828 if (!SWIG_IsOK(res1
)) {
32829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32831 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= (int)(arg1
)->GetZoom();
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32838 resultobj
= SWIG_From_int(static_cast< int >(result
));
32845 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32846 PyObject
*resultobj
= 0;
32847 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32851 PyObject
*swig_obj
[1] ;
32853 if (!args
) SWIG_fail
;
32854 swig_obj
[0] = args
;
32855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32856 if (!SWIG_IsOK(res1
)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32859 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= (int)(arg1
)->GetMaxPage();
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= SWIG_From_int(static_cast< int >(result
));
32873 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32874 PyObject
*resultobj
= 0;
32875 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32879 PyObject
*swig_obj
[1] ;
32881 if (!args
) SWIG_fail
;
32882 swig_obj
[0] = args
;
32883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32884 if (!SWIG_IsOK(res1
)) {
32885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32887 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32890 result
= (int)(arg1
)->GetMinPage();
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32894 resultobj
= SWIG_From_int(static_cast< int >(result
));
32901 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32902 PyObject
*resultobj
= 0;
32903 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32907 PyObject
*swig_obj
[1] ;
32909 if (!args
) SWIG_fail
;
32910 swig_obj
[0] = args
;
32911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32912 if (!SWIG_IsOK(res1
)) {
32913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32915 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 result
= (bool)(arg1
)->IsOk();
32919 wxPyEndAllowThreads(__tstate
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32931 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32932 PyObject
*resultobj
= 0;
32933 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32939 PyObject
* obj0
= 0 ;
32940 PyObject
* obj1
= 0 ;
32941 char * kwnames
[] = {
32942 (char *) "self",(char *) "ok", NULL
32945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32947 if (!SWIG_IsOK(res1
)) {
32948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32950 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32951 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32952 if (!SWIG_IsOK(ecode2
)) {
32953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
32955 arg2
= static_cast< bool >(val2
);
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 (arg1
)->SetOk(arg2
);
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= SWIG_Py_Void();
32969 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
= 0;
32971 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32978 PyObject
* obj0
= 0 ;
32979 PyObject
* obj1
= 0 ;
32980 char * kwnames
[] = {
32981 (char *) "self",(char *) "interactive", NULL
32984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32986 if (!SWIG_IsOK(res1
)) {
32987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32989 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32990 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32991 if (!SWIG_IsOK(ecode2
)) {
32992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
32994 arg2
= static_cast< bool >(val2
);
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 result
= (bool)(arg1
)->Print(arg2
);
32998 wxPyEndAllowThreads(__tstate
);
32999 if (PyErr_Occurred()) SWIG_fail
;
33002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33010 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33011 PyObject
*resultobj
= 0;
33012 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33015 PyObject
*swig_obj
[1] ;
33017 if (!args
) SWIG_fail
;
33018 swig_obj
[0] = args
;
33019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33020 if (!SWIG_IsOK(res1
)) {
33021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33023 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 (arg1
)->DetermineScaling();
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33030 resultobj
= SWIG_Py_Void();
33037 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
33041 return SWIG_Py_Void();
33044 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33045 return SWIG_Python_InitShadowInstance(args
);
33048 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33049 PyObject
*resultobj
= 0;
33050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33051 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33052 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
33053 wxPyPrintPreview
*result
= 0 ;
33059 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33060 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33061 if (!SWIG_IsOK(res1
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33064 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33065 if (!SWIG_IsOK(res2
)) {
33066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33069 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
33070 if (!SWIG_IsOK(res3
)) {
33071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33073 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
33076 if (!wxPyCheckForApp()) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33089 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33090 PyObject
*resultobj
= 0;
33091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33092 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33093 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
33094 wxPyPrintPreview
*result
= 0 ;
33100 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
33101 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33102 if (!SWIG_IsOK(res1
)) {
33103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33105 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33106 if (!SWIG_IsOK(res2
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33109 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
33110 if (!SWIG_IsOK(res3
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33113 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
33115 if (!wxPyCheckForApp()) SWIG_fail
;
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33128 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
33132 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
33134 if ((argc
>= 2) && (argc
<= 3)) {
33139 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
33140 _v
= SWIG_CheckState(res
);
33142 if (!_v
) goto check_1
;
33144 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
33149 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
33153 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
33158 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
= 0;
33160 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
33161 PyObject
*arg2
= (PyObject
*) 0 ;
33162 PyObject
*arg3
= (PyObject
*) 0 ;
33165 PyObject
* obj0
= 0 ;
33166 PyObject
* obj1
= 0 ;
33167 PyObject
* obj2
= 0 ;
33168 char * kwnames
[] = {
33169 (char *) "self",(char *) "self",(char *) "_class", NULL
33172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
33174 if (!SWIG_IsOK(res1
)) {
33175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33177 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
33181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33186 resultobj
= SWIG_Py_Void();
33193 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33196 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
33197 return SWIG_Py_Void();
33200 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33201 return SWIG_Python_InitShadowInstance(args
);
33204 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33205 PyObject
*resultobj
= 0;
33206 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33207 wxFrame
*arg2
= (wxFrame
*) 0 ;
33208 wxString
*arg3
= 0 ;
33209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33213 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
33214 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
33215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33216 wxPyPreviewFrame
*result
= 0 ;
33220 bool temp3
= false ;
33225 bool temp7
= false ;
33226 PyObject
* obj0
= 0 ;
33227 PyObject
* obj1
= 0 ;
33228 PyObject
* obj2
= 0 ;
33229 PyObject
* obj3
= 0 ;
33230 PyObject
* obj4
= 0 ;
33231 PyObject
* obj5
= 0 ;
33232 PyObject
* obj6
= 0 ;
33233 char * kwnames
[] = {
33234 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33238 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33239 if (!SWIG_IsOK(res1
)) {
33240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33242 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
33243 if (!SWIG_IsOK(res2
)) {
33244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33246 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
33248 arg3
= wxString_in_helper(obj2
);
33249 if (arg3
== NULL
) SWIG_fail
;
33255 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33261 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33265 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33266 if (!SWIG_IsOK(ecode6
)) {
33267 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33269 arg6
= static_cast< long >(val6
);
33273 arg7
= wxString_in_helper(obj6
);
33274 if (arg7
== NULL
) SWIG_fail
;
33279 if (!wxPyCheckForApp()) SWIG_fail
;
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33282 wxPyEndAllowThreads(__tstate
);
33283 if (PyErr_Occurred()) SWIG_fail
;
33285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
33308 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33309 PyObject
*resultobj
= 0;
33310 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33311 PyObject
*arg2
= (PyObject
*) 0 ;
33312 PyObject
*arg3
= (PyObject
*) 0 ;
33315 PyObject
* obj0
= 0 ;
33316 PyObject
* obj1
= 0 ;
33317 PyObject
* obj2
= 0 ;
33318 char * kwnames
[] = {
33319 (char *) "self",(char *) "self",(char *) "_class", NULL
33322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33324 if (!SWIG_IsOK(res1
)) {
33325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33327 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= SWIG_Py_Void();
33343 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
= 0;
33345 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33346 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
33351 PyObject
* obj0
= 0 ;
33352 PyObject
* obj1
= 0 ;
33353 char * kwnames
[] = {
33354 (char *) "self",(char *) "canvas", NULL
33357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33359 if (!SWIG_IsOK(res1
)) {
33360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33362 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
33364 if (!SWIG_IsOK(res2
)) {
33365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33367 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 (arg1
)->SetPreviewCanvas(arg2
);
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33374 resultobj
= SWIG_Py_Void();
33381 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33382 PyObject
*resultobj
= 0;
33383 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33384 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
33389 PyObject
* obj0
= 0 ;
33390 PyObject
* obj1
= 0 ;
33391 char * kwnames
[] = {
33392 (char *) "self",(char *) "bar", NULL
33395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33397 if (!SWIG_IsOK(res1
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33400 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
33402 if (!SWIG_IsOK(res2
)) {
33403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33405 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
33407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 (arg1
)->SetControlBar(arg2
);
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 resultobj
= SWIG_Py_Void();
33419 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33420 PyObject
*resultobj
= 0;
33421 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33424 PyObject
*swig_obj
[1] ;
33426 if (!args
) SWIG_fail
;
33427 swig_obj
[0] = args
;
33428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33429 if (!SWIG_IsOK(res1
)) {
33430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33432 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 (arg1
)->Initialize();
33436 wxPyEndAllowThreads(__tstate
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33439 resultobj
= SWIG_Py_Void();
33446 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33447 PyObject
*resultobj
= 0;
33448 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33451 PyObject
*swig_obj
[1] ;
33453 if (!args
) SWIG_fail
;
33454 swig_obj
[0] = args
;
33455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33456 if (!SWIG_IsOK(res1
)) {
33457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33459 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 (arg1
)->CreateCanvas();
33463 wxPyEndAllowThreads(__tstate
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33466 resultobj
= SWIG_Py_Void();
33473 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33474 PyObject
*resultobj
= 0;
33475 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33478 PyObject
*swig_obj
[1] ;
33480 if (!args
) SWIG_fail
;
33481 swig_obj
[0] = args
;
33482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33483 if (!SWIG_IsOK(res1
)) {
33484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33486 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 (arg1
)->CreateControlBar();
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33493 resultobj
= SWIG_Py_Void();
33500 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33503 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
33504 return SWIG_Py_Void();
33507 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33508 return SWIG_Python_InitShadowInstance(args
);
33511 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33512 PyObject
*resultobj
= 0;
33513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33515 wxWindow
*arg3
= (wxWindow
*) 0 ;
33516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33520 long arg6
= (long) 0 ;
33521 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
33522 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33523 wxPyPreviewControlBar
*result
= 0 ;
33533 bool temp7
= false ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 PyObject
* obj2
= 0 ;
33537 PyObject
* obj3
= 0 ;
33538 PyObject
* obj4
= 0 ;
33539 PyObject
* obj5
= 0 ;
33540 PyObject
* obj6
= 0 ;
33541 char * kwnames
[] = {
33542 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33546 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33547 if (!SWIG_IsOK(res1
)) {
33548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33551 if (!SWIG_IsOK(ecode2
)) {
33552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33554 arg2
= static_cast< long >(val2
);
33555 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33556 if (!SWIG_IsOK(res3
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33559 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
33563 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33569 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33573 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33574 if (!SWIG_IsOK(ecode6
)) {
33575 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33577 arg6
= static_cast< long >(val6
);
33581 arg7
= wxString_in_helper(obj6
);
33582 if (arg7
== NULL
) SWIG_fail
;
33587 if (!wxPyCheckForApp()) SWIG_fail
;
33588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33589 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
33608 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
= 0;
33610 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33611 PyObject
*arg2
= (PyObject
*) 0 ;
33612 PyObject
*arg3
= (PyObject
*) 0 ;
33615 PyObject
* obj0
= 0 ;
33616 PyObject
* obj1
= 0 ;
33617 PyObject
* obj2
= 0 ;
33618 char * kwnames
[] = {
33619 (char *) "self",(char *) "self",(char *) "_class", NULL
33622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33624 if (!SWIG_IsOK(res1
)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33627 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33636 resultobj
= SWIG_Py_Void();
33643 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33644 PyObject
*resultobj
= 0;
33645 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33646 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
33650 PyObject
* obj0
= 0 ;
33651 PyObject
* obj1
= 0 ;
33652 char * kwnames
[] = {
33653 (char *) "self",(char *) "preview", NULL
33656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33658 if (!SWIG_IsOK(res1
)) {
33659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33661 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33662 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33663 if (!SWIG_IsOK(res2
)) {
33664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33668 (arg1
)->SetPrintPreview(arg2
);
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33672 resultobj
= SWIG_Py_Void();
33679 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33680 PyObject
*resultobj
= 0;
33681 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33684 PyObject
*swig_obj
[1] ;
33686 if (!args
) SWIG_fail
;
33687 swig_obj
[0] = args
;
33688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33692 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33695 (arg1
)->CreateButtons();
33696 wxPyEndAllowThreads(__tstate
);
33697 if (PyErr_Occurred()) SWIG_fail
;
33699 resultobj
= SWIG_Py_Void();
33706 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33707 PyObject
*resultobj
= 0;
33708 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33714 PyObject
* obj0
= 0 ;
33715 PyObject
* obj1
= 0 ;
33716 char * kwnames
[] = {
33717 (char *) "self",(char *) "zoom", NULL
33720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33722 if (!SWIG_IsOK(res1
)) {
33723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33725 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33727 if (!SWIG_IsOK(ecode2
)) {
33728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33730 arg2
= static_cast< int >(val2
);
33732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33733 (arg1
)->SetZoomControl(arg2
);
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33737 resultobj
= SWIG_Py_Void();
33744 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
33748 return SWIG_Py_Void();
33751 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33752 return SWIG_Python_InitShadowInstance(args
);
33755 static PyMethodDef SwigMethods
[] = {
33756 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33757 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
33758 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33759 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
33760 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33761 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
33762 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
33763 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33764 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
33765 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33766 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33767 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33768 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33769 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33770 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33771 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
33772 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33773 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
33774 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33775 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
33776 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
33777 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
33778 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
33779 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
33780 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33781 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33782 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
33783 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33784 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
33785 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33786 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33787 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
33788 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
33789 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33790 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
33791 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33792 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
33793 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
33794 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
33795 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
33796 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33797 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33798 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33799 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
33800 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33801 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
33802 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33803 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33804 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33805 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
33806 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33807 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
33808 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33809 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
33810 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33811 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33812 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
33813 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
33814 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33815 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
33816 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33817 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
33818 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33819 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
33820 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33821 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33822 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
33823 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33824 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33825 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33826 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33827 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33828 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33829 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
33830 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33831 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
33832 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33833 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33834 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33835 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33836 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
33837 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
33838 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33839 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
33840 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33841 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33842 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
33843 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33844 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
33845 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33846 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
33847 { (char *)"Dialog_GetParentForModalDialog", (PyCFunction
) _wrap_Dialog_GetParentForModalDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33848 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33849 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33850 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33851 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33852 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
33853 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
33854 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33855 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33856 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
33857 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
33858 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33859 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
33860 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33861 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
33862 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
33863 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33864 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33865 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
33866 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
33867 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
33868 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33869 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
33870 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
33871 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
33872 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
33873 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
33874 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33875 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
33876 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33877 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33878 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
33879 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33880 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33881 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33882 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33883 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33884 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33885 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33886 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33887 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
33888 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
33889 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33890 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
33891 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
33892 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33893 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
33894 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33895 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
33896 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
33897 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33898 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
33899 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33900 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33901 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33902 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33903 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33904 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
33905 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
33906 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33907 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33908 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
33909 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
33910 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33911 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
33912 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33913 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
33914 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33915 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
33916 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33917 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
33918 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33919 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
33920 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33921 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
33922 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
33923 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33924 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33925 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
33926 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
33927 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
33928 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
33929 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
33930 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
33931 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33932 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
33933 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33934 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33935 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33936 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33937 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33938 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
33939 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33940 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
33941 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33942 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33943 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
33944 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
33945 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33946 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33947 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
33948 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
33949 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33950 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
33951 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
33952 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
33953 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33954 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33955 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
33956 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33957 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
33958 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33959 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
33960 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
33961 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
33962 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33963 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33964 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
33965 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33966 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
33967 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33968 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
33969 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33970 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
33971 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33972 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
33973 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
33974 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
33975 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33976 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33977 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
33978 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33979 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
33980 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
33981 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
33982 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33983 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
33984 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33985 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
33986 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
33987 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33988 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33989 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33990 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
33991 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
33992 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
33993 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
33994 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33995 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33996 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33997 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
33998 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
33999 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34000 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
34001 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
34002 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
34003 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34004 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
34005 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
34006 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
34007 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34008 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34009 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
34010 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
34011 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
34012 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarScrollHelperBase_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34013 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction
) _wrap_VarScrollHelperBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34014 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction
)_wrap_VarScrollHelperBase_RefreshAll
, METH_O
, NULL
},
34015 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleBegin
, METH_O
, NULL
},
34016 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleEnd
, METH_O
, NULL
},
34017 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction
) _wrap_VarScrollHelperBase_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34018 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34019 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34020 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_UpdateScrollbar
, METH_O
, NULL
},
34021 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_RemoveScrollbar
, METH_O
, NULL
},
34022 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction
) _wrap_VarScrollHelperBase_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34023 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction
)_wrap_VarScrollHelperBase_GetTargetWindow
, METH_O
, NULL
},
34024 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientationTargetSize
, METH_O
, NULL
},
34025 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize
, METH_O
, NULL
},
34026 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientation
, METH_O
, NULL
},
34027 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister
, METH_VARARGS
, NULL
},
34028 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction
) _wrap_VarVScrollHelper_SetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34029 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction
) _wrap_VarVScrollHelper_ScrollToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34030 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34031 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRowPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34032 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34033 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34034 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction
)_wrap_VarVScrollHelper_GetRowCount
, METH_O
, NULL
},
34035 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsBegin
, METH_O
, NULL
},
34036 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsEnd
, METH_O
, NULL
},
34037 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction
) _wrap_VarVScrollHelper_IsRowVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34038 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34039 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction
) _wrap_VarHScrollHelper_SetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34040 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction
) _wrap_VarHScrollHelper_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34041 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34042 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumnPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34043 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34044 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34045 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction
)_wrap_VarHScrollHelper_GetColumnCount
, METH_O
, NULL
},
34046 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsBegin
, METH_O
, NULL
},
34047 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsEnd
, METH_O
, NULL
},
34048 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction
) _wrap_VarHScrollHelper_IsColumnVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34049 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34050 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction
) _wrap_VarHVScrollHelper_SetRowColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34051 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarHVScrollHelper_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34052 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_ScrollToRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34053 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34054 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowsColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34055 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction
) _wrap_VarHVScrollHelper_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34056 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction
)_wrap_VarHVScrollHelper_ScrollLayout
, METH_O
, NULL
},
34057 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction
)_wrap_VarHVScrollHelper_GetRowColumnCount
, METH_O
, NULL
},
34058 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleBegin
, METH_O
, NULL
},
34059 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleEnd
, METH_O
, NULL
},
34060 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction
) _wrap_VarHVScrollHelper_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34061 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34062 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34063 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
34064 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34065 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34066 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_VScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34067 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_VScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34068 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34069 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34070 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34071 { (char *)"new_HScrolledWindow", (PyCFunction
) _wrap_new_HScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34072 { (char *)"new_PreHScrolledWindow", (PyCFunction
)_wrap_new_PreHScrolledWindow
, METH_NOARGS
, NULL
},
34073 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34074 { (char *)"HScrolledWindow_Create", (PyCFunction
) _wrap_HScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34075 { (char *)"HScrolledWindow_HitTest", (PyCFunction
) _wrap_HScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34076 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34077 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34078 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34079 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34080 { (char *)"new_HVScrolledWindow", (PyCFunction
) _wrap_new_HVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34081 { (char *)"new_PreHVScrolledWindow", (PyCFunction
)_wrap_new_PreHVScrolledWindow
, METH_NOARGS
, NULL
},
34082 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HVScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34083 { (char *)"HVScrolledWindow_Create", (PyCFunction
) _wrap_HVScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34084 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_HVScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34085 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34086 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HVScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34087 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34088 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34089 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34090 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34091 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
34092 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34093 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34094 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
34095 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
34096 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
34097 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34098 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34099 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
34100 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
34101 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34102 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
34103 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
34104 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34105 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
34106 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34107 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34108 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34109 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34110 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
34111 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
34112 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34113 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34114 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34115 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
34116 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34117 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34118 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
34119 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
34120 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34121 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
34122 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34123 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34124 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34125 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
34126 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34127 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34128 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34129 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34130 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
34131 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34132 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34133 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34134 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
34135 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
34136 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34137 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
34138 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
34139 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
34140 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34141 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
34142 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34143 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
34144 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
34145 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34146 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
34147 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
34148 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
34149 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
34150 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
34151 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
34152 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34153 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34154 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34155 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34156 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
34157 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
34158 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34159 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
34160 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
34161 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
34162 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34163 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34164 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
34165 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
34166 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34167 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34168 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
34169 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
34170 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34171 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34172 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34173 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34174 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34175 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34176 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34177 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
34178 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
34179 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
34180 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
34181 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
34182 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
34183 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
34184 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
34185 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
34186 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
34187 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34188 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34189 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
34190 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34191 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34192 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34193 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
34194 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
34195 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34196 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34197 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34198 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34199 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
34200 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34201 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34202 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34203 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34204 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34205 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34206 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34207 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
34208 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34209 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34210 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
34211 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
34212 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34213 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
34214 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
34215 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
34216 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
34217 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
34218 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
34219 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34220 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34221 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34222 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34223 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34224 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34225 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
34226 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
34227 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34228 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
34229 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
34230 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
34231 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34233 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
34234 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
34235 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34236 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34237 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34238 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
34239 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
34240 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
34241 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34242 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
34243 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
34244 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
34245 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
34246 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34247 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34248 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34249 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
34250 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
34251 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34252 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
34253 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
34254 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
34255 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
34256 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34257 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34258 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34259 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
34260 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
34261 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
34263 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34264 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
34265 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34266 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
34267 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
34268 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34269 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
34270 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
34272 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
34273 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
34274 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
34275 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
34276 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
34277 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34278 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
34279 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
34280 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34281 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
34282 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34283 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
34284 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
34285 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
34286 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34287 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
34288 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34289 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
34290 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
34291 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34292 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
34293 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34294 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34295 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34296 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34297 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34298 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34299 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
34300 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
34301 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
34302 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
34303 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
34304 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
34305 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
34306 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
34307 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
34308 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34309 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
34310 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34311 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34312 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34313 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34314 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34315 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34316 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
34317 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
34318 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
34319 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
34320 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
34321 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
34322 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
34323 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
34324 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
34325 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34326 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
34327 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34329 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34330 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34331 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34332 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34333 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
34334 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
34335 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
34336 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
34337 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
34338 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
34339 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
34340 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34341 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34342 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
34343 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
34344 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
34345 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
34346 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
34347 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
34348 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
34349 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
34350 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
34351 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
34352 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
34353 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
34354 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
34355 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
34356 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
34357 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
34358 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34359 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34360 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34361 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34362 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34363 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34364 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34365 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34366 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34367 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34368 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34369 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34370 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34371 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
34372 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34373 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
34374 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34375 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
34376 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
34377 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
34378 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
34379 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34380 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34381 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34382 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34383 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34384 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
34385 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
34386 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
34387 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
34388 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
34389 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
34390 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
34391 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
34392 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
34393 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
34394 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
34395 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
34396 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
34397 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
34398 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
34399 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34404 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34407 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34408 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
34409 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
34410 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
34411 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
34412 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34413 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
34414 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
34415 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
34416 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
34417 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
34418 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
34419 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
34420 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
34421 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
34422 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
34423 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
34424 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
34425 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
34426 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
34427 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
34428 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
34429 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
34430 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34435 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34438 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34439 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
34444 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
34445 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
34446 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
34447 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
34448 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
34449 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
34451 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
34452 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
34454 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
34455 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
34456 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
34457 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
34458 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
34459 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
34460 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
34462 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
34468 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
34469 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
34470 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
34471 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
34472 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
34474 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
34476 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
34477 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
34482 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
34483 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
34485 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
34486 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
34487 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
34492 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
34494 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
34496 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
34498 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
34500 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
34501 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
34504 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
34505 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
34506 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
34507 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
34509 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
34510 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
34511 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
34513 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
34514 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
34516 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
34517 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
34518 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
34519 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34520 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34521 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
34523 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34524 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
34525 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
34526 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
34527 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
34528 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
34529 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
34530 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34531 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34532 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
34533 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
34534 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
34536 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
34538 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
34539 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
34542 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
34543 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
34548 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
34550 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
34551 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
34552 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
34553 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
34556 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
34557 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
34558 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
34559 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
34561 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
34562 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
34567 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
34568 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
34569 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34570 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34571 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
34575 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34577 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34578 { NULL
, NULL
, 0, NULL
}
34582 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34584 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
34585 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34587 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
34588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34590 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
34591 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
34593 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
34594 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
34596 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
34597 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
34599 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
34600 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
34602 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
34603 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
34605 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
34606 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34608 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
34609 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
34611 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
34612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
34614 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
34615 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
34617 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
34618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34620 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
34621 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
34623 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
34624 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
34626 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
34627 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
34629 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
34630 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
34632 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
34633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34635 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
34636 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34638 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
34639 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
34641 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
34642 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
34644 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
34645 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
34647 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
34648 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
34650 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
34651 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
34653 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
34654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
34656 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
34657 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
34659 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
34660 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
34662 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
34663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
34665 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
34666 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34668 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
34669 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34671 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
34672 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34674 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
34675 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34677 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
34678 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34680 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
34681 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
34683 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
34684 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
34686 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
34687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34689 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
34690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
34692 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
34693 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34695 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
34696 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
34698 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
34699 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
34701 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
34702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34704 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
34705 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34707 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
34708 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34710 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
34711 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
34713 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
34714 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
34716 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
34717 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
34719 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
34720 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
34722 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
34723 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
34725 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
34726 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34728 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
34729 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34731 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34732 return (void *)((wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
34734 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34735 return (void *)((wxVarHScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34737 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x
) {
34738 return (void *)((wxVarHScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34740 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34741 return (void *)((wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
34743 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34744 return (void *)((wxVarVScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34746 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x
) {
34747 return (void *)((wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34749 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x
) {
34750 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34752 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34753 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34755 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34756 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34758 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x
) {
34759 return (void *)((wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34761 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34764 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34767 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
34768 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
34770 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34773 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34774 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34776 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34777 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34779 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34780 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34782 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34783 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34785 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34788 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34791 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34794 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34797 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
34798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34800 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
34801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
34803 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34806 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34809 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34812 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34815 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34816 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34818 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
34821 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x
) {
34822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
34824 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34827 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
34830 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34833 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34834 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34836 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34839 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34842 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34843 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34845 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34846 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34848 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34849 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34851 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34854 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34855 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34857 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34858 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34860 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34863 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34864 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34866 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34869 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34872 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34875 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34876 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34878 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34881 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34882 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34884 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34887 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34890 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34893 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34896 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34899 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34902 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
34903 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
34905 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34908 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34911 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34914 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34917 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34920 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34923 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
34924 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34926 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
34927 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34929 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
34930 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34932 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
34933 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
34935 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
34936 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
34938 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
34939 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
34941 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
34942 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
34944 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
34945 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34947 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
34948 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
34950 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
34951 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
34953 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
34954 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
34956 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
34957 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
34959 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
34960 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34962 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
34963 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
34965 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
34966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34968 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
34969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34971 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
34972 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
34974 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
34975 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
34977 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
34978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
34980 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
34981 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
34983 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
34984 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
34986 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
34987 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
34989 static void *_p_wxSizerTo_p_wxObject(void *x
) {
34990 return (void *)((wxObject
*) ((wxSizer
*) x
));
34992 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
34993 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
34995 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
34996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34998 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
34999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
35001 static void *_p_wxEventTo_p_wxObject(void *x
) {
35002 return (void *)((wxObject
*) ((wxEvent
*) x
));
35004 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
35005 return (void *)((wxObject
*) ((wxFontData
*) x
));
35007 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
35008 return (void *)((wxObject
*) ((wxPrintData
*) x
));
35010 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35011 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35013 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35014 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35016 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35017 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35019 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
35020 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
35022 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
35023 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35025 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
35026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35028 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35031 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35032 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35034 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35035 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35037 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35038 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35040 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35041 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35043 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35044 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35046 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35047 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35049 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
35050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35052 static void *_p_wxControlTo_p_wxObject(void *x
) {
35053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35055 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35056 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35058 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
35059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35061 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35062 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35064 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
35065 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
35067 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35068 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35070 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
35071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35073 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
35074 return (void *)((wxObject
*) ((wxColourData
*) x
));
35076 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35077 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35079 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35082 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
35083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
35085 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
35086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35088 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
35089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35091 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
35092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35094 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
35095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35097 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
35098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35100 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
35101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35103 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
35104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35106 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
35107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35109 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
35110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35112 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
35113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35115 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35116 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35118 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
35119 return (void *)((wxObject
*) ((wxPrinter
*) x
));
35121 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35122 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35124 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35125 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35127 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35128 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35130 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35133 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35134 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35136 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35137 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35139 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35140 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35142 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35143 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35145 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35146 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35148 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35149 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35151 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35154 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35157 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35160 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35161 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35163 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35164 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35166 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35167 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35169 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35170 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35172 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35173 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35175 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35178 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35181 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35182 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35184 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35185 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35187 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35188 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35190 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
35191 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
35193 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35194 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35196 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35197 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35199 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
35200 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
35202 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
35203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35205 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
35206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35208 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
35209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35211 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35212 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35214 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35215 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35217 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
35218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35220 static void *_p_wxImageTo_p_wxObject(void *x
) {
35221 return (void *)((wxObject
*) ((wxImage
*) x
));
35223 static void *_p_wxFrameTo_p_wxObject(void *x
) {
35224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35226 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
35227 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
35229 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35230 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35232 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
35233 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
35235 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
35236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
35238 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
35239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35241 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35244 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35245 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35247 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35248 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35250 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35251 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35253 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35254 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35256 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35259 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
35260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
35262 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
35263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
35265 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
35266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
35268 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
35269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
35271 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
35272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
35274 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
35275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35277 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
35278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
35280 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
35281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35283 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
35284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
35286 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
35287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35289 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x
) {
35290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35292 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x
) {
35293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35295 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
35296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
35298 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
35299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35301 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
35302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
35304 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
35305 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
35307 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
35308 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35310 static void *_p_wxPanelTo_p_wxObject(void *x
) {
35311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
35313 static void *_p_wxDialogTo_p_wxObject(void *x
) {
35314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35316 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
35317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35319 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
35320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35322 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
35323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35325 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
35326 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
35328 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
35331 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35334 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35337 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35340 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35343 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35346 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35349 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35352 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35355 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35358 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35361 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35364 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35367 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35370 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35373 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35376 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
35379 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
35382 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35385 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35388 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
35389 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35391 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
35392 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35394 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
35395 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
35397 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
35398 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
35400 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
35401 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
35403 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
35404 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
35406 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
35407 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
35409 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
35410 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
35412 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
35413 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
35415 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
35416 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
35418 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
35419 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
35421 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
35422 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
35424 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35425 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
35427 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35428 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35430 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35431 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
35433 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35434 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35436 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35437 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35439 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
35440 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
35442 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
35443 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
35445 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
35446 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
35448 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
35449 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
35451 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35452 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
35454 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35455 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35457 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
35458 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35460 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
35461 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35463 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
35464 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
35466 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35467 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35469 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
35470 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35472 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
35473 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35475 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
35476 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35478 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
35479 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35481 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
35482 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35484 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
35485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35487 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
35488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35490 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
35491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35493 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
35494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35496 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
35497 return (void *)((wxWindow
*) ((wxPanel
*) x
));
35499 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
35500 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
35502 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x
) {
35503 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35505 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x
) {
35506 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35508 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
35509 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35511 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
35512 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
35514 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
35515 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35517 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
35518 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
35520 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
35521 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35523 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
35524 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
35526 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
35527 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
35529 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
35530 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
35532 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
35533 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
35535 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
35536 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
35538 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
35539 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
35541 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
35542 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35544 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35545 return (void *)((wxWindow
*) ((wxControl
*) x
));
35547 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
35548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35550 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
35551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35553 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
35554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35556 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35557 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35559 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
35560 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
35562 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
35563 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35565 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
35566 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35568 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
35569 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35571 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
35572 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35574 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
35575 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
35577 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
35578 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35580 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
35581 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
35583 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
35584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35586 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
35587 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35589 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
35590 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35592 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
35593 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
35595 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
35596 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35598 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35599 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35601 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35602 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35604 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35605 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35607 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
35608 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35610 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
35611 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35613 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
35614 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35616 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
35617 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
35619 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
35620 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
35622 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
35623 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
35625 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
35626 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
35628 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
35629 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35631 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
35632 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35634 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
35635 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
35637 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
35638 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35640 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
35641 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
35643 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
35644 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
35646 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
35647 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
35649 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
35650 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
35652 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
35653 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35655 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x
) {
35656 return (void *)((wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35658 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x
) {
35659 return (void *)((wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35661 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
35662 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35664 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
35665 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35667 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
35668 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35670 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
35671 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35673 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
35674 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
35676 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
35677 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35679 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
35680 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
35682 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
35683 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35685 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35686 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
35688 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35689 return (void *)((wxVarScrollHelperBase
*) (wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
35691 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35692 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35694 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35695 return (void *)((wxVarScrollHelperBase
*) ((wxVarVScrollHelper
*) x
));
35697 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35698 return (void *)((wxVarScrollHelperBase
*) ((wxVarHScrollHelper
*) x
));
35700 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35701 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
35703 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35704 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35706 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35707 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35709 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35710 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35712 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
35713 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35715 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
35716 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
35718 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
35719 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35721 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
35722 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
35724 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
35725 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35727 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
35728 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35730 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
35731 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35733 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
35734 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35736 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
35737 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35739 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
35740 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35742 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
35743 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35745 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
35746 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35748 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
35749 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
35751 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
35752 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35754 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
35755 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
35757 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
35758 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35759 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};
35760 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35761 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35762 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35763 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35764 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
35765 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
35766 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35767 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35768 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35769 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
35770 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
35771 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
35772 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35773 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35774 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35775 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35776 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35777 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35778 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35779 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35780 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35781 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35782 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
35783 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
35784 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35785 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
35786 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35787 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35788 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35789 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35790 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35791 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35792 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35793 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35794 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35795 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35796 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35797 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35798 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35799 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35800 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35801 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35802 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35803 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35804 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35805 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35806 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35807 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35808 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35809 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35810 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35811 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35812 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
35813 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
35814 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35815 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35816 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35817 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35818 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
35819 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
35820 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
35821 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
35822 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
35823 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35824 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
35825 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
35826 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
35827 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
35828 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35829 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35830 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
35831 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
35832 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
35833 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
35834 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
35835 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
35836 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
35837 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
35838 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
35839 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
35840 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
35841 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
35842 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35843 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35844 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35845 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35846 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35847 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35848 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35849 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35850 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35851 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35852 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35853 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35854 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35855 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35856 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35857 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35858 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35859 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35860 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35861 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35862 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35863 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35864 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35865 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35866 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35867 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35868 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35869 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
35870 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35871 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
35872 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
35873 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
35874 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
35875 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35876 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
35877 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35878 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
35879 static swig_type_info _swigt__p_wxPosition
= {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
35880 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
35881 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
35882 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
35883 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35884 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
35885 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
35886 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
35887 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
35888 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
35889 static swig_type_info _swigt__p_wxPyHScrolledWindow
= {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
35890 static swig_type_info _swigt__p_wxPyHVScrolledWindow
= {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
35891 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
35892 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
35893 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
35894 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
35895 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
35896 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
35897 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
35898 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
35899 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
35900 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
35901 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
35902 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
35903 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
35904 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35905 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35906 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
35907 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
35908 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
35909 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
35910 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
35911 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
35912 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
35913 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35914 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
35915 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
35916 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
35917 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
35918 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
35919 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
35920 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35921 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
35922 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
35923 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
35924 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
35925 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
35926 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
35927 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
35928 static swig_type_info _swigt__p_wxVarHScrollHelper
= {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
35929 static swig_type_info _swigt__p_wxVarHVScrollHelper
= {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
35930 static swig_type_info _swigt__p_wxVarScrollHelperBase
= {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
35931 static swig_type_info _swigt__p_wxVarVScrollHelper
= {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
35932 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
35933 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35935 static swig_type_info
*swig_type_initial
[] = {
35938 &_swigt__p_form_ops_t
,
35940 &_swigt__p_unsigned_char
,
35941 &_swigt__p_unsigned_int
,
35942 &_swigt__p_unsigned_long
,
35943 &_swigt__p_wxANIHandler
,
35944 &_swigt__p_wxAcceleratorTable
,
35945 &_swigt__p_wxActivateEvent
,
35946 &_swigt__p_wxArrayInt
,
35947 &_swigt__p_wxArrayString
,
35948 &_swigt__p_wxBMPHandler
,
35949 &_swigt__p_wxBitmap
,
35950 &_swigt__p_wxBoxSizer
,
35951 &_swigt__p_wxCURHandler
,
35952 &_swigt__p_wxCalculateLayoutEvent
,
35953 &_swigt__p_wxChildFocusEvent
,
35954 &_swigt__p_wxClipboardTextEvent
,
35955 &_swigt__p_wxCloseEvent
,
35956 &_swigt__p_wxColour
,
35957 &_swigt__p_wxColourData
,
35958 &_swigt__p_wxColourDialog
,
35959 &_swigt__p_wxCommandEvent
,
35960 &_swigt__p_wxContextMenuEvent
,
35961 &_swigt__p_wxControl
,
35962 &_swigt__p_wxControlWithItems
,
35964 &_swigt__p_wxDateEvent
,
35965 &_swigt__p_wxDialog
,
35966 &_swigt__p_wxDirDialog
,
35967 &_swigt__p_wxDisplayChangedEvent
,
35968 &_swigt__p_wxDropFilesEvent
,
35969 &_swigt__p_wxDuplexMode
,
35970 &_swigt__p_wxEraseEvent
,
35971 &_swigt__p_wxEvent
,
35972 &_swigt__p_wxEventBlocker
,
35973 &_swigt__p_wxEvtHandler
,
35974 &_swigt__p_wxFSFile
,
35975 &_swigt__p_wxFileDialog
,
35976 &_swigt__p_wxFileSystem
,
35977 &_swigt__p_wxFindDialogEvent
,
35978 &_swigt__p_wxFindReplaceData
,
35979 &_swigt__p_wxFindReplaceDialog
,
35980 &_swigt__p_wxFlexGridSizer
,
35981 &_swigt__p_wxFocusEvent
,
35983 &_swigt__p_wxFontData
,
35984 &_swigt__p_wxFontDialog
,
35985 &_swigt__p_wxFrame
,
35986 &_swigt__p_wxGBSizerItem
,
35987 &_swigt__p_wxGIFHandler
,
35988 &_swigt__p_wxGridBagSizer
,
35989 &_swigt__p_wxGridSizer
,
35990 &_swigt__p_wxHtmlLinkInfo
,
35991 &_swigt__p_wxICOHandler
,
35993 &_swigt__p_wxIconBundle
,
35994 &_swigt__p_wxIconizeEvent
,
35995 &_swigt__p_wxIdleEvent
,
35996 &_swigt__p_wxImage
,
35997 &_swigt__p_wxImageHandler
,
35998 &_swigt__p_wxIndividualLayoutConstraint
,
35999 &_swigt__p_wxInitDialogEvent
,
36000 &_swigt__p_wxItemContainer
,
36001 &_swigt__p_wxJPEGHandler
,
36002 &_swigt__p_wxKeyEvent
,
36003 &_swigt__p_wxLayoutAlgorithm
,
36004 &_swigt__p_wxLayoutConstraints
,
36005 &_swigt__p_wxMDIChildFrame
,
36006 &_swigt__p_wxMDIClientWindow
,
36007 &_swigt__p_wxMDIParentFrame
,
36008 &_swigt__p_wxMaximizeEvent
,
36010 &_swigt__p_wxMenuBar
,
36011 &_swigt__p_wxMenuEvent
,
36012 &_swigt__p_wxMenuItem
,
36013 &_swigt__p_wxMessageDialog
,
36014 &_swigt__p_wxMiniFrame
,
36015 &_swigt__p_wxMouseCaptureChangedEvent
,
36016 &_swigt__p_wxMouseCaptureLostEvent
,
36017 &_swigt__p_wxMouseEvent
,
36018 &_swigt__p_wxMoveEvent
,
36019 &_swigt__p_wxMultiChoiceDialog
,
36020 &_swigt__p_wxNavigationKeyEvent
,
36021 &_swigt__p_wxNcPaintEvent
,
36022 &_swigt__p_wxNotifyEvent
,
36023 &_swigt__p_wxNumberEntryDialog
,
36024 &_swigt__p_wxObject
,
36025 &_swigt__p_wxPCXHandler
,
36026 &_swigt__p_wxPNGHandler
,
36027 &_swigt__p_wxPNMHandler
,
36028 &_swigt__p_wxPageSetupDialog
,
36029 &_swigt__p_wxPageSetupDialogData
,
36030 &_swigt__p_wxPaintEvent
,
36031 &_swigt__p_wxPaletteChangedEvent
,
36032 &_swigt__p_wxPanel
,
36033 &_swigt__p_wxPaperSize
,
36034 &_swigt__p_wxPasswordEntryDialog
,
36035 &_swigt__p_wxPoint
,
36036 &_swigt__p_wxPopupWindow
,
36037 &_swigt__p_wxPosition
,
36038 &_swigt__p_wxPreviewCanvas
,
36039 &_swigt__p_wxPreviewControlBar
,
36040 &_swigt__p_wxPreviewFrame
,
36041 &_swigt__p_wxPrintData
,
36042 &_swigt__p_wxPrintDialog
,
36043 &_swigt__p_wxPrintDialogData
,
36044 &_swigt__p_wxPrintPreview
,
36045 &_swigt__p_wxPrinter
,
36046 &_swigt__p_wxProgressDialog
,
36047 &_swigt__p_wxPyApp
,
36048 &_swigt__p_wxPyCommandEvent
,
36049 &_swigt__p_wxPyEvent
,
36050 &_swigt__p_wxPyHScrolledWindow
,
36051 &_swigt__p_wxPyHVScrolledWindow
,
36052 &_swigt__p_wxPyHtmlListBox
,
36053 &_swigt__p_wxPyImageHandler
,
36054 &_swigt__p_wxPyPanel
,
36055 &_swigt__p_wxPyPopupTransientWindow
,
36056 &_swigt__p_wxPyPreviewControlBar
,
36057 &_swigt__p_wxPyPreviewFrame
,
36058 &_swigt__p_wxPyPrintPreview
,
36059 &_swigt__p_wxPyPrintout
,
36060 &_swigt__p_wxPyScrolledWindow
,
36061 &_swigt__p_wxPySizer
,
36062 &_swigt__p_wxPyTaskBarIcon
,
36063 &_swigt__p_wxPyVListBox
,
36064 &_swigt__p_wxPyVScrolledWindow
,
36065 &_swigt__p_wxPyValidator
,
36066 &_swigt__p_wxPyWindow
,
36067 &_swigt__p_wxQueryLayoutInfoEvent
,
36068 &_swigt__p_wxQueryNewPaletteEvent
,
36070 &_swigt__p_wxRegion
,
36071 &_swigt__p_wxSashEvent
,
36072 &_swigt__p_wxSashLayoutWindow
,
36073 &_swigt__p_wxSashWindow
,
36074 &_swigt__p_wxScrollEvent
,
36075 &_swigt__p_wxScrollWinEvent
,
36076 &_swigt__p_wxScrolledWindow
,
36077 &_swigt__p_wxSetCursorEvent
,
36078 &_swigt__p_wxShowEvent
,
36079 &_swigt__p_wxSimpleHtmlListBox
,
36080 &_swigt__p_wxSingleChoiceDialog
,
36082 &_swigt__p_wxSizeEvent
,
36083 &_swigt__p_wxSizer
,
36084 &_swigt__p_wxSizerItem
,
36085 &_swigt__p_wxSplashScreen
,
36086 &_swigt__p_wxSplashScreenWindow
,
36087 &_swigt__p_wxSplitterEvent
,
36088 &_swigt__p_wxSplitterWindow
,
36089 &_swigt__p_wxStaticBoxSizer
,
36090 &_swigt__p_wxStatusBar
,
36091 &_swigt__p_wxStdDialogButtonSizer
,
36092 &_swigt__p_wxString
,
36093 &_swigt__p_wxSysColourChangedEvent
,
36094 &_swigt__p_wxTGAHandler
,
36095 &_swigt__p_wxTIFFHandler
,
36096 &_swigt__p_wxTaskBarIcon
,
36097 &_swigt__p_wxTaskBarIconEvent
,
36098 &_swigt__p_wxTextEntryDialog
,
36099 &_swigt__p_wxTipWindow
,
36100 &_swigt__p_wxToolBar
,
36101 &_swigt__p_wxTopLevelWindow
,
36102 &_swigt__p_wxUpdateUIEvent
,
36103 &_swigt__p_wxValidator
,
36104 &_swigt__p_wxVarHScrollHelper
,
36105 &_swigt__p_wxVarHVScrollHelper
,
36106 &_swigt__p_wxVarScrollHelperBase
,
36107 &_swigt__p_wxVarVScrollHelper
,
36108 &_swigt__p_wxVisualAttributes
,
36109 &_swigt__p_wxWindow
,
36110 &_swigt__p_wxWindowCreateEvent
,
36111 &_swigt__p_wxWindowDestroyEvent
,
36112 &_swigt__p_wxXPMHandler
,
36115 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
36116 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36117 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36118 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36119 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36120 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36121 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36122 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
36123 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
36124 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36125 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
36126 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36127 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
36128 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
36129 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36130 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36131 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36132 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36133 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36134 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36135 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36136 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36137 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36138 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}};
36139 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
36140 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}};
36141 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
36142 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36143 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36144 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36145 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36146 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36147 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36148 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36149 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36150 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36151 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36152 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36153 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36154 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36155 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36156 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36157 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36158 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36159 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36160 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36161 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36162 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36163 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36164 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36165 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36166 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36167 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36168 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36169 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}};
36170 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
36171 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36172 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36173 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36174 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36175 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_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_wxTipWindow
, _p_wxTipWindowTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
36176 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
36177 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36178 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36179 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
36180 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36181 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36182 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
36183 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
36184 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}};
36185 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
36186 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36187 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36188 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
36189 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
36190 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
36191 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
36192 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
36193 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36194 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36195 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
36196 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
36197 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36198 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}};
36199 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36200 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36201 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36202 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36203 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36204 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36205 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36206 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36207 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36208 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36209 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36210 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36211 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36212 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36213 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36214 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36215 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36216 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36217 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36218 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36219 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36220 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36221 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36222 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36223 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36224 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36225 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36226 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
36227 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36228 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36229 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_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}};
36230 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
36231 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36232 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_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
36233 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36234 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36235 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36236 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}};
36237 static swig_cast_info _swigc__p_wxPosition
[] = { {&_swigt__p_wxPosition
, 0, 0, 0},{0, 0, 0, 0}};
36238 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
36239 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}};
36240 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}};
36241 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36242 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
36243 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36244 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}};
36245 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
36246 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
36247 static swig_cast_info _swigc__p_wxPyHScrolledWindow
[] = { {&_swigt__p_wxPyHScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36248 static swig_cast_info _swigc__p_wxPyHVScrolledWindow
[] = { {&_swigt__p_wxPyHVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36249 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox
, 0, 0},{0, 0, 0, 0}};
36250 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
36251 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
36252 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
36253 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
36254 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
36255 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
36256 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36257 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36258 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
36259 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
36260 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
36261 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
36262 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36263 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36264 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
36265 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
36266 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}};
36267 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36268 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}};
36269 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
36270 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36271 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36272 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
36273 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
36274 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
36275 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
36276 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
36277 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36278 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36279 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36280 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
36281 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}};
36282 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
36283 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
36284 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}};
36285 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
36286 static swig_cast_info _swigc__p_wxVarHScrollHelper
[] = { {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper
, 0, 0}, {&_swigt__p_wxVarHScrollHelper
, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper
, 0, 0},{0, 0, 0, 0}};
36287 static swig_cast_info _swigc__p_wxVarHVScrollHelper
[] = { {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper
, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, 0, 0, 0},{0, 0, 0, 0}};
36288 static swig_cast_info _swigc__p_wxVarScrollHelperBase
[] = { {&_swigt__p_wxVarScrollHelperBase
, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxVarVScrollHelper
, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxVarHScrollHelper
, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase
, 0, 0},{0, 0, 0, 0}};
36289 static swig_cast_info _swigc__p_wxVarVScrollHelper
[] = { {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxVarVScrollHelper
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper
, 0, 0},{0, 0, 0, 0}};
36290 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
36291 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_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_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_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
36293 static swig_cast_info
*swig_cast_initial
[] = {
36296 _swigc__p_form_ops_t
,
36298 _swigc__p_unsigned_char
,
36299 _swigc__p_unsigned_int
,
36300 _swigc__p_unsigned_long
,
36301 _swigc__p_wxANIHandler
,
36302 _swigc__p_wxAcceleratorTable
,
36303 _swigc__p_wxActivateEvent
,
36304 _swigc__p_wxArrayInt
,
36305 _swigc__p_wxArrayString
,
36306 _swigc__p_wxBMPHandler
,
36307 _swigc__p_wxBitmap
,
36308 _swigc__p_wxBoxSizer
,
36309 _swigc__p_wxCURHandler
,
36310 _swigc__p_wxCalculateLayoutEvent
,
36311 _swigc__p_wxChildFocusEvent
,
36312 _swigc__p_wxClipboardTextEvent
,
36313 _swigc__p_wxCloseEvent
,
36314 _swigc__p_wxColour
,
36315 _swigc__p_wxColourData
,
36316 _swigc__p_wxColourDialog
,
36317 _swigc__p_wxCommandEvent
,
36318 _swigc__p_wxContextMenuEvent
,
36319 _swigc__p_wxControl
,
36320 _swigc__p_wxControlWithItems
,
36322 _swigc__p_wxDateEvent
,
36323 _swigc__p_wxDialog
,
36324 _swigc__p_wxDirDialog
,
36325 _swigc__p_wxDisplayChangedEvent
,
36326 _swigc__p_wxDropFilesEvent
,
36327 _swigc__p_wxDuplexMode
,
36328 _swigc__p_wxEraseEvent
,
36330 _swigc__p_wxEventBlocker
,
36331 _swigc__p_wxEvtHandler
,
36332 _swigc__p_wxFSFile
,
36333 _swigc__p_wxFileDialog
,
36334 _swigc__p_wxFileSystem
,
36335 _swigc__p_wxFindDialogEvent
,
36336 _swigc__p_wxFindReplaceData
,
36337 _swigc__p_wxFindReplaceDialog
,
36338 _swigc__p_wxFlexGridSizer
,
36339 _swigc__p_wxFocusEvent
,
36341 _swigc__p_wxFontData
,
36342 _swigc__p_wxFontDialog
,
36344 _swigc__p_wxGBSizerItem
,
36345 _swigc__p_wxGIFHandler
,
36346 _swigc__p_wxGridBagSizer
,
36347 _swigc__p_wxGridSizer
,
36348 _swigc__p_wxHtmlLinkInfo
,
36349 _swigc__p_wxICOHandler
,
36351 _swigc__p_wxIconBundle
,
36352 _swigc__p_wxIconizeEvent
,
36353 _swigc__p_wxIdleEvent
,
36355 _swigc__p_wxImageHandler
,
36356 _swigc__p_wxIndividualLayoutConstraint
,
36357 _swigc__p_wxInitDialogEvent
,
36358 _swigc__p_wxItemContainer
,
36359 _swigc__p_wxJPEGHandler
,
36360 _swigc__p_wxKeyEvent
,
36361 _swigc__p_wxLayoutAlgorithm
,
36362 _swigc__p_wxLayoutConstraints
,
36363 _swigc__p_wxMDIChildFrame
,
36364 _swigc__p_wxMDIClientWindow
,
36365 _swigc__p_wxMDIParentFrame
,
36366 _swigc__p_wxMaximizeEvent
,
36368 _swigc__p_wxMenuBar
,
36369 _swigc__p_wxMenuEvent
,
36370 _swigc__p_wxMenuItem
,
36371 _swigc__p_wxMessageDialog
,
36372 _swigc__p_wxMiniFrame
,
36373 _swigc__p_wxMouseCaptureChangedEvent
,
36374 _swigc__p_wxMouseCaptureLostEvent
,
36375 _swigc__p_wxMouseEvent
,
36376 _swigc__p_wxMoveEvent
,
36377 _swigc__p_wxMultiChoiceDialog
,
36378 _swigc__p_wxNavigationKeyEvent
,
36379 _swigc__p_wxNcPaintEvent
,
36380 _swigc__p_wxNotifyEvent
,
36381 _swigc__p_wxNumberEntryDialog
,
36382 _swigc__p_wxObject
,
36383 _swigc__p_wxPCXHandler
,
36384 _swigc__p_wxPNGHandler
,
36385 _swigc__p_wxPNMHandler
,
36386 _swigc__p_wxPageSetupDialog
,
36387 _swigc__p_wxPageSetupDialogData
,
36388 _swigc__p_wxPaintEvent
,
36389 _swigc__p_wxPaletteChangedEvent
,
36391 _swigc__p_wxPaperSize
,
36392 _swigc__p_wxPasswordEntryDialog
,
36394 _swigc__p_wxPopupWindow
,
36395 _swigc__p_wxPosition
,
36396 _swigc__p_wxPreviewCanvas
,
36397 _swigc__p_wxPreviewControlBar
,
36398 _swigc__p_wxPreviewFrame
,
36399 _swigc__p_wxPrintData
,
36400 _swigc__p_wxPrintDialog
,
36401 _swigc__p_wxPrintDialogData
,
36402 _swigc__p_wxPrintPreview
,
36403 _swigc__p_wxPrinter
,
36404 _swigc__p_wxProgressDialog
,
36406 _swigc__p_wxPyCommandEvent
,
36407 _swigc__p_wxPyEvent
,
36408 _swigc__p_wxPyHScrolledWindow
,
36409 _swigc__p_wxPyHVScrolledWindow
,
36410 _swigc__p_wxPyHtmlListBox
,
36411 _swigc__p_wxPyImageHandler
,
36412 _swigc__p_wxPyPanel
,
36413 _swigc__p_wxPyPopupTransientWindow
,
36414 _swigc__p_wxPyPreviewControlBar
,
36415 _swigc__p_wxPyPreviewFrame
,
36416 _swigc__p_wxPyPrintPreview
,
36417 _swigc__p_wxPyPrintout
,
36418 _swigc__p_wxPyScrolledWindow
,
36419 _swigc__p_wxPySizer
,
36420 _swigc__p_wxPyTaskBarIcon
,
36421 _swigc__p_wxPyVListBox
,
36422 _swigc__p_wxPyVScrolledWindow
,
36423 _swigc__p_wxPyValidator
,
36424 _swigc__p_wxPyWindow
,
36425 _swigc__p_wxQueryLayoutInfoEvent
,
36426 _swigc__p_wxQueryNewPaletteEvent
,
36428 _swigc__p_wxRegion
,
36429 _swigc__p_wxSashEvent
,
36430 _swigc__p_wxSashLayoutWindow
,
36431 _swigc__p_wxSashWindow
,
36432 _swigc__p_wxScrollEvent
,
36433 _swigc__p_wxScrollWinEvent
,
36434 _swigc__p_wxScrolledWindow
,
36435 _swigc__p_wxSetCursorEvent
,
36436 _swigc__p_wxShowEvent
,
36437 _swigc__p_wxSimpleHtmlListBox
,
36438 _swigc__p_wxSingleChoiceDialog
,
36440 _swigc__p_wxSizeEvent
,
36442 _swigc__p_wxSizerItem
,
36443 _swigc__p_wxSplashScreen
,
36444 _swigc__p_wxSplashScreenWindow
,
36445 _swigc__p_wxSplitterEvent
,
36446 _swigc__p_wxSplitterWindow
,
36447 _swigc__p_wxStaticBoxSizer
,
36448 _swigc__p_wxStatusBar
,
36449 _swigc__p_wxStdDialogButtonSizer
,
36450 _swigc__p_wxString
,
36451 _swigc__p_wxSysColourChangedEvent
,
36452 _swigc__p_wxTGAHandler
,
36453 _swigc__p_wxTIFFHandler
,
36454 _swigc__p_wxTaskBarIcon
,
36455 _swigc__p_wxTaskBarIconEvent
,
36456 _swigc__p_wxTextEntryDialog
,
36457 _swigc__p_wxTipWindow
,
36458 _swigc__p_wxToolBar
,
36459 _swigc__p_wxTopLevelWindow
,
36460 _swigc__p_wxUpdateUIEvent
,
36461 _swigc__p_wxValidator
,
36462 _swigc__p_wxVarHScrollHelper
,
36463 _swigc__p_wxVarHVScrollHelper
,
36464 _swigc__p_wxVarScrollHelperBase
,
36465 _swigc__p_wxVarVScrollHelper
,
36466 _swigc__p_wxVisualAttributes
,
36467 _swigc__p_wxWindow
,
36468 _swigc__p_wxWindowCreateEvent
,
36469 _swigc__p_wxWindowDestroyEvent
,
36470 _swigc__p_wxXPMHandler
,
36474 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36476 static swig_const_info swig_const_table
[] = {
36477 {0, 0, 0, 0.0, 0, 0}};
36482 /* -----------------------------------------------------------------------------
36483 * Type initialization:
36484 * This problem is tough by the requirement that no dynamic
36485 * memory is used. Also, since swig_type_info structures store pointers to
36486 * swig_cast_info structures and swig_cast_info structures store pointers back
36487 * to swig_type_info structures, we need some lookup code at initialization.
36488 * The idea is that swig generates all the structures that are needed.
36489 * The runtime then collects these partially filled structures.
36490 * The SWIG_InitializeModule function takes these initial arrays out of
36491 * swig_module, and does all the lookup, filling in the swig_module.types
36492 * array with the correct data and linking the correct swig_cast_info
36493 * structures together.
36495 * The generated swig_type_info structures are assigned staticly to an initial
36496 * array. We just loop though that array, and handle each type individually.
36497 * First we lookup if this type has been already loaded, and if so, use the
36498 * loaded structure instead of the generated one. Then we have to fill in the
36499 * cast linked list. The cast data is initially stored in something like a
36500 * two-dimensional array. Each row corresponds to a type (there are the same
36501 * number of rows as there are in the swig_type_initial array). Each entry in
36502 * a column is one of the swig_cast_info structures for that type.
36503 * The cast_initial array is actually an array of arrays, because each row has
36504 * a variable number of columns. So to actually build the cast linked list,
36505 * we find the array of casts associated with the type, and loop through it
36506 * adding the casts to the list. The one last trick we need to do is making
36507 * sure the type pointer in the swig_cast_info struct is correct.
36509 * First off, we lookup the cast->type name to see if it is already loaded.
36510 * There are three cases to handle:
36511 * 1) If the cast->type has already been loaded AND the type we are adding
36512 * casting info to has not been loaded (it is in this module), THEN we
36513 * replace the cast->type pointer with the type pointer that has already
36515 * 2) If BOTH types (the one we are adding casting info to, and the
36516 * cast->type) are loaded, THEN the cast info has already been loaded by
36517 * the previous module so we just ignore it.
36518 * 3) Finally, if cast->type has not already been loaded, then we add that
36519 * swig_cast_info to the linked list (because the cast->type) pointer will
36521 * ----------------------------------------------------------------------------- */
36531 #define SWIGRUNTIME_DEBUG
36535 SWIG_InitializeModule(void *clientdata
) {
36537 swig_module_info
*module_head
;
36538 static int init_run
= 0;
36540 clientdata
= clientdata
;
36542 if (init_run
) return;
36545 /* Initialize the swig_module */
36546 swig_module
.type_initial
= swig_type_initial
;
36547 swig_module
.cast_initial
= swig_cast_initial
;
36549 /* Try and load any already created modules */
36550 module_head
= SWIG_GetModule(clientdata
);
36552 swig_module
.next
= module_head
->next
;
36553 module_head
->next
= &swig_module
;
36555 /* This is the first module loaded */
36556 swig_module
.next
= &swig_module
;
36557 SWIG_SetModule(clientdata
, &swig_module
);
36560 /* Now work on filling in swig_module.types */
36561 #ifdef SWIGRUNTIME_DEBUG
36562 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36564 for (i
= 0; i
< swig_module
.size
; ++i
) {
36565 swig_type_info
*type
= 0;
36566 swig_type_info
*ret
;
36567 swig_cast_info
*cast
;
36569 #ifdef SWIGRUNTIME_DEBUG
36570 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36573 /* if there is another module already loaded */
36574 if (swig_module
.next
!= &swig_module
) {
36575 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36578 /* Overwrite clientdata field */
36579 #ifdef SWIGRUNTIME_DEBUG
36580 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36582 if (swig_module
.type_initial
[i
]->clientdata
) {
36583 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36584 #ifdef SWIGRUNTIME_DEBUG
36585 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36589 type
= swig_module
.type_initial
[i
];
36592 /* Insert casting types */
36593 cast
= swig_module
.cast_initial
[i
];
36594 while (cast
->type
) {
36595 /* Don't need to add information already in the list */
36597 #ifdef SWIGRUNTIME_DEBUG
36598 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36600 if (swig_module
.next
!= &swig_module
) {
36601 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36602 #ifdef SWIGRUNTIME_DEBUG
36603 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36607 if (type
== swig_module
.type_initial
[i
]) {
36608 #ifdef SWIGRUNTIME_DEBUG
36609 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36614 /* Check for casting already in the list */
36615 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36616 #ifdef SWIGRUNTIME_DEBUG
36617 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36619 if (!ocast
) ret
= 0;
36624 #ifdef SWIGRUNTIME_DEBUG
36625 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36628 type
->cast
->prev
= cast
;
36629 cast
->next
= type
->cast
;
36635 /* Set entry in modules->types array equal to the type */
36636 swig_module
.types
[i
] = type
;
36638 swig_module
.types
[i
] = 0;
36640 #ifdef SWIGRUNTIME_DEBUG
36641 printf("**** SWIG_InitializeModule: Cast List ******\n");
36642 for (i
= 0; i
< swig_module
.size
; ++i
) {
36644 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36645 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36646 while (cast
->type
) {
36647 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36651 printf("---- Total casts: %d\n",j
);
36653 printf("**** SWIG_InitializeModule: Cast List ******\n");
36657 /* This function will propagate the clientdata field of type to
36658 * any new swig_type_info structures that have been added into the list
36659 * of equivalent types. It is like calling
36660 * SWIG_TypeClientData(type, clientdata) a second time.
36663 SWIG_PropagateClientData(void) {
36665 swig_cast_info
*equiv
;
36666 static int init_run
= 0;
36668 if (init_run
) return;
36671 for (i
= 0; i
< swig_module
.size
; i
++) {
36672 if (swig_module
.types
[i
]->clientdata
) {
36673 equiv
= swig_module
.types
[i
]->cast
;
36675 if (!equiv
->converter
) {
36676 if (equiv
->type
&& !equiv
->type
->clientdata
)
36677 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36679 equiv
= equiv
->next
;
36699 /* Python-specific SWIG API */
36700 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36701 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36702 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36704 /* -----------------------------------------------------------------------------
36705 * global variable support code.
36706 * ----------------------------------------------------------------------------- */
36708 typedef struct swig_globalvar
{
36709 char *name
; /* Name of global variable */
36710 PyObject
*(*get_attr
)(void); /* Return the current value */
36711 int (*set_attr
)(PyObject
*); /* Set the value */
36712 struct swig_globalvar
*next
;
36715 typedef struct swig_varlinkobject
{
36717 swig_globalvar
*vars
;
36718 } swig_varlinkobject
;
36720 SWIGINTERN PyObject
*
36721 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36722 return PyString_FromString("<Swig global variables>");
36725 SWIGINTERN PyObject
*
36726 swig_varlink_str(swig_varlinkobject
*v
) {
36727 PyObject
*str
= PyString_FromString("(");
36728 swig_globalvar
*var
;
36729 for (var
= v
->vars
; var
; var
=var
->next
) {
36730 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36731 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36733 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36738 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36739 PyObject
*str
= swig_varlink_str(v
);
36740 fprintf(fp
,"Swig global variables ");
36741 fprintf(fp
,"%s\n", PyString_AsString(str
));
36747 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36748 swig_globalvar
*var
= v
->vars
;
36750 swig_globalvar
*n
= var
->next
;
36757 SWIGINTERN PyObject
*
36758 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36759 PyObject
*res
= NULL
;
36760 swig_globalvar
*var
= v
->vars
;
36762 if (strcmp(var
->name
,n
) == 0) {
36763 res
= (*var
->get_attr
)();
36768 if (res
== NULL
&& !PyErr_Occurred()) {
36769 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36775 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36777 swig_globalvar
*var
= v
->vars
;
36779 if (strcmp(var
->name
,n
) == 0) {
36780 res
= (*var
->set_attr
)(p
);
36785 if (res
== 1 && !PyErr_Occurred()) {
36786 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36791 SWIGINTERN PyTypeObject
*
36792 swig_varlink_type(void) {
36793 static char varlink__doc__
[] = "Swig var link object";
36794 static PyTypeObject varlink_type
;
36795 static int type_init
= 0;
36797 const PyTypeObject tmp
36799 PyObject_HEAD_INIT(NULL
)
36800 0, /* Number of items in variable part (ob_size) */
36801 (char *)"swigvarlink", /* Type name (tp_name) */
36802 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36803 0, /* Itemsize (tp_itemsize) */
36804 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36805 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36806 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36807 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36808 0, /* tp_compare */
36809 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36810 0, /* tp_as_number */
36811 0, /* tp_as_sequence */
36812 0, /* tp_as_mapping */
36815 (reprfunc
)swig_varlink_str
, /* tp_str */
36816 0, /* tp_getattro */
36817 0, /* tp_setattro */
36818 0, /* tp_as_buffer */
36820 varlink__doc__
, /* tp_doc */
36821 0, /* tp_traverse */
36823 0, /* tp_richcompare */
36824 0, /* tp_weaklistoffset */
36825 #if PY_VERSION_HEX >= 0x02020000
36826 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36828 #if PY_VERSION_HEX >= 0x02030000
36831 #ifdef COUNT_ALLOCS
36832 0,0,0,0 /* tp_alloc -> tp_next */
36835 varlink_type
= tmp
;
36836 varlink_type
.ob_type
= &PyType_Type
;
36839 return &varlink_type
;
36842 /* Create a variable linking object for use later */
36843 SWIGINTERN PyObject
*
36844 SWIG_Python_newvarlink(void) {
36845 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36849 return ((PyObject
*) result
);
36853 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36854 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36855 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36857 size_t size
= strlen(name
)+1;
36858 gv
->name
= (char *)malloc(size
);
36860 strncpy(gv
->name
,name
,size
);
36861 gv
->get_attr
= get_attr
;
36862 gv
->set_attr
= set_attr
;
36863 gv
->next
= v
->vars
;
36869 SWIGINTERN PyObject
*
36871 static PyObject
*_SWIG_globals
= 0;
36872 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36873 return _SWIG_globals
;
36876 /* -----------------------------------------------------------------------------
36877 * constants/methods manipulation
36878 * ----------------------------------------------------------------------------- */
36880 /* Install Constants */
36882 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36885 for (i
= 0; constants
[i
].type
; ++i
) {
36886 switch(constants
[i
].type
) {
36887 case SWIG_PY_POINTER
:
36888 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36890 case SWIG_PY_BINARY
:
36891 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36898 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36904 /* -----------------------------------------------------------------------------*/
36905 /* Fix SwigMethods to carry the callback ptrs when needed */
36906 /* -----------------------------------------------------------------------------*/
36909 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36910 swig_const_info
*const_table
,
36911 swig_type_info
**types
,
36912 swig_type_info
**types_initial
) {
36914 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36915 const char *c
= methods
[i
].ml_doc
;
36916 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36918 swig_const_info
*ci
= 0;
36919 const char *name
= c
+ 10;
36920 for (j
= 0; const_table
[j
].type
; ++j
) {
36921 if (strncmp(const_table
[j
].name
, name
,
36922 strlen(const_table
[j
].name
)) == 0) {
36923 ci
= &(const_table
[j
]);
36928 size_t shift
= (ci
->ptype
) - types
;
36929 swig_type_info
*ty
= types_initial
[shift
];
36930 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36931 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36932 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36935 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36937 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36939 strncpy(buff
, "swig_ptr: ", 10);
36941 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36942 methods
[i
].ml_doc
= ndoc
;
36954 /* -----------------------------------------------------------------------------*
36955 * Partial Init method
36956 * -----------------------------------------------------------------------------*/
36961 SWIGEXPORT
void SWIG_init(void) {
36964 /* Fix SwigMethods to carry the callback ptrs when needed */
36965 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36967 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36968 d
= PyModule_GetDict(m
);
36970 SWIG_InitializeModule(0);
36971 SWIG_InstallConstants(d
,swig_const_table
);
36974 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
36975 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
36976 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
36977 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
36978 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
36979 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
36980 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
36981 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
36982 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
36983 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
36984 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
36985 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
36986 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
36987 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
36988 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
36989 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
36990 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
36991 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
36992 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
36993 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
36994 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
36995 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
36996 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
36997 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
36998 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
36999 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
37000 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
37001 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
37002 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
37003 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
37004 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
37005 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
37006 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
37007 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
37008 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
37009 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
37010 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
37011 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
37012 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
37013 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
37014 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
37015 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
37016 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
37017 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
37018 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
37019 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
37020 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
37021 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
37022 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
37023 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
37024 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
37025 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
37026 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
37027 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
37028 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
37029 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
37030 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
37031 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
37032 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
37033 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
37034 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
37035 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
37036 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
37037 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
37038 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
37039 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
37040 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
37041 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
37042 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
37043 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
37044 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
37045 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
37046 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
37047 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
37048 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
37049 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
37050 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
37051 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
37052 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
37053 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
37054 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
37055 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
37056 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
37057 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
37058 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
37059 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
37060 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
37061 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
37062 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
37063 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
37064 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
37065 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
37066 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
37067 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
37068 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
37069 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
37070 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
37071 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
37072 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
37073 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
37074 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
37075 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
37076 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
37078 // Map renamed classes back to their common name for OOR
37079 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37080 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37081 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37083 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
37084 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
37085 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
37086 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
37087 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
37088 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
37089 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
37090 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
37091 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
37092 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
37093 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
37094 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
37095 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
37096 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
37097 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
37098 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
37099 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
37100 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
37101 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
37102 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
37103 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
37104 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
37105 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
37106 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
37107 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
37108 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
37109 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
37110 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
37111 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
37112 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
37113 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
37114 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
37115 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
37116 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
37117 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
37118 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
37119 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
37120 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
37121 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
37122 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
37123 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
37124 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
37125 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
37126 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
37127 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
37128 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
37129 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
37130 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
37131 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
37132 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37133 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37134 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37135 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37136 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37137 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37138 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37139 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37140 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37141 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
37142 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
37143 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
37144 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
37145 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
37146 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
37147 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
37148 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
37149 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
37150 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
37151 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
37152 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
37153 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
37154 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
37155 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
37156 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
37157 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
37158 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
37159 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
37160 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
37161 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
37162 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
37163 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
37164 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
37165 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
37166 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
37167 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
37168 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
37169 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
37170 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
37171 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
37172 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
37173 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
37174 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
37175 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
37176 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
37177 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
37178 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
37179 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
37180 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
37181 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
37183 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");